• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Issue Mail not deliverd when sent locally

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: [email protected]\nTo: [email protected]\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, [email protected]
Apr 12 14:11:54 h2776529 postfix/cleanup[6331]: 9B7E81C3A1F3D: message-id=<[email protected]>
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=<[email protected]>, 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: [email protected], [email protected], dirname=/var/qmail/mailnames
Apr 12 14:11:54 h2776529 dovecot: service=lda, [email protected], ip=[]. msgid=<[email protected]>: saved mail to INBOX
Apr 12 14:11:54 h2776529 postfix/pipe[6335]: 9B7E81C3A1F3D: to=<[email protected]>, 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=<[email protected]>, 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?
 
I think there's something wrong in Plone, not the server configuration:
  • Cron jobs deliver reports to the correct address.
  • This morning I received a "Package Update Manager notification" from Plesk.
  • I've recreated the web forms in Plone with a minimum of configuration and they now function.
  • From Plone I cannot send a test email to test the SMTP server settings.
I don’t understand why it doesn’t function but it has no consequence for what I need: I can send and receive e-mails on the new domain and the web form is functioning as expected.

Thanks for your help!
 
Last edited:
Back
Top