Hi, I'm in the process of upgrading our old mailserver (postfix, amavis & dovecot, all LDAP fed).
Previously not all users were virtual, a situation that I want to get rid of. So far, all works nicely except for one thing: when amavis bans a locally originating email, it tries to send an email to a virtual alias address (in our case virusal...@example.com) and that's where things break, because dovecot-lmtp complains about the alias address not being an actual (dovecot) user: Nov 29 19:42:36 marathon postfix/lmtp[9957]: A981A4E69F1: to=<virusal...@example.com>, relay=mail.example.com[private/dovecot-lmtp], delay=0.04, delays=0.03/0/0/0, dsn=5.1.1, status=bounced (host mail.example.com[private/dovecot-lmtp] said: 550 5.1.1 <virusal...@example.com> User doesn't exist: virusal...@example.com (in reply to RCPT TO command)) amavis is integrated as a content_filter and it reinjects its mails using port 10025: main.cf: ---------- [...] content_filter = smtp-amavis:[127.0.0.1]:10024 master.cf: ---------- [...] smtp-amavis unix - - - - 5 lmtp -o smtp_data_done_timeout=1200 172.17.133.1:10025 inet n - - - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8,172.17.133.1/32 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o { virtual_alias_maps = ldap:/usr/local/etc/postfix/ldap-aliases-core.cf, ldap:/usr/local/etc/postfix/ldap-aliases.cf } -o cleanup_service_name=cleanup Any clues? Thanks in advance :) Udo