procmail
[Top] [All Lists]

Re: Check whitelist file and if not there add to whitelist

2005-08-21 09:10:37
In your message dated Sat, 20 Aug 2005 21:28:23 +0200, Michelle said that
...

Am 2005-08-20 23:54:25, schrieb Tim
Rice:

:0 
* ?formail -x"From:" -x"Sender:" \ 

I think, it should be

* ?? formail -x"From:" -x"Sender:" \

I'll have to check the man pages, but if I recall, someone told me why I
needed the single ? before. In fact this has been working for a long time
like this:

:0
* ?formail -x"From:" -x"Sender:" \
  -x"Reply-To:" -x"Return-Path:" \
| fgrep -is -f $USERDIR/whitelist
{          
        :0 hif
        | formail -A"X-Puremail: User Whitelist"
        
        :0:
        $DELIVER
}

After dropping the Deliver portion it's broken now.


-- 
Best Regards,

Tim Rice
---------------
Phuket Thailand

 


____________________________________________________________
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