I'm still quite a newbie at regular expressions - so please bear with me.

First the scenario.

The inbox at my ISP has been flooded with e-mails. All 300-900Kb big, no subject line, no from line. After talks with my ISP, we have determined who they come from, but I'm having trouble contacting them. Legit e-mail due to this can take forever to download, as fetchmail is also collecting the crap.

I'm thinking of running mailfilter to delete these at the ISP before they hit my server inbox (I use fetchmail, hence I intend to introduce the pre-connect feature).

However, the example code given only tells you how to block certain addresses i.e.:

DENY = ^Subject:.*Get penis enlargement

Being a dill at understanding the dots and asterixes, can anybody give me a quick fix on filtering a blank subject line? I DO NOT want ANY other mail filtered at this point, but I'm a bit afraid to use:

DENY = ^Subject:.*

In case that in RegEx speak this means deny all.

Please help me before it reaches 9:00am here (it's 8:13 now), when the flood begins again.

Regards,
Ed.



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to