Jeremy Laidman wrote the following on 5/10/2007 3:40 PM -0800: > Bill Landry wrote: > > >>>>>>> smtpd_recipient_restrictions = >>>>>>> ... >>>>>>> check_client_access pcre:/etc/postfix/filter_outbound >>>>>>> permit_mynetworks >>>>>>> permit_sasl_authenticated >>>>>>> check_client_access pcre:/etc/postfix/filter_inbound >>>>>>> reject_unauth_destination >>>>>>> .. >>>>>>> > > >> Rules are processed top down. Since everything will match /./ in the >> first filter rule, everything will be sent to the first >> "amavis:[1027.0.0.1]:10586" content_filter. Unless some post >> content_filter filtering is being done, nothing ever gets past the first >> filter, and everything only gets virus scanned and relayed. If I am >> totally misunderstanding this, then please explain how anything ever get >> past "check_client_access pcre:/etc/postfix/filter_outbound" in the >> smtpd_recipient_restrictions? If that's the end of processing, then we >> are in trouble. >> > > If "permit_mynetworks" or "permit_sasl_authenticated" matches, then the second > check_client_access never gets hit, so only the first filter applies. >
So explain a situation where the first filter would *not* apply. As written, it applies to everything and anything after "check_client_access pcre:/etc/postfix/filter_outbound" is useless, as everything will be sent to the first content_filter and thus, end of "smtpd_recipient_restrictions" processing. Bill ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/
