also sprach Jeroen Massar <jer...@unfix.org> [2008.12.27.1633 +0100]: > + // Change Reject into a DISCARD when the Precedence is List > + // This stops us from bouncing towards mailing lists > + // See bottom of > http://lists.debian.org/debian-project/2008/12/msg00151.html > + // Added by Jeroen Massar > + if (cmp_nocase_partial("List", assassin->precedence()) == 0) > do_reject = false;
This should probably be repeated for Bulk and Junk. > + if (do_reject) > + { > + debug(D_MISC, "Rejecting"); > + smfi_setreply(ctx, "550", "5.7.1", "Blocked by > SpamAssassin"); > + } > + else > + { > + debug(D_MISC, "Discarding"); > + /* No reply here, we just throw it out of the door */ > + } It would be good to have some verbose logging, so that I can look at verbose or debug logs and figure out why a message was discarded and not rejected. -- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)