On Wed, January 28, 2009 9:02 am, Goutam Baul said:

> I am trying to configure postfix so that it works with virtual users and
> serves for two domains. The users are having separate name spaces and the
> details are kept in LDAP. The domains are rpg.in [defined in
> mydestination]
> and cpl.in [defined in virtual_mailbox_domains]. The mail delivery for
> rpg.in is having no problem. If I send a mail to cpl.in user then the
> maillog file reports that the mail has been delivered to maildir but the
> specific folder is not having the mail. The mail queue is also empty.
>
> The command  postmap -q bo...@cpl.in ldap:/etc/postfix/maps.ldap   reports
>
> /home/vmail/cpl.in/bonhi/Maildir/

Yes, but because of

   virtual_mailbox_base = /home/vmail

the final mailbox path will be
/home/vmail//home/vmail/cpl.in/bonhi/Maildir/ (see the log file). Either
adjust virtual_mailbox_base or the contents of your LDAP directory.

[...]

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to