Reply to message from Wolfgang Pfeiffer on Fri, 12 Jan 2001, 23:40 <+0100>:
> Reply to message from Uday Pai on Thu, 11 Jan 2001, 19:38 <-0800>:
>
> > hi,
> > You can use .procmailrc file, match the pattern in the mail-header and
> > delete them
> >
> > PATH=/usr/bin:/bin:/usr/local/bin:/usr/local/bin
> > MAILDIR=$HOME/mail
> > DEFAULT=/var/spool/mail/user
> >
> >:0:
> > * ^From.*spam
> > /dev/null
>
>
> so if I want to move to /dev/null every message having the word (and only
> this single word) 'unsubscribe' in the 'subject' line, I'd have to write
> this to .procmailrc ?
> ########################
>:0:
> * ^Subject:.unsubscribe #no asterisk before 'unsubscribe'?
> /dev/null
> #######################
>
Sorry, in my last mail I forgot to make .promailrc complete:
###################################################################
PATH=/usr/bin:/bin:/usr/local/bin:/usr/local/bin
MAILDIR=$HOME/mail
DEFAULT=/var/spool/mail/user
:0:
* ^Subject:.unsubscribe #no asterisk before 'unsubscribe'?
/dev/null
##################################################################
Correct?
Regards.
Wolfgang
> [ ... ]
--
http://www.geocities.com/wolfgangpfeiffer/
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list