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

Resolved Migrated website to Plesk, now need mail functionality (sendmail?) to work!

jva

New Pleskian
Hi guys,

I'm running a Plesk 12.5 server for Linux. It's pretty much default from the combined Linux + Plesk installation.

Right now we've migrated a PHP based website from a dedicated Linux server to Plesk. All is working fine except for email functionality. This will be the first site hosted which actually has email functionality on our Plesk server!

The website is based on PHP and the person who made it tells me this uses sendmail by default.

What steps do I need to take for this domain to be able to send out emails?

I already tried adding our internal mailserver as a relay server within /etc/postfix/main.cf but this did nothing and I'm also unsure if this is the way to go. I do think that somewhere I need to set our actual (Exchange) mailserver as a relay.

Hopefully someone can send me into the right direction. Thanks in advance guys/gals!
 
It is not possible to use sendmail by calling it directly through the sendmail path and file name, because the user is jailed into his own web space. Instead, the user must either send Mail through SMTP or by PHP mail() function.
 
A common error relates to contact forms and other emails from websites. If the website is hosted on the server but the email for the domain is hosted elsewhere, you need to disable the mail service for the domain. Otherwise any emails to addresses on that domain will just be delivered locally, not to the real mailbox.

There are loads of reasons emails might not get sent. Assuming there are no errors on the website you'll need to check the maillog to see what happened. Usually just /var/log/maillog.
 
Back
Top