20 Sep
2013
20 Sep
'13
1:20 p.m.
Hello,
using dovecot with postfix with mysql. Some domains have alias. Local delivery is realized over lmtp.
When lmtp delivery to aliased domains, it takes bad mail_location - it takes aliased instead real domain, so lmtp is creating domain and user directory. Lmtp doesn't make sql lookup. I need lmtp delivery to real domain and i don't want to create symlinks.
mail_location = maildir:/home/mail/%d/%n/Maildir real domain: domain1.com aliased domain: domain2.com
rcpt: user@domain2.com
lmtp deliver message to /home/mail/domain2.com/user/Maildir instead /home/mail/domain1.com/user/Maildir
-- Lampa