florian:
> Hi,
> 
> I'm facing a strange issue that I never saw before.
> 
> I have to relay an email with a big size (>20MB). My postfix server is
> accepting emails with a size up to 50Mo, so I did received this email.
> However, the server to which I need to send the email only accept message
> with a size lower than 12MB.

Postfix stores size information in the queue file.  What size does the
queue manager log fot this specific message?

> Usually postfix detect this after the EHLO command and just end the
> communication before sending a bounce to the sender.

Right. This suggests that either the size information in the queue file is
wrong, or that the SIZE announcement was malformed (i.e. buggy SMTP server).
This requires a packet-level dump to see if there are stray carriage-returns
or other unexpected content in thhe EHLO response.

> But in my case, postfix is sending the email anyway untill the remote server
> send an error "552 Data size exceeded". When it does that, postfix doesn't
> see it and we can see TCP retransmit of the last TCP segment untill there is
> a timeout.

The server is buggy. SMTP does not allow servers to respond until
the client sends end-of-data.

        Wietse

Reply via email to