[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Size accumulation in smtpserver?



Hello.

For many years :-) I can see the following problem: when big message  
is addressed to several recipients (multiple RCPT TO), and MAIL FROM 
contains proper SIZE tag, then message size is being accumilated. 
I.e., 1.5M message with two RCPT TO: is not accepted if 2M limit 
exists.

See example:

18998r  MAIL From:<****@pacbell.net> BODY=8BITMIME SIZE=1378626
18998   -- policy result=0, msg: <NONE!>
18998w  250 2.1.0 Sender syntax Ok
18998#  -- pipeline input exists 136 bytes
18998r  RCPT To:<****@cpr.cor.neva.ru> 
ORCPT=rfc822;****@cpr.cor.neva.ru
18998   -- policy result=0, msg: <NONE!>
18998w  250 2.1.5 Ok; can accomodate 1378626 byte message
18998#  -- pipeline input exists 66 bytes
18998r  RCPT To:<#####@cpr.cor.neva.ru> 
ORCPT=rfc822;#####@cpr.cor.neva.ru
18998   -- policy result=0, msg: <NONE!>
18998w  552 5.3.4 Message size exceeds fixed maximum size of 2000000 
chars for acceptable email

Any ideas?
Alexey