• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

postfix-queue / Queue file write error is still happening

I have received following suggestion from developers:

Please try next steps:
1. Exclude postfix-queue proxy from /etc/postfix/master.cf:
find string "smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025"
and change a port 10025 -> 10026

2. monitor a log file /usr/local/psa/var/log/maillog and grep on strings that contains smtp status like: "lost connection after DATA". In most cases such strings must to be exists. This strings are means what connection was closed by native smtpd server and before-queue processor was closed by smtpd. It's normal. And may to be caused by wrong smtp clients. (e.g. spambots).

3. Let me know if logfile is clean from similair records. Possible it is bug in before-queue.
 
Please try next steps:
1. Exclude postfix-queue proxy from /etc/postfix/master.cf:
find string "smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025"
and change a port 10025 -> 10026

What is going to happen when i exclude 10025?

Shall i also change smtps & submission lines as well?

Thanks,

Ahmed
 
You are right, Plesk has the potential to rule everything but lately they seem to grab the money and drink cocktails.

Give us postfix-queue source code. There is no trade-secret inside this crappy piece of software, except if you want to hide some dirty programming.

LOL... :D but i agree with you :beer:

Sc
 
Please try next steps:
1. Exclude postfix-queue proxy from /etc/postfix/master.cf:
find string "smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025"
and change a port 10025 -> 10026

I don't have this in my main.cf...

nb: why can't we quote the quotes of a post?
 
It works:

smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025
smtps inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025 -o smtpd_tls_wrappermode=yes

but how to modify it if i don't find it in the file?
 
It works:

smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025
smtps inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025 -o smtpd_tls_wrappermode=yes

but how to modify it if i don't find it in the file?

This line exists in file if you can find it with grep.
 
Tested, and the queue is full and totally stopped now! please it's urgent, it's a work server and no mails work...
 
i've done all.

the same message lots of time in the maillog:

"status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)"
 
i've done all.

the same message lots of time in the maillog:

"status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)"

Looks like you have some Postfix misconfiguration there. I suggest you contact Support team. They will check it directly on your server and fix it.
 
and what's the postfix command to resend mails that are in the file queue please? thanks.

same question for qmail...
 
After a /usr/local/psa/admin/sbin/mchk the file queue reworks. I'll check if i still get this queue file error problem. (i'll try to see if the change of port was useful, but why this?)

But the commands to resend mail queue will be useful....
 
Thanks igor.

I'll keep you informed if the bug still comes (i don't believe for the moment, test time)
 
now i got messages like this:

Postfix SMTP server: errors from unknown[IP OF THE SENDER]‏

Transcript of session follows.

Out: 220 ks361518.kimsufi.com ESMTP Postfix
In: EHLO mercure-twfi.ccemails.net
Out: 250-ks361518.kimsufi.com
Out: 250-PIPELINING
Out: 250-SIZE 10240000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: MAIL FROM:<[email protected]> BODY=8BITMIME
Out: 250 2.1.0 Ok
In: RCPT TO:<[email protected]>
Out: 451 4.3.0 Error: queue file write error
In: DATA
Out: 554 5.5.1 Error: no valid recipients
In: QUIT
Out: 221 2.0.0 Bye
 
Back
Top