Schoelje
New Pleskian
I have an odd issue with my mail server.
On the server I checked whether the mail server was running:
sudo netstat -ntap | grep 25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1088/master
sudo telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 my_domain.nl ESMTP Postfix (Debian/GNU)
So, that looks okay.
I can use my SMTP server from my home and even on the server from the command line:
echo -e "From: admin@mydomain.com\nTo: admin@mydomain.com\nSubject: sendmail test\n\nThis is the body,\nwith multiple lines." | sendmail -t
However, when I try to send a test mail from Plone, the log files indicate that the message is sent. However, I never receive the message. There are no errors in /var/log/mail.err
This is the /var/log/maillog file:
Apr 12 14:11:54 h2776529 postfix/smtpd[6327]: connect from localhost[127.0.0.1]
Apr 12 14:11:54 h2776529 postfix/smtpd[6327]: 9B7E81C3A1F3D: client=localhost[127.0.0.1], sasl_method=CRAM-MD5, sasl_username=arjenbalfoort@mydomain.com
Apr 12 14:11:54 h2776529 postfix/cleanup[6331]: 9B7E81C3A1F3D: message-id=<20180412121154.9B7E81C3A1F3D@mydomain.com>
Apr 12 14:11:54 h2776529 check-quota[6334]: Starting the check-quota filter...
Apr 12 14:11:54 h2776529 /usr/lib/plesk-9.0/psa-pc-remote[482]: handlers_stderr: SKIP
Apr 12 14:11:54 h2776529 /usr/lib/plesk-9.0/psa-pc-remote[482]: SKIP during call 'check-quota' handler
Apr 12 14:11:54 h2776529 postfix/qmgr[4775]: 9B7E81C3A1F3D: from=<admin@mydomain.com>, size=759, nrcpt=1 (queue active)
Apr 12 14:11:54 h2776529 postfix/smtpd[6327]: disconnect from localhost[127.0.0.1]
Apr 12 14:11:54 h2776529 postfix-local[6336]: postfix-local: from=admin@mydomain.com, to=admin@mydomain.com, dirname=/var/qmail/mailnames
Apr 12 14:11:54 h2776529 dovecot: service=lda, user=admin@mydomain.com, ip=[]. msgid=<20180412121154.9B7E81C3A1F3D@mydomain.com>: saved mail to INBOX
Apr 12 14:11:54 h2776529 postfix/pipe[6335]: 9B7E81C3A1F3D: to=<admin@mydomain.com>, relay=plesk_virtual, delay=0.18, delays=0.09/0.01/0/0.08, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Apr 12 14:11:54 h2776529 postfix/qmgr[4775]: 9B7E81C3A1F3D: removed
The queue is empty and this line tells me that the message was sent:
Apr 12 14:11:54 h2776529 postfix/pipe[6335]: 9B7E81C3A1F3D: to=<admin@mydomain.com>, relay=plesk_virtual, delay=0.18, delays=0.09/0.01/0/0.08, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
All seems to be alright, but still, I don't receive that message.
I've disabled the firewall and I do not use a spam filter.
The correct IP addresses are in the "Trusted IP addresses" list and no IP addresses are banned in Fail2Ban.
Using an external SMTP server results in the same: message is sent, but is not received. So, what is holding the messages back if sent from Plone?
Any ideas?
On the server I checked whether the mail server was running:
sudo netstat -ntap | grep 25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1088/master
sudo telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 my_domain.nl ESMTP Postfix (Debian/GNU)
So, that looks okay.
I can use my SMTP server from my home and even on the server from the command line:
echo -e "From: admin@mydomain.com\nTo: admin@mydomain.com\nSubject: sendmail test\n\nThis is the body,\nwith multiple lines." | sendmail -t
However, when I try to send a test mail from Plone, the log files indicate that the message is sent. However, I never receive the message. There are no errors in /var/log/mail.err
This is the /var/log/maillog file:
Apr 12 14:11:54 h2776529 postfix/smtpd[6327]: connect from localhost[127.0.0.1]
Apr 12 14:11:54 h2776529 postfix/smtpd[6327]: 9B7E81C3A1F3D: client=localhost[127.0.0.1], sasl_method=CRAM-MD5, sasl_username=arjenbalfoort@mydomain.com
Apr 12 14:11:54 h2776529 postfix/cleanup[6331]: 9B7E81C3A1F3D: message-id=<20180412121154.9B7E81C3A1F3D@mydomain.com>
Apr 12 14:11:54 h2776529 check-quota[6334]: Starting the check-quota filter...
Apr 12 14:11:54 h2776529 /usr/lib/plesk-9.0/psa-pc-remote[482]: handlers_stderr: SKIP
Apr 12 14:11:54 h2776529 /usr/lib/plesk-9.0/psa-pc-remote[482]: SKIP during call 'check-quota' handler
Apr 12 14:11:54 h2776529 postfix/qmgr[4775]: 9B7E81C3A1F3D: from=<admin@mydomain.com>, size=759, nrcpt=1 (queue active)
Apr 12 14:11:54 h2776529 postfix/smtpd[6327]: disconnect from localhost[127.0.0.1]
Apr 12 14:11:54 h2776529 postfix-local[6336]: postfix-local: from=admin@mydomain.com, to=admin@mydomain.com, dirname=/var/qmail/mailnames
Apr 12 14:11:54 h2776529 dovecot: service=lda, user=admin@mydomain.com, ip=[]. msgid=<20180412121154.9B7E81C3A1F3D@mydomain.com>: saved mail to INBOX
Apr 12 14:11:54 h2776529 postfix/pipe[6335]: 9B7E81C3A1F3D: to=<admin@mydomain.com>, relay=plesk_virtual, delay=0.18, delays=0.09/0.01/0/0.08, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Apr 12 14:11:54 h2776529 postfix/qmgr[4775]: 9B7E81C3A1F3D: removed
The queue is empty and this line tells me that the message was sent:
Apr 12 14:11:54 h2776529 postfix/pipe[6335]: 9B7E81C3A1F3D: to=<admin@mydomain.com>, relay=plesk_virtual, delay=0.18, delays=0.09/0.01/0/0.08, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
All seems to be alright, but still, I don't receive that message.
I've disabled the firewall and I do not use a spam filter.
The correct IP addresses are in the "Trusted IP addresses" list and no IP addresses are banned in Fail2Ban.
Using an external SMTP server results in the same: message is sent, but is not received. So, what is holding the messages back if sent from Plone?
Any ideas?