procmail
[Top] [All Lists]

Re: formail recipe that queries asn.routeviews.org

2014-10-21 22:53:15
On Tue, 2014-10-21 at 20:36 -0600, LuKreme wrote:
On 20 Oct 2014, at 20:00 , Chris <cpollock(_at_)embarqmail(_dot_)com> wrote:
I've a formail recipe embedded in my .procmailrc file that it's purpose
is to parse out the senders ASN and CIDR. The output of looks like this:
X-senderip: 168.244.164.171
X-asn: ASN-21789
X-cidr: 168.244.164.0/24

This is interesting, but why do it?


I've been using it for years, I didn't write it, Karsten Self did. I use
it when reporting a spam to such places as universities and include the
sender IP which hopefully would make it easier to find out who had been
hacked or was actually sending out the spam. 

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
22:41:20 up 1 day, 3:14, 1 user, load average: 0.29, 0.60, 0.63
Ubuntu 14.04.1 LTS, kernel 3.13.0-38-generic

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail