• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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