Oliver, > i tried to customize the notification messages from amavisd-new and > ran into trouble. > It seem's, regardless of what i'm doing, that amavis appends the > original mail header at the end of the notification mail to a sender. > Unfortunately amavis seems not to distinguish between virus- and > banned mails. Is there a way to change this?
The header in the plain-text portion of NDN can be removed by not having a macro %H in the template. A template may distinguish between infected and banned by evaluating macros %V and %F (e.g. their cardinality: %#V and %#F, as already used in the default template). The rest of the NDN mime structure is specified by RFC 3462 and RFC 3464 and is not conbfigurable. Amavisd-new only includes mail header and not a mail body in NDN. Viruses do not spread through mail header, so this should not be an issue. Mark ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
