procmail
[Top] [All Lists]

procmail with option ?

2002-01-23 15:56:48
Hello, I'm Alex from Spain

I want to filter my mails with procmail, but I have a problem :

I want to accept mails from one of senders that I have in a local file (address_book).

   I think that procmailrc must be similar to :

    0:
    * ? aux=`formail -X "From:" | cut -d" " -f2` &&  grep $aux address_book
    mybox

Are there other way to do the same more easy?

Thanks
Sorry about my bad english

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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