• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Postfix TIMEOUT bei gepacktem Nachrichtenanhang (+40MB) [SOLVED]

Omen2k

New Pleskian
Guten Tag,

leider erhalten wir in unserer Postfix Mail Queue einen Fehler bei größeren Nachrichten bzw.
bei den im Anhang gepackten Dateien. Interessant ist das die betroffene Nachricht an den Empfänger
zugestellt wird jedoch nicht aus der Mail Queue verschwindet und daraus folgend Stündlich erneut zugestellt wird.
Der betroffene Log Eintrag lautet dann wie folgt : lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once

In unserem Fall ist hier als Filterprogramm ESET Mail Security über SMPT zwischengeschaltet.
Die Limits von Postfix wurden auf 100Mb je Nachricht angepasst, dieses Limit wurde ebenfalls für die Mailfilter
DrWeb(PLESK Antivirus) sowie ESET Mail Security angepasst wobei hier die maximale Größe für den "entpackten" Zustand auf maximal 600Mb angehoben wurde.
Weiter wurde in der master.cf der wert "-o smtp_data_done_timeout=" auf 100000 gesetzt.

Das selbe Problem wird hier ebenfalls für PLESK 9 beschrieben:
http://forum.odin.com/threads/postfix-lost-connection-with-127-0-0-1.97673/

Beste Grüße
 
@Omen2k
I just would like to note, that default language of this forum is English.
Please rewrite your post.
Thanks.
 
Good day,

unfortunately we get in our Postfix mail queue an error with larger messages whit packed files in the attachment. Interesting is that the mail is delivered to the recipient
but does not disappear from the mail queue and will be resend every hour to the mailbox.

The affected log entry is then as follows: lost connection with 127.0.0.1 [127.0.0.1] while sending end of data - message may be sent more than once

In our case here is a filter program ESET Mail Security "SMTP" between Postfix and the final mailbox.
The Limits of Postfix were adjusted to 100Mb per message, this limit was also set for the Mail Filter
DrWeb (PLESK Antivirus) and ESET Mail Security, the "unzipped" state is raised to 600MB.
Next was an modification in the master.cf for the value "-o smtp_data_done_timeout =" set to 100,000 for testing.

The same problem is also described herein for PLESK 9:
http://forum.odin.com/threads/postfix-lost-connection-with-127-0-0-1.97673/

Best regards
 
to solve the problem add the client timeout parameter to /etc/opt/eset/esets/esets.cfg
like this:

# timeout_client = time
# Timeout for client part of the communication.
timeout_client = 300

default would be at 30 second's but for big archive files this would be to less
 
Back
Top