Enhancement #1968

Mail-common: timeout after END-OF-MESSAGE from localhost

Added by Davide Principi about 8 years ago. Updated about 8 years ago.

Status:CLOSEDStart date:06/04/2013
Priority:NormalDue date:06/04/2013
Assignee:-% Done:

100%

Category:nethserver-mail-common
Target version:v6.4-beta2
Resolution: NEEDINFO:No

Description

Our maillog is filled with timeout after END-OF-MESSAGE from localhost messages from postfix/smtpd.

amavisd has a SMTP connection caching mechanism that can be disabled, to avoid those messages on low-traffic sites.

http://permalink.gmane.org/gmane.mail.postfix.user/186129


Related issues

Related to NethServer 6 - Enhancement #1908: Mail-common: spawn more amavisd workers CLOSED 06/04/2013 06/04/2013

Associated revisions

Revision 615130e7
Added by Davide Principi about 8 years ago

/etc/amavisd.conf template (10server): disabled smtp connection cache. Refs #1968

History

#1 Updated by Davide Principi about 8 years ago

  • Due date set to 06/04/2013
  • Status changed from NEW to TRIAGED
  • Start date set to 06/04/2013
  • % Done changed from 0 to 20

Two amavisd.conf parameters control the smtp connection cache:

  $smtp_connection_cache_on_demand = 1;
  $smtp_connection_cache_enable = 1;

From amavisd 2.6.0 release notes:

A global setting $smtp_connection_cache_on_demand controls whether amavisd
is allowed to dynamically change the $smtp_connection_cache_enable setting
according to its estimate of the message frequency.

There should be no appreciable performance loss if we disable the connection cache, because amavisd contacts postfix without TLS on the loopback interface.

#2 Updated by Davide Principi about 8 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#4 Updated by Davide Principi about 8 years ago

  • Subject changed from Mail-filter: timeout after END-OF-MESSAGE from localhost to Mail-common: timeout after END-OF-MESSAGE from localhost

#5 Updated by Davide Principi about 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 70

#6 Updated by Davide Principi about 8 years ago

Test case

Must be tested on a real environment

#7 Updated by Davide Principi about 8 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 80

In nethserver-testing:
nethserver-mail-common-1.2.1-1.ns6.noarch.rpm

#8 Updated by Davide Principi about 8 years ago

  • Assignee set to Filippo Carletti

#9 Updated by Filippo Carletti about 8 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 80 to 100

grep "timeout after END-OF-MESSAGE" /var/log/maillog | grep localhost

No messages!

#10 Updated by Davide Principi about 8 years ago

  • Assignee deleted (Filippo Carletti)

#11 Updated by Davide Principi about 8 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Moved to nethserver-updates repository

Also available in: Atom PDF