Hello. I have two mailboxes (read with pop/imap connection), called [email protected] and [email protected]. 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
> [email protected] [email protected] > [email protected] [email protected] 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 [email protected] is sent two times. That's 'normal' because the script do: >sendmail -oi -f [email protected] [email protected] (and send two mails -> >user1@ and user2@) >sendmail -oi -f [email protected] [email protected] So, user2@ receive two mails. Do you have an idea to prevent this problem? Any advices? Thanks a lot. Regards, -- -Nicolas.
