Re: formail recipe that queries asn.routeviews.org

Chris <[email protected]> Tue, 21 Oct 2014 15:49:04 -0500
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
On Tue, 2014-10-21 at 20:40 +0200, Mathias Bauer wrote:
> * Chris wrote on Mon, 20 Oct 2014, at 21:00 (-0500):
> 
> > RAW_ASN=`host -W 6 -R 10 -t txt $REVERSE_SENDERIP.asn.routeviews.org |
> > sed -e 's/.* text //' -e 's/"//g'`
> >
> > ASN = `echo $RAW_ASN | cut -d ' ' -f 1`
> >
> > [...]
> >
> > The problem I'm having is that in my procmaillog I'm seeing
> > this periodically:
> >
> > host: '.asn.routeviews.org' is not a legal name (empty label)
> 
> The variable REVERSE_SENDERIP is empty.  As it is not a procmail
> internal variable you may have a look where its values originate
> from.
> 
> > ASN= From [email protected]  Mon Oct 20 11:41:44 2014
> >  Subject: Cron <chris@localhost> fetchmail
> > --quit; /usr/local/bin/fetchmail -v
> >   Folder: /home/chris/Maildir/new/1413823304.2785_1.localhost
> 
> Regards,
> Mathias
> 
Thank you Mathias, I'll take a look and see what I can figure out.

Chris


-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
15:48:11 up 20:20, 1 user, load average: 0.21, 0.38, 0.38
Ubuntu 14.04.1 LTS, kernel 3.13.0-38-generic

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
[email protected]
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEABECAAYFAlRGxs8ACgkQ43Kn2pjmcFxqAQCfR6FgfzQiu7Y31o30xe6CmgfF
elAAnRyvCVjXg2UNhXhEo7RLrtzTlOLh
=uJDV
-----END PGP SIGNATURE-----