procmail
[Top] [All Lists]

Match senders' names from a file

1996-05-16 23:26:24
Hi,

I'm new to procmail and have it installed on Digital UNIX with 
sendmail, and is working at least for simple mail filtering and 
forwarding. I need to filter mails from a list of senders whose names 
are stored in a file. I copied the script from procmailex example :

URGMATCH=`cat $HOME/.urgent`

:0 B:
* $^From:.*${URGMATCH}
urgent

----------
I'm sure the address matches, but it doesn't work. The log writes 
...
No match on "^From(_dot_)*name(_at_)somewhere
..
Folder: **Bounced**"

Have I missed out anything?

Please highlight.






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