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

Urgent: Need help with postfix mail delivery for local domains on external servers

M

mirage

Guest
It appears that any email entered on a webform, send to a user in that domain is in fact bounced and send to the bouce address.

In the CP, I have mail hosting disabled for these domains. But for some reason, the postfix configurations appears to consider these domains local and attempts to deliver mail on the same machine. Ergo, the mail fails and messages are bounced to the admin.

Question:
How do I get postfix to deliver mail for local domains which is hosted externally?

Thanks J
 
Thanks - but as I mentioned - I do have email turned off for these domains.

The fix was this (although it feels wrong to me):

While I had email turned off, I had set the catchall address. Switch that to reject, caused the messages to be delivered. Seems wrong.

I'd say that with email hosting turned 'on' + a catchall address should attempt to deliver to catchall or bounce. With email hosting turned off, nothing should be checked locally and all delivery handling should be deferred to the remote server identified by the MX's.

Cheers,
j
 
In case of mail service for domain is switched off the domain name should not persists in your virtual_domains
You can check it with postmap -s /var/spool/postfix/plesk/virtual_domains or postmap -s /var/lib/plesk/mail/postfix/virtual_domains depending on your OS. (see /etc/postfix/main.cf for exactly path)

If the domain name persists in virtual_domains, then postfix will treat it as "local"
 
In case of mail service for domain is switched off the domain name should not persists in your virtual_domains
You can check it with postmap -s /var/spool/postfix/plesk/virtual_domains or postmap -s /var/lib/plesk/mail/postfix/virtual_domains depending on your OS. (see /etc/postfix/main.cf for exactly path)

If the domain name persists in virtual_domains, then postfix will treat it as "local"


Hi,

Ok, and how to remove the domain from there in that case? The service is switched off and domain still in postmap!

Thanks.
 
Can't you just edit the file in question manually and remove the domains if needed from the file?
 
Back
Top