On 5/16/2011 1:23 PM, John Nichel wrote:
>
> Hi,
>
> Long time qmail user now migrating to Postfix (old guy who doesn’t
> like change J ). I have my Postfix server set up to the point where it
> is sending and receiving mail properly but I’m wondering if there is a
> configuration setting where I change how mail is stored on the
> machine. I’m using Maildir, and when the server receives mail for a
> virtual domain, it is storing it on the machine under:
>
> /var/vmail/domain.tld/u...@domain.tld
> <mailto:/var/vmail/domain.tld/u...@domain.tld>
>
> Dovecot is looking for mail in:
>
> /var/vmail/domain.tld/user
>
> I could configure Dovecot to look for the mail where Postfix is
> storing it, but I’d rather (if possible) change Postfix to fit what
> Dovecot is looking for (personal preference, as I’d rather not have an
> ‘@’ in the directory name). Is this possible?
>
> Postconf –n
>
> virtual_mailbox_base = /var/vmail
>
> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
>
>
Please read the documentation about the above two parameters at "man 5
postconf" or http://www.postfix.org/postconf.5.html
Then, adjust your query accordingly.

Brian

Reply via email to