[ILUG] yet more procmail
Kevin Philp
kevin at cybercolloids.net
Fri Apr 16 10:18:26 IST 2004
I would go for:
:0:
* ^Subject:.*Undelivered Mail Returned to Sender
* ^Subject:.*Suspicious Attachment
| /dev/null
You don't need the .* at the end as you are matching a line beginning with
Subject, any series of characters, followed by the text. Some references tell
you to escape the spaces but it doesn't seem necessary on linux.
Kevin.
On Thursday 15 April 2004 20:21, ( Admin ) bryan wrote:
> Hmmm ... I thought that this would be easy but it doesn't seem to be .
Try
* ^Subject:.*Undelivered Mail Returned to Sender.*
* Subject:.*Suspicious Attachment.*
| /dev/null
--
John Allen, mailto:john.allen at dublinux.net
MandrakeClub Silver Member. http://www.dublinux.net
Mandrake Linux release 10.0 (Community) for i586, kernel 2.4.22-28mdk
09:55:08 up 14 days, 1:54, 2 users, load average: 0.11, 0.05, 0.02
More information about the ILUG
mailing list