procmail
[Top] [All Lists]

Re: formail recipe that queries asn.routeviews.org

2014-10-21 13:40:15
* 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 cpollock(_at_)embarqmail(_dot_)com  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

-- 
CAcert Assurer - See http://www.CAcert.org for details or ask me
GnuPG/OpenPGP: B100 5DC4 9686 BE64 87E9 0E22 44C3 983F A762 9DE8

Attachment: pgpVZdnRCTJhL.pgp
Description: PGP signature

____________________________________________________________
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