procmail
[Top] [All Lists]

Re: ? test for DNS records

2006-06-16 10:21:22
On 16 Jun 2006, at 08:55 , Don Russell wrote:
:0
*$ ? nslookup ${LISTID}
{
    dns records were found
}
:0 E
{
    dns records were not found (conclusion - fake list = spam/junk, or
DNS server unavailable)
}

However, the :0 E clause is never executed, even if the command line
nslookup fails with a "non-existant domain" message.

try 'e' instead of 'E'

E = Else e = error


--  
Love is like oxygen/You get too much/you get too high/Not enough and  
you're gonna die



____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>