On 2/4/2011 2:59 PM, Julien Vehent wrote: > But, if I do the same on submission port 587, I get an 'Undelivered > Mail Returned to Sender' containing the following: > > ------ > <[email protected]>: host 127.0.0.1[127.0.0.1] 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) > ------ > > It appears that postfix forwarded the email directly to the imap > server (cyrus-imap), that obviously does not have such of the mailbox. > > > The declaration of the submission service in /etc/postfix/master.cf is > as follow: > > ------ > submission inet n - - - - smtpd > -o receive_override_options=no_address_mappings > # -o content_filter=dksign:[127.0.0.1]:10028
The above two lines are the culprit. The first says do not expand aliases. This is fine for before content filters. You eventually need to have "receieve_override_options=" in return from content_filters in order for alias expansion to take place. So, eliminate the override or enable a content filter that does not override on return. Brian > -o smtpd_tls_security_level=may > -o > smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks,reject > -o smtpd_sasl_auth_enable=yes > ------ > > I have the same declaration of submission service working on another > server (serving another domain) and alias expansion works fine there. > > Can you help me figure out what's wrong ? Why is postfix bypassing the > alias lookup ? > > > Thanks, > Julien
