• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Disabled Plesk mail and Specify External Mail Server

Chris_Lemmer

New Pleskian
Hi there,

I have disabled my Plesk mail and specified an external SMTP mail server for Plesk. I am using Microsoft office 365 for the mail. However, I can see that the mail isn't working. Please see this log entry:

Nov 28 03:24:48 panel01 msmtp: host=smtp.office365.com tls=on auth=on user=[My Office 365 User] from=root@[My Plesk URL] recipients=[My E-Mail] smtpstatus=550 smtpmsg='550 5.7.60 SMTP; Client does not have permissions to send as this sender' errormsg='the server did not accept the mail' exitcode=EX_UNAVAILABLE

From what I can see, Plesk is trying to relay the mail as root@[My Plesk URL] and not [My Office 365 User].

So Microsoft is blocking this. How can I tell Plesk to relay the mails from another "FROM" address?

Thanks
Chris
 
Exact same issue here.

I just set up Office 365 in the External SMTP Server configuration, and tried to send a mass email for testing (just to the Admin address), but it doesn't work.
When I use my own (external) mailserver, it does work, and I see the following log on the mailserver:

Code:
[2015.11.29] 16:03:52 [19213] CMD: MAIL FROM:<psaadm@[My Plesk URL]> SIZE=581
[2015.11.29] 16:03:52 [19213] RSP: 250 2.1.0 Sender OK
[2015.11.29] 16:03:52 [19213] CMD: RCPT TO:<[ADMIN EMAIL]>
[2015.11.29] 16:03:52 [19213] RSP: 250 2.1.5 Recipient OK

So, although I enter a specific email address from which the email should be sent (the administrator's email address), Plesk uses the psaadm@[My Plesk URL] address to send the email!

plesk.png

This is of course not working with Office 365, because the service only allows you to send from email addresses that are specifically created there.

Running Plesk 12.5.30 Update #12 on CentOS 7.1.1503.
 
Back
Top