jcdole: > Human guru perhaps not, but programs , spammers, or others may. > > So how to reject mail with bad sender addresses that postfix accept. > > Any help is welcome.
Use check_sender_access with PCRE patterns, to retrict the subset of address syntax that you want to allow. http://www.postfix.org/postconf.5.html#smtpd_sender_restrictions http://www.postfix.org/postconf.5.html#check_sender_access http://www.postfix.org/access.5.html http://www.postfix.org/pcre_table.5.html http://www.postfix.org/DATABASE_README.html Wietse