Matt Richards wrote:
For filtering junk I have ...
:0:
* ^X-DSPAM-Result: Spam$
{
FROM=`formail -XFrom: | formail -r -xTo: | tr -d ' '`
:0
* ? ~/scripts/address_ldap_search.pl $FROM
$DEFAULT
:0
.Junk/
}
.. so email that is marked as junk will still get into my inbox if the from
address is in my address book :)
This is all great but I also have rules later in the procmail file that
filter on other aspects of emails and at the moment they arn't being checked
if the email is marked as junk but from an address I know about.
So is it possiable to have a return where the $DEFAULT is in this statement
to the other checks will be processed?
One possible solution would be changing the condition "* ?
~/scripts/address_ldap_search.pl $FROM" or simply change the script to
indicate if someone is NOT in your address book, and file to Junk then,
otherwise let the processing continue.
--
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/
____________________________________________________________
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