Currently running postfix with amavisd and spam assassin. I'm now cleverly using recipient_delimiter and amavisd so that amavisd flags spam as user+s...@example.com
WAY cool feature BTW, now I don't have to set filters up for each user. Thanks for all the help I got there.
The problem appears to be that Amavisd is filtering outbound mail. all good (want to stop sending virus and all that), but if it filters an outbound message as spam, it changes the email address from u...@externaldomain.example.com to user+s...@externaldomain.example.com
If that site isn't ALSO using recipient_delimiters, then that mail not surprisingly bounces. I can't determine whether I fix this with postfix or amavisd
I'm getting close to the end. I had a working environment until I enabled recipient_delimiters, now I'm just working out the final kinks!
Rick master.cf extract: # amavisd-new amavisd-new unix - - n - 2 smtp -o smtp_data_done_timeout=1200s -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - 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=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes ##################################################### Rick Steeves http://www.sinister.net "The journey is the destination"