• 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!
  • 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.

Plesk doesn't received emails

Carlos González

New Pleskian
Hi everybody,

I have a virtual server with centOS 7 and Plesk 12.5.30 and I have a domain in Cloudflare connected to the server.
The server is a new installation. I created an email from my domain and accessed from webmail I can send but I cann't receive emails.

I executed "plesk repair mail" but it has not helped.

Please help me, I have read all google about this.... :'(

Cloudflare DNS configuration:

A myrealdomain.com points to 82.***.**.**
A mail.myrealdomain.com points to 82.***.**.**
A webmail.myrealdomain.com points to 82.***.**.**
CNAME www is an alias of myrealdomain.com
MX myrealdomain.com mail handled by mail.myrealdomain.com 10
TXT myrealdomain.com v=spf1 +a +mx -all +myrealdomain.com

My plesk log maillog results:

Log files: /usr/local/psa/var/log/maillog
Mar 29 19:24:21 localhost spamd[15722]: spamd: server pid: 15722
Mar 29 19:24:21 localhost spamd[15722]: spamd: server successfully spawned child process, pid 15723
Mar 29 19:24:21 localhost spamd[15722]: spamd: server successfully spawned child process, pid 15724
Mar 29 19:24:21 localhost spamd[15722]: prefork: child states: IS
Mar 29 19:24:21 localhost spamd[15722]: prefork: child states: II
Mar 29 19:24:27 localhost postfix/postfix-script[16142]: stopping the Postfix mail system
Mar 29 19:24:27 localhost postfix/master[14478]: terminating on signal 15
Mar 29 19:24:27 localhost postfix/postfix-script[16215]: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop
Mar 29 19:24:27 localhost postfix/postfix-script[16222]: starting the Postfix mail system
Mar 29 19:24:27 localhost postfix/master[16224]: daemon started -- version 2.10.1, configuration /etc/postfix
Mar 29 19:24:28 localhost postfix/postfix-script[16239]: stopping the Postfix mail system
Mar 29 19:24:28 localhost postfix/master[16224]: terminating on signal 15
Mar 29 19:24:29 localhost postfix/postfix-script[16311]: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop
Mar 29 19:24:29 localhost postfix/postfix-script[16318]: starting the Postfix mail system
Mar 29 19:24:29 localhost postfix/master[16320]: daemon started -- version 2.10.1, configuration /etc/postfix
Mar 29 19:24:30 localhost dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Mar 29 19:24:30 localhost dovecot: anvil: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Mar 29 19:24:30 localhost dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Mar 29 19:24:30 localhost dovecot: master: Dovecot v2.2.18 starting up for imap, pop3, sieve (core dumps disabled)
Mar 29 19:24:32 localhost /usr/lib64/plesk-9.0/psa-pc-remote[14174]: PleskFilter: mi_stop=1
 
Hi Carlos González,

please check again your errors in your log:

Mar 29 19:24:27 localhost postfix/master[16224]: daemon started -- version 2.10.1, configuration /etc/postfix
Mar 29 19:24:28 localhost postfix/postfix-script[16239]: stopping the Postfix mail system
Mar 29 19:24:28 localhost postfix/master[16224]: terminating on signal 15
Mar 29 19:24:29 localhost postfix/postfix-script[16311]: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop

As you can see, postfix replies with errors during the start, which will result in a non-working state for postfix ( which you can as well check with "service postfix status" or "ps aux | grep postfix" over your command line ).


To solve your issues, you may start with the Plesk Repair Utility, as for example with the option - string "--mail"

Plesk Repair Utility ( Plesk online documentation for Plesk 12.5 )

Possible command over your command line:

plesk repair mail
 
Hi UFHH01,

My results for service postfix status is

------------------------------
Redirecting to /bin/systemctl status postfix.service
postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: active (running) since mié 2016-03-30 08:01:08 UTC; 3min 22s ago
Process: 3310 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
Process: 3328 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 3325 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 3323 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 3401 (master)
CGroup: /system.slice/postfix.service
├─3401 /usr/libexec/postfix/master -w
├─3402 pickup -l -t fifo -u
└─3403 qmgr -l -t fifo -u

mar 30 08:01:07 localhost.localdomain systemd[1]: Starting Postfix Mail Transport Agent...
mar 30 08:01:08 localhost.localdomain postfix/master[3401]: daemon started -- version 2.10.1, configuration /etc/postfix
mar 30 08:01:08 localhost.localdomain systemd[1]: Started Postfix Mail Transport Agent.

------------------------------

Like I said yesterday,

I executed "plesk repair mail" but it has not helped.

If you need any information or log more, please ask. I have not found this situation never and I not be advance. :(

Thank you very much for the help.
 
Hi Carlos González,

please try to solve your issue with the command:

postfix set-permissions

... over your command line ( as root ).

If you still experience issues, please include your *.cf - files from "/etc/postfix/" and the latest mail.log for further investigations. :)
 
Hi Carlos González,

please consider to let Plesk completely configure your mail-server with standard configuration files from Plesk. To start that, you could use the commands:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component qmail

mv /etc/postfix /etc/postfix.backup
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component postfix

This will remove postfix first and install qmail and to be sure, that there are no leftovers, you will rename "/etc/postfix" to "/etc/postfix.backup".
Afterwards, qmail gets removed and postfix will be installed.


To be sure, that your procedure was successfull and Plesk is up-to-date, you could as well use the additional command:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base


Please test again now your new configuration with another test-eMail and report back, how the suggestion worked out for you.


If you experience further issues, then this might be as well the cause of your DNS - settings:

Reverse IP results for 82.XXX.XX.XX
==============

There are 0 domains hosted on this server.

Consider to start first with a standard configuration, with all services and Plesk modifications, complete IP settings, complete DNS - settings, complete domain settings, complete webserver modifications ( apache and possibly nginx?!? ), complete PHP - settings, etc., before you move on with the Cloudflare modifications. Only IF EVERYTHING works as expected in the standard configuration, you would move on with the Cloudflare modifications. With this procedure, you can investigate possible issues much better and faster.
 
I have this same exact problem, on two different servers, both of them brand-new cloudservers with clean installs. Mail only comes in from localhost, but never from outside. Outgoing mail works well from webmail, however.

I tried the suggested fix, and Plesk never created a new /etc/postfix so now, I am still not getting mail, and there are no mail server settings available from the control panel. Even when I repeated the procedure there.

Running "plesk repair mail" does not help. It says "[FAILED] - mchk failed:"

This is a headache. But I am surprised that a lot of others do not have this problem?
 
Back
Top