SendEmail.pm Blacklist Bug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached is a patch for SendEmail.pm that will allow the emails in
RT-Squelch-Replies-To to be blacklisted. The regex was much too restrictive
before, since the entire header was on one line, the /^(stuff)$/ could never
possible happen.

  • -Doug

Douglas E. Warner dwarner@ctinetworks.com Network Engineer
CTI/PAdotNET http://ctinetworks.com +1 717 975 9000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9ZS8qJV36su0A0xIRAtSTAKDw1hZOVfuBZ3X9HBtaHz3KGWv/2gCfRrb1
VapUDnLyUygkUTPnkOv/ba4=
=dd9Z
-----END PGP SIGNATURE-----

SendEmail.pm-20020822.patch (507 Bytes)

Douglas E. Warner wrote:

Attached is a patch for SendEmail.pm that will allow the emails in
RT-Squelch-Replies-To to be blacklisted. The regex was much too restrictive
before, since the entire header was on one line, the /^(stuff)$/ could never
possible happen.

Well picked. But the patch looks a little suboptimal to me. How
about this one instead? :slight_smile:

Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

SendEmail.pm-20020829.patch (873 Bytes)