filter by size of attachment

Dustin Baer dustin.baer at IHS.COM
Mon Jun 30 16:48:10 IST 2003


Alan Fiebig wrote:
>
> Greetings!
>
> I know that MailScanner can block/remove file attachments based upon the name of the attachment, but does anyone know of a method to block/remove an attachment(s) based upon size? Many of my dialup account customers have major problems in downloading emails that are over 2 meg in size; some have their client lockup, other think it locked up due to the time involved in the transfer and just abort.
>
> I would therefore like to use MailScanner to also block or remove attachments that are over a given size, say 2 meg.
>
> All help is apreciated!
>
> -Alan

Doesn't your MTA do this?

Sendmail -
O MaxMessageSize=[BYTE SIZE]

The MTA won't remove the attachment, but it will most certainly not let
it in.

Dustin

--
Dustin Baer
Unix Administrator/Postmaster
Information Handling Services
15 Inverness Way East
Englewood, CO 80112
303-397-2836



More information about the MailScanner mailing list