Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Oh yes, please show us the code for this. The more I can do to cut out spam, the better!
    • It's here [cantrell.org.uk]. The code is pretty self-explanatory. You will need to change the pattern matching immediately after the 'CHANGEME' comment so that it correctly spots the Received header inserted by your secondary MX.

      Any message which goes through your secondary MX will have a header inserted to tell you whether it came to the secondary from a blacklisted or whitelisted host, or whether the sending host is neither black- or white-listed.