• 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

Qmail isn't working...

C

cappytoi

Guest
I don't understand why but qmail isn't working. Here is some info about my problem. Here is maillog:

Sep 6 15:40:57 dns imapd: Connection, ip=[83.26.30.58]
Sep 6 15:40:57 dns last message repeated 3 times
Sep 6 15:40:58 dns imapd: 1126046458.227120 DISCONNECTED, ip=[83.26.30.58], headers=0, body=0, rcvd=2, sent=374, maildir=/
Sep 6 15:40:58 dns imapd: 1126046458.238423 DISCONNECTED, ip=[83.26.30.58], headers=0, body=0, rcvd=2, sent=374, maildir=/
Sep 6 15:40:58 dns imapd: 1126046458.242980 DISCONNECTED, ip=[83.26.30.58], headers=0, body=0, rcvd=2, sent=374, maildir=/
Sep 6 15:40:58 dns imapd: 1126046458.248296 DISCONNECTED, ip=[83.26.30.58], headers=0, body=0, rcvd=2, sent=374, maildir=/
Sep 6 15:59:02 dns qmail: 1126047542.433688 status: exiting
Sep 6 15:59:02 dns qmail: 1126047542.681206 status: local 0/10 remote 0/20
Sep 6 16:06:13 dns qmail: 1126047973.114623 alert: cannot start: qmail-send is already running
Sep 6 16:20:18 dns qmail: 1126048818.628075 status: local 0/10 remote 0/20


And here is mail based processes list from plesk:

31427 0.0 0.0 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd -maxprocs=40 -maxperip=4 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 /usr/sbin/imaplogin /usr/lib/courier-imap/authlib/authpsa /usr/bin/ 0 30 984 S 00:00:00 root
31429 0.0 0.0 /usr/sbin/courierlogger imapd 0 30 776 S 00:00:00 root
31440 0.0 0.0 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/imapd-ssl.pid -nodnslookup -noidentlookup 993 /usr/bin/couriertls -server -tcpd /usr/sbin/imaplogin /usr/ 0 31 988 S 00:00:00 root
31442 0.0 0.0 /usr/sbin/courierlogger imapd-ssl 0 30 776 S 00:00:00 root
31451 0.0 0.0 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup 110 /usr/sbin/pop3login /usr/lib/courier-imap/authlib/authpsa /usr/bin/ 0 30 988 S 00:00:00 root
31453 0.0 0.0 /usr/sbin/courierlogger pop3d 0 30 780 S 00:00:00 root
31462 0.0 0.0 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d-ssl.pid -nodnslookup -noidentlookup 995 /usr/bin/couriertls -server -tcpd /usr/sbin/pop3login /usr/ 0 31 988 S 00:00:00 root
31464 0.0 0.0 /usr/sbin/courierlogger pop3d-ssl 0 30 780 S 00:00:00 root
31474 0.0 0.0 qmail-send 0 30 340 S 00:00:00 qmails
31476 0.0 0.0 splogger qmail 0 30 408 S 00:00:00 qmaill
31477 0.0 0.0 qmail-lspawn ./Maildir/ 0 30 316 S 00:00:00 root
31478 0.0 0.0 qmail-rspawn 0 30 312 S 00:00:00 qmailr
31479 0.0 0.0 qmail-clean 0 30 300 S 00:00:00 qmailq


I try killing qmail-send and then start qmail again but it is still not working. Also I restart system But I still can not find the problem. Somebody help me please?

System:
VPS Fedora 1.0
Plesk 7.5.4
Qmail 1.0.3
 
mail check

what does netstat -nltp | grep 25 says?

something like this should apear:

tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6405/xinetd

try telnet localhost 25
what happens here?

It could be useful looking in /var/log/mail.err or .info

can you start /etc/init.d/qmail without errors?
 
Back
Top