Zhang Huangbin, > Is it possible to block backscatter with 'X-Virus-Scanned:' header? > Is it reliable? > > Such as this header_checks(5) rule: > if /^Received:/ > !/^X-Virus-Scanned: amavisd-new at rh52.bibby.org$/ REJECT not sent by > my server > endif
Postfix checks a header section one header field at a time, so I don't think that negation works the way you expected. See also Postfix docs README_FILES/BACKSCATTER_README. The downside of such schemes is that some of the non-delivery notifications use non-standard form (so an original header section may be in a plain-text body) and some even come without a header section of the original mail, so rules like these could not let through such broken NDN. Still, it might be useful to pursue the idea. Mark ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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/
