I have a Linux CENTOS Server running PostFix. It has no mailboxes, but is a mail gateway, for several Domains in another destination Server, which is also a Linux CENTOS running Sendmail. So, after checking the emails with antivirus and antispam, the Postfix Server delivers them to the Sendmail Server which hosts the real mailboxes.
Many of our customers are claiming they don't receive several emails, or receive them with many hours delay, so we monitored the /var/log/maillog file at the Postfix Server, and found out that those emails are not being delivered to the Sendmail Server and are deferred with messages like:
Aug 23 11:48:58 srv7 postfix/smtp: 980C773D64B: to=, relay=srv6.multisitesdominios.com.br[22.214.171.124], delay=2375, status=deferred (conversation with srv6.multisitesdominios.com.br[126.96.36.199] timed out while sending message body)
Most of these emails have attachments, so probably they are a little large. We realized that small emails pass and are received normally.
- What is the real reason of this problem, is it really the emails size?
- Is there any Postfix parameter we should tune to avoid it?
- Would the problem be at the destination Server (the Sendmail one) and not at this "gateway" Server (the Postfix one)?
- What would be the definite solution?