Hello. I have two mailboxes (read with pop/imap connection), called us...@domain.tld and us...@domain.tld. All mails sent to user1 are redirected to user2. To do this, I have in virtual_alias_maps: , reading your postconf i would suggest the
> us...@domain.tld us...@domain.tld > us...@domain.tld us...@domain.tld It's working fine with this in master.cf: >smtp inet n - n - - smtpd However, when I want to integrate a script (spamassassin for example) in master.cf, there is problem. >smtp inet n - n - - smtpd > -o content_filter=antispam:dummy > spamassassin unix - n n - - pipe user=spamd > argv=/usr/local/bin/spamc -f -e /usr/sbin/sendmail -> oi -f ${sender} > ${recipient} The mail for us...@domain.tld is sent two times. That's 'normal' because the script do: >sendmail -oi -f sen...@domain.tld us...@domain.tld (and send two mails -> >user1@ and user2@) >sendmail -oi -f sen...@domain.tld us...@domain.tld So, user2@ receive two mails. Do you have an idea to prevent this problem? Any advices? Thanks a lot. Regards, -- -Nicolas.