Erik Steffl
2004-08-06 06:57:52 UTC
what do I need to do to make the aliases work with postfix when lmtp
is used?
do I need virtual aliases or aliases or? I'd appreciate some pointers
to docs, I have search this list and read some posts that seemed similar
(and followed the links to docs) but can't figure out what's what.
I tried "www-data: erik" in /etc/aliases and "www-data erik" in
/etc/postfix/virtual (and updating *.db and restarting postfix) but
looks like postfix is still trying to deliver to www-data and cyrus
complains:
Aug 2 13:00:01 jojda postfix/lmtp[6880]: 224D2C80D0:
to=<www-***@zasran.com>,
relay=/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp], delay=0,
status=bounced (host /var/run/cyrus/socket/lmtp
[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is
no mailbox associated with this 550-name or you do not have
authorization to see it. 550 5.1.1 User unknown (in reply to RCPT
TO command))
Here are the details of my setup:
debian unstable
postfix 2.1.4 (debian package)
cyrus 2.1.16 (debian package
relevant (as far as I can tell) config lines:
/etc/postfix/main.cf:
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_transport = lmtp
/etc/postfix/transport:
localhost lmtp:unix:/var/run/cyrus/socket/lmtp
zasran.com lmtp:unix:/var/run/cyrus/socket/lmtp
jojda.zasran.com lmtp:unix:/var/run/cyrus/socket/lmtp
localhost.zasran.com lmtp:unix:/var/run/cyrus/socket/lmtp
/etc/postfix/master.cf
lmtp unix - - n - - lmtp
/etc/cyrus.conf:
lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp"
prefork=0 maxchild=20
/etc/imapd.conf:
lmtpsocket: /var/run/cyrus/socket/lmtp
------------ end of config quotes -----------
any pointers?
TIA
erik
is used?
do I need virtual aliases or aliases or? I'd appreciate some pointers
to docs, I have search this list and read some posts that seemed similar
(and followed the links to docs) but can't figure out what's what.
I tried "www-data: erik" in /etc/aliases and "www-data erik" in
/etc/postfix/virtual (and updating *.db and restarting postfix) but
looks like postfix is still trying to deliver to www-data and cyrus
complains:
Aug 2 13:00:01 jojda postfix/lmtp[6880]: 224D2C80D0:
to=<www-***@zasran.com>,
relay=/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp], delay=0,
status=bounced (host /var/run/cyrus/socket/lmtp
[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is
no mailbox associated with this 550-name or you do not have
authorization to see it. 550 5.1.1 User unknown (in reply to RCPT
TO command))
Here are the details of my setup:
debian unstable
postfix 2.1.4 (debian package)
cyrus 2.1.16 (debian package
relevant (as far as I can tell) config lines:
/etc/postfix/main.cf:
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_transport = lmtp
/etc/postfix/transport:
localhost lmtp:unix:/var/run/cyrus/socket/lmtp
zasran.com lmtp:unix:/var/run/cyrus/socket/lmtp
jojda.zasran.com lmtp:unix:/var/run/cyrus/socket/lmtp
localhost.zasran.com lmtp:unix:/var/run/cyrus/socket/lmtp
/etc/postfix/master.cf
lmtp unix - - n - - lmtp
/etc/cyrus.conf:
lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp"
prefork=0 maxchild=20
/etc/imapd.conf:
lmtpsocket: /var/run/cyrus/socket/lmtp
------------ end of config quotes -----------
any pointers?
TIA
erik