How can I drop all emails containing an attachment for user X?
Antony Stone
Antony at SOFT-SOLUTIONS.CO.UK
Thu Sep 11 21:34:26 IST 2003
On Thursday 11 September 2003 8:59 pm, Denis Beauchemin wrote:
> Hello,
>
> I have a user that would like not to receive any email containing an
> attachment (the emails are processed by a DOS program that is not very
> robust and prints loads of pages when it gets something not fitting its
> requirements).
>
> I tried to figure out how to do it using Filename Rules, but if I block
> all attachments for that user (assuming I can chain rules files here),
> they still will be delivered... I want those emails to be dropped...
>
> Any ideas?
Er, just thinking out loud here, but wouldn't it be easier to create a
SpamAssassin rule which matches the MIME header giving the details of an
attachment, and then give that rule a sufficiently high score that it exceeds
your Spam High Score and gets dropped (assuming that's what you do with Real
Spam)?
Alternatively you could try Julian's new content filtering MCP rules, looking
for the same sort of thing, but bear in mind that's not even classified as
alpha code yet (although saying that, I'd have a lot more confidence in
Julian's alpha code than in some other vendors' delivered code...)
Just my 2p,
Antony.
--
Most people have more than the average number of legs.
More information about the MailScanner
mailing list