• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Plesk doesn't let out my mails to my email client!?

I have a wordpress 5.2. My wordpress was not sending mails anymore.

I had to open port 25 on my Ionos VPS server.

Now my visitors recevie my notification mails when they fill my ninjaforms.

But my admin doesn't receive anymore any notification mails.

I contacted ionos and they don't provide service of maintenance of my VPS. The support guy told me to check the log file.

So I open /var/log/maillog where I can see the log of notification mails. I made a test with a gmail account. I can see it in log file and this gmail account received successfully the notification mail from my wordpress Ninja plugin, but NOT ADMIN! So I ssh my server and display the log file:

Oct 24 08:42:00 localhost check-quota[64577]: Starting the check-quota filter...
Oct 24 08:42:00 localhost plesk sendmail[64576]: handlers_stderr: SKIP
Oct 24 08:42:00 localhost plesk sendmail[64576]: SKIP during call 'check-quota' handler
Oct 24 08:42:00 localhost postfix/pickup[62410]: 95E1343B59: uid=10000 from=<[email protected]>
Oct 24 08:42:00 localhost postfix/cleanup[64582]: 95E1343B59: message-id=<[email protected]>
Oct 24 08:42:00 localhost postfix/qmgr[103632]: 95E1343B59: from=<[email protected]>, size=3965, nrcpt=1 (queue active)
Oct 24 08:42:01 localhost postfix/smtp[64586]: 95E1343B59: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[66.102.1.26]:25, delay=0.61, delays=0.02/0.01/0.29/0.29, dsn=2.0.0, status=sent (250 2.0.0 OK 1571906521 k1si21435781wrl.300 - gsmtp)
Oct 24 08:42:01 localhost postfix/qmgr[103632]: 95E1343B59: removed
Oct 24 08:47:21 localhost check-quota[64685]: Starting the check-quota filter...
Oct 24 08:47:21 localhost plesk sendmail[64684]: handlers_stderr: SKIP
Oct 24 08:47:21 localhost plesk sendmail[64684]: SKIP during call 'check-quota' handler
Oct 24 08:47:21 localhost postfix/pickup[64676]: 6EFE343B59: uid=10000 from=<[email protected]>
Oct 24 08:47:21 localhost postfix/cleanup[64689]: 6EFE343B59: message-id=<[email protected]>
Oct 24 08:47:21 localhost postfix/qmgr[103632]: 6EFE343B59: from=<[email protected]>, size=1409, nrcpt=1 (queue active)
Oct 24 08:47:21 localhost postfix-local[64696]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames
Oct 24 08:47:21 localhost check-quota[64699]: Starting the check-quota filter...
Oct 24 08:47:21 localhost plesk sendmail[64698]: handlers_stderr: SKIP
Oct 24 08:47:21 localhost plesk sendmail[64698]: SKIP during call 'check-quota' handler
Oct 24 08:47:21 localhost postfix/pickup[64676]: 7DABA43BA9: uid=10000 from=<[email protected]>
Oct 24 08:47:21 localhost postfix/cleanup[64689]: 7DABA43BA9: message-id=<[email protected]>
Oct 24 08:47:21 localhost postfix/qmgr[103632]: 7DABA43BA9: from=<[email protected]>, size=3965, nrcpt=1 (queue active)
Oct 24 08:47:21 localhost dovecot: service=lda, [email protected], ip=[]. msgid=<[email protected]>: saved mail to INBOX
Oct 24 08:47:21 localhost postfix-local[64696]: process '/usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"' stderr : doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
Oct 24 08:47:21 localhost postfix/pipe[64695]: 6EFE343B59: to=<[email protected]>, relay=plesk_virtual, delay=0.11, delays=0.03/0.01/0/0.08, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Oct 24 08:47:21 localhost postfix/qmgr[103632]: 6EFE343B59: removed
Oct 24 08:47:22 localhost postfix/smtp[64711]: 7DABA43BA9: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[66.102.1.27]:25, delay=0.61, delays=0.01/0.01/0.33/0.26, dsn=2.0.0, status=sent (250 2.0.0 OK 1571906842 c4si22214890wre.27 - gsmtp)
Oct 24 08:47:22 localhost postfix/qmgr[103632]: 7DABA43BA9: removed`
Maybe I am wrong, but I can see the log of the mail sent to admin has "status=sent (delivered via plesk_virtual service)" whereas the log of mail sent to gmail doesn't have this.

Does someone can help me to identify source of issue?

I searched here and on google, but it all give some solution for general problem of sending mail; not this particular case when admin only doesn't receive mail.

PS: Admin@ can send and receive mail outside of wordpress. It is only when the sendmail function from wordpress want to send a mail. It is forwarding the order to the server which is managed by plesk on ubuntu server.

So I phoned Ionos support again, and he explained me that the server doesn't send outside the mail. It means server keep the mail inside itself as email address of destinary if in the server (no need to go outside). That is why the log said "status=sent (delivered via plesk_virtual service)". So that is why my email client can't download these notification mails.

So now the real question is "How to say to plesk to let mails going outside in order to let my email client receiving the mails."?

Thanks in advance for your help.
 
Hi,

I had a similar problem weeks ago. All my emails of my domains' alias were being sent locally by Plesk (delivered via plesk_virtual service)
So I commented the lines which started with "virtual" in /etc/postfix/main.cf and then, restart Postfix

Hope it helps!
 
Uh... guys, there is no need to do that to your mail config. Please don't!

The "status=sent (delivered via plesk_virtual service)" entry simply means that the recipient address is located on the same server as the mail is being sent from. Consequently, it is delivered locally and not sent out, as it would be if sent to a e.g. Gmail address.

Now, your mail server might be misconfigured to think that the recipient address is local while in fact it isn't. Is that so? Where is the recipient mailbox supposed to be located, on the same server or somewhere else?

If the mail is elsewhere while the web page is hosted on your Plesk server, all you need to do is to disable the mail service for the domain in your Plesk control panel.
 
Thanks a lot for your help.

The email admin@ is located on same server than my website. When I go on plesk in order to open roundcube, I can see the notification mails.
The problem is my email client on my smartphone, on my computer, on my laptop need to download these mails to notify me.
But the server doesn't let out the mails. They stays inside server and that iw why I can read them directly on server through Roundcube.

I did comment the virtual stuff but I don't get any success.

So this is very weird to have such difficulty to make a server letting go out the mails to the authentificated email clients.
I mean, that is the first thing you configure when you add an email address on server. Noone go to the mainframe rooms to login on server in order to read their mails!?

Someone has a license key and can ask the support to help please? It is a kind of main important feature for a server.

You can see below screenshots of my mail configuration in plesk.


open

outgoingmailcontrol.jpg
configmailplesk.jpg

the logs:
Screenshot

You can see here my firewall Ionos which open the correct ports:
Screenshot


Thanks again for your help
 
Back
Top