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
#######################
and procmail /dev/nulls this message only *after* I downloaded it to my
machine, correct? ....
Wolfgang
>
> -uday
>
>
> On Fri, 12 Jan 2001, Wolfgang Pfeiffer wrote:
>
> >
> > Hi,
> > I need some detailed (or at least *some* good) documentation on how to
> > set up spam filters with fetchmail. I'd like to know how to delete mails,
> > addressed to me, with fetchmail on my ISP's machines (protocol=POP3)
> > *without* the need for downloading them.
> >
> > Or some info on how to send back mails, having a 'unsubscribe' in the
> > subject line, to the sender (and *not* to the list that delivered it to
> > the machines of my ISP); and again: without the need for downloading such
> > mail.
> > Or doesn't have fetchmail the options to do this?
> >
> > ... running fetchmail with procmail (and Pine) on my machine.
> >
> > Thanks in anticipation.
> >
> > Regards.
> > Wolfgang
> >
> >
> >
>
>
--
http://www.geocities.com/wolfgangpfeiffer/
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list