[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail question



Hi,

On Sun, 2003-09-28 at 20:00, LeVA wrote:
> Hello!
> 
> How can I make this with procmail (what should I write to the 
> ~/.procmailrc file):
> 
> If an email has a given text in it's subject, delete the mail,
> if another email has aonther given text in its subject write it to 
> another file than the user's mail spool file.

man procmailex gives you some good examples.

:0
^Subject:.YOUR_REGEXP_GOES_HERE
FILENAME (for deletion: /dev/null)

hth
mike




Reply to: