MTU and Postfix



Hello,

I've been busy on these days trying to solve a problem with Postfix that
drove me nuts.

Sporadically (let's say one in hundred e-mails) my Postfix had problems
for delivering messages with ~3 MiB of attachment to some e-mail hosts.
DSN service returned the final notice of delivery to the user and logs
displayed an error like "timed out while sending message body".

These hosts were not of those "difficult" ones like Hotmail, Gmail,
Yahoo! or the like that because to their high volume of traffic implement
additional (and sometimes strambotic) measures to prevent spam and such
"anti-all" systems that may require a different transport definiton in
Postfix to get e-mails delivered.

Moreover, these hosts were not e-mail servers that are behind Cisco PIX
devices or using MS Exchange servers that are also well-known to be
conflictive to "dialogue" with.

Nope, I was having problems for delivering to common, small hosts of mid-
size companies, one of the hosts running a Debian system, like mine. So I
had to run some tests to find out what could be the problem here.

I first tried to define a less conservative values (by increasing the
time) for "smtp_data_done_timeout", "smtp_data_xfer_timeout" and
"smtp_data_init_timeout" but this had no effect at all and again, some e-
mails were still undelivered.

Googling around I found some posts and articles¹ pointing to the MTU
value (my bonded interface was set by default to 1500) and as I had
nothing to lose, I changed this and lowered to 1400.

This turned out to work wonders and since then (that's more than a week
ago) I still had no other DSN delivery errors. Besides, e-mails in
deferred queue that could not be sent in that time, after lowering the
MTU value were also delivered with no apparent problems.

I'm still monitoring this but if this is the "cure" to prevent such
errors, are there any expected drawbacks for lowering MTU "system-wide"?

The server has dual gigabit NIC which are bonded (in backup mode) and
server itself is behind a FTTH gigabit router. The server also hosts a
web server.

Any comments or experiences on this are welcome :-)

¹http://www.hsc.fr/ressources/cours/postfix/doc/faq.html#timeouts

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2011.08.31.16.09.23@xxxxxxxxx



Relevant Pages

  • Unable to bind to the destination server in DNS.
    ... My gateway mail server randomly stops delivering outbound e-mails. ... Message delivery to the remote domain 'yahoo.com' failed for the following ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • SMTPSVC Err 4000 Unable to bind to the destination server in DNS.
    ... My gateway mail server randomly stops delivering outbound e-mails. ... Message delivery to the remote domain 'hotmail.com' failed for the following ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • RE: Can not stop junk e-mails send from our server
    ... we can no longer archive the e-mails or set the SCL to lower ... Start the Exchange System Manager program. ... Also please check if your Server is in an open-relay state, ... Block Open SMTP Relaying and Clean Up Exchange Server SMTP Queues ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot obtaion domain controller
    ... Please no e-mails, any questions should be posted in the NewsGroup ... Connecting to directory service on server DC_Name. ... On your dns server, bring up the mmc console for dns. ... Do you see Forward Lookup Zones? ...
    (microsoft.public.windows.server.active_directory)
  • RE: Can not stop junk e-mails send from our server
    ... Also please help me collect Message Tracking to see if the e-mails are from ... junk e-mails send from our server. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)