All... I'm using Postfix 2.5.6 with Dovecot 1.1.11 on Solaris 10 x86. I'm having trouble getting Postfix to deliver virtual domain Maildir-format mail to $home_mailbox. It only delivers it to the virtual user's home. A rather exhaustive Google search returned some hits on the problem, but none of them provided a solution.
The problem is that mail is delivered to $virtual_mailbox_base/domain1.com/home/test/ (/vhome/domain1.com/home/test/) as opposed to $virtual_mailbox_base/domain1.com/home/test/$home_mailbox/ (/vhome/domain1.com/home/test/Maildir/). Local delivery is unaffected and works as expected. I've unsuccessfully tried using Dovecot's LDA, and I've tried variations of $home_mailbox (e.g. ~/Maildir/, $HOME/Maildir/, ./Maildir/), all with no success. I'm new to Postfix (a recent Sendmail convert), so I am assuming that I'm missing some fundamental piece of information to get this to work as I expect. I have implmented a kludgey (hopefully interim) solution of using symlinks to Maildir/{cur,new,tmp}. Thank you very much in advance for any guidance you can provide. A sample of the contents of vmailbox is as follows: t...@domain1.com domain1.com/home/test/ kabc...@domain2.net domain2.net/home/kabcdef/ dab...@domain2.net domain2.net/home/dabcde/ The output of postconf -n is as follows: alias_database = pgsql:/etc/postfix/aliases-pg.cf alias_maps = pgsql:/etc/postfix/aliases-pg.cf broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = $myhostname, localhost mail_owner = postfix mailbox_command = /opt/csw/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mailhost.$mydomain, mail.$mydomain, smtp.$mydomain myhostname = mx1.mydomain.com mynetworks = 192.168.1.0/24, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no sample_directory = /etc/postfix sendmail_path = /usr/lib/sendmail setgid_group = postdrop smtpd_data_restrictions = reject_unauth_pipelining smtpd_helo_required = yes smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_timeout = 30s smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem smtpd_tls_key_file = /etc/ssl/private/postfix.pem smtpd_use_tls = yes tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 550 virtual_alias_maps = pgsql:/etc/postfix/virtual-pg.cf virtual_gid_maps = static:60008 virtual_mailbox_base = /vhome virtual_mailbox_domains = pgsql:/etc/postfix/virtual-mailbox-domains-pg.cf virtual_mailbox_maps = dbm:/etc/postfix/vmailbox virtual_uid_maps = static:60008 Gary Chambers // ------------------------------------- // Gary Chambers and Associates // Nothing fancy and nothing Microsoft // http://garychambers.com/ // -------------------------------------