John, > I am hosting a system that is responsible for multiple domains. Right now, > when a spam is caught, a notification will go out to the person who sent > the message. The FROM address will not change to match the domain that the > original email was sent to. > Example: Content-filter at staticdomain.com [EMAIL PROTECTED] > The staticdomain will be the value in the config file. > I have played around with the $hdrfrom_notify_sender pram as well as the > template-spam-sender.txt but I cannot seem to get what I want out of the > system.
This is currently not available, but is on a wish list. There is one fundamental problem: mail can have multiple recipients, possibly from different local domains. DSN sent to a sender is only one, so which sending (or From) address to choose when there is more than one that apply? Once you have this answered, the rest should not be difficult, $hdrfrom_notify_sender needs to be turned into a *_maps (i.e. a list of per-recipient lookup tables), and a lookup performed (in subroutine delivery_status_notification() ). Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/