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

 

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

 

alias_database = hash:/etc/aliases

alias_maps = hash:/etc/aliases

command_directory = /usr/sbin

config_directory = /etc/postfix

daemon_directory = /usr/libexec/postfix

debug_peer_level = 2

html_directory = no

inet_interfaces = all

mail_owner = postfix

mailq_path = /usr/bin/mailq.postfix

manpage_directory = /usr/share/man

mydestination = $myhostname, localhost.$mydomain, localhost

mydomain = kegworks.com

myhostname = mx.kegworks.com

mynetworks_style = host

newaliases_path = /usr/bin/newaliases.postfix

queue_directory = /var/spool/postfix

readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

sample_directory = /usr/share/doc/postfix-2.3.3/samples

sendmail_path = /usr/sbin/sendmail.postfix

setgid_group = postdrop

smtpd_banner = $myhostname ESMTP $mail_name

unknown_local_recipient_reject_code = 550

virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf

virtual_gid_maps = static:DDD

virtual_mailbox_base = /var/vmail

virtual_mailbox_domains =
mysql:/etc/postfix/mysql_virtual_domains_maps.cf

virtual_mailbox_limit = 51200000

virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf

virtual_minimum_uid = DDD

virtual_uid_maps = static:DDD

 

--

John C. Nichel IV

System Administrator

KegWorks

http://www.kegworks.com

716.362.9212 x160

j...@kegworks.com

 

Reply via email to