• 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 Emails sent locally even though MX is offsite and mail disabled, but no errors, where is the email?

Laurence Cope

New Pleskian
I have a new Plesk server, added a website, all OK.

I disabled the mail service for the domain because the mail is offsite, we dont use email.

Customer reports they are not getting any email.

The logs show this:
Jun 26 14:24:36 s1 postfix/pickup[66350]: 6F6D01A1256: uid=10002 from=<[email protected]>
Jun 26 14:24:36 s1 postfix/cleanup[66321]: 6F6D01A1256: message-id=<[email protected]>
Jun 26 14:24:36 s1 postfix/qmgr[739]: 6F6D01A1256: from=<[email protected]>, size=716, nrcpt=1 (queue active)
Jun 26 14:24:36 s1 postfix/pipe[66406]: 6F6D01A1256: to=<[email protected]>, relay=plesk_virtual, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Jun 26 14:24:36 s1 postfix/qmgr[739]: 6F6D01A1256: removed

After some research I found out I should comment out the following lines in the /etc/postfix/main.cf file. I did this now it works OK.

#virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
#virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
#virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox


You can imagine I am quite surprised by the need to do this. Does anyone know what is going on here, why should I need to do this, and are the emails stored locally as there is no error message in the log saying the user does not exist or anything.
 
In the stock Plesk install, mail for a given domain will first attempt a local delivery regardless of where your mail is located unless it's deactivated. In your case you shouldn't need to modify the /etc/postfix/main.cf to get mail to properly deliver to MX records outside of your domain name. You can deactivate email services at a domain level via the Plesk GUI without modifying the postfix conf file.
 
If email service is disabled for a domain and email is not resolving outbound then that would suggest some kind of routing/network misconfiguration which isn't allowing outbound email to resolve correctly.

I just disable email service and outbound email resolves correctly on my servers.
 
Hi,

go into the dns settings of the domain and check whats there.
If DNS is enabled for that domain, make sure the MX entry points to the correct (external) mail server.
If DNS is disabled, make sure you have the correct name servers configured.

Hope it helps,
Tom
 
DNS is all correct, mail is disabled. I have been doing this for 12 years so its all setup correct. First time using Plesk though so this happens. As stated, the only way to fix was modify the config files.
 
Back
Top