filter by size of attachment

Eric Dantan Rzewnicki rzewnickie at RFA.ORG
Tue Jul 1 16:45:56 IST 2003


On Mon 30/06/2003 09:48:10, Dustin Baer wrote:
> 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.
>

Or the same in postfix:

message_size_limit = [BYTE SIZE]


> 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