OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Is there a way to prevent large messages

From: Puthick Hok (hputhickgmail.com)
Date: Thu Jan 31 2008 - 17:15:48 CST


Hi,

I have a postfix mail server running 2.1. Recently, there has been an
increasing number of incoming messages whose sizes are far larger than
the message_size_limit. Because the mail server does not know the size
of the message in advance, it has to receive it before rejecting it.
Can postfix stop receiving the message once the size of message it has
received from the sending server is over the message_size_limit? Or
can postfix tell who the sending recipient is? Because these messages
so far are from the organisations we are doing business with.

I cannot imagine someone with a large bandwidth sending me hundred MB
emails. It is worse when the sending server keeps resending the
message every whatever their configuration to reprocess their outgoing
queue. Is there any option to tell the sending server that failure due
to over size messages is a permanent failure?

Thnaks,
Puthick