ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Владимир <fmfm@mmascience.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] virtual alias в postfix
Date: Tue, 30 Jun 2009 12:21:55 +0400
Message-ID: <4A49CB23.6090108@mmascience.ru> (raw)
In-Reply-To: <200906301042.04094.sn_kirovograd_sub@rambler.ru>

Nikolay пишет:
> Доброго дня - вот завёл себе почтовую систему - postfix в связке с довекот.
> В main.cf 
> #ilbox_command = /usr/bin/procmail -a $DOMAIN -d $LOGNAME
> virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
> virtual_uid_maps = static:5000
> virtual_gid_maps = static:5000
> virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
> virtual_alias_maps = 
> mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
> virtual_transport = dovecot
>  В master.cf
> dovecot    unix -       n         n      -        -       pipe
> flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -d ${recipient}
> В результате система правильнол выбирает алиас для avir@i.g.ua - это 
> ikus@i.g.ua но непонятно с какого перепугу говорит  status=deferred (mail 
> system configuration error)....
> Не подскажет ли кто - что за странности - и где может быть неправильность ?
>   

Так и говорит, что локальная доставка настроена с ошибкой.
В одной куче что нужно и что не нужно.

Зачем нужно вот это?

virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf


Эти параметры имеет отношение к встроенному транспорту virtual, но никак
не к внешнему deliver
Транспорт deliver от dovecot берет параметры доставки из
конфигурационных файлов /etc/dovecot/*

А зачем так?

virtual_transport = dovecot



-- 
Vladimir Kholmanov
fmfm@mmascience.ru
fmfm@mma.ru



  reply	other threads:[~2009-06-30  8:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30  7:42 Nikolay
2009-06-30  8:21 ` Владимир [this message]
2009-06-30 10:15   ` Nikolay
2009-06-30 12:14     ` Vasily Tereshko
2009-07-01  5:01       ` Vladimir V. Kamarzin
2009-07-01 10:34         ` Василий Терешко
2009-07-01 11:21           ` Владимир
2009-07-01 14:34             ` Vasily Tereshko
2009-07-02 12:20               ` Nikolay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A49CB23.6090108@mmascience.ru \
    --to=fmfm@mmascience.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git