* On [010502 16:40] Monah Baki <mbaki(_at_)orblynx(_dot_)com> wrote:
Below is my .procmailrc to filter unwanted attachments, but how do I add
another filter for the domain flowgo.com.
Thanks
SHELL=/bin/ksh
PATH=/bin:/usr/bin:/usr/local/bin
:0 HB
* ^Content-Disposition: attachment;
*filename=".*\.(exe|vbs|shs|com|pif|bat|scr)"
/dev/null
:0 HB
* ^From:. *(_at_)flowgo(_dot_)com
/dev/null
I think the following is what you want, but am not quite sure.
If you want to filter some mail from flowgo.com before it gets sent to
/dev/null, you have to add the recipe before the one quoted above, eg:
:0:
* ^From:(_dot_)*(_at_)flowgo(_dot_)com
* ^Subject:.*This is interesting
[into mailbox]
#this puts mails from flowgo.com which contain the subject line " This
is interesting", in a mailbox you define.
:0 HB
* ^From:(_dot_)*(_at_)flowgo(_dot_)com
/dev/null
#all other email from flowgo.com goes to/dev/null
HTH,
Lawrence
--
Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/
wence(_at_)gmx(_dot_)li | Never have children, only grandchildren.
-- Gore Vidal
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail