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

Question Administrator Emails of Plesk via SMTP

Hi,

is there a chance to let Plesk sent administrator (backup finished, ssl certificates renewed, etc.) emails via smtp (postfix) instead of sendmail? Because I deactivated sendmail completely on my server to prevent spam.

Sincerely
Maximilian Füsslin
 
Sendmail should be a symlink to Postfix....

[root@plesk ~]# ls -la /usr/sbin/sendmail
lrwxrwxrwx. 1 root root 21 Feb 26 19:24 /usr/sbin/sendmail -> /etc/alternatives/mta
[root@plesk ~]# ls -la /etc/alternatives/mta
lrwxrwxrwx. 1 root root 45 Feb 26 19:24 /etc/alternatives/mta -> /usr/lib64/plesk-9.0/postfix-sendmail-wrapper
 
I think the user's question is whether it is possible to send mail via an external SMTP service by SMTP authentication.

I think that the correct solution can be found here:
Using Plesk Without the Mail Server
Thank you. Yes, I want to configure PLESK to use an smtp server. But I also want to use postfix as smtp server not only the relay mentioned in the provided documentation section.

To be precise:
  • I want to have postfix with mailboxes on my server.
  • I do not want to let anything (scripts, PLESK, other programs) use sendmail (sending emails) without authentication
  • Therefore I need to configure PLESK to use a configured mailbox on my server with user/password auth (as it would be if I would use an external smtp server)
  • Alternatively, is there a way to only grant PLESK access to sendmail and prohibit all other programs / scripts etc. on the server to use sendmail?
In my PLESK I have no options to configure either service plans nor subscriptions. I can only disable it serverwide (I think thats related to my PLESK license).
 
I do not know whether Plesk recognizes a Postfix installation on the server if it was not done through the Plesk installation routine. It could be possible to have an SMTP server on the machine that is installed separately from Plesk, but I am not sure whether Plesk does not auto-detect it.
 
I do not know whether Plesk recognizes a Postfix installation on the server if it was not done through the Plesk installation routine. It could be possible to have an SMTP server on the machine that is installed separately from Plesk, but I am not sure whether Plesk does not auto-detect it.
Postfix was installed via PLESK. The question is how PLESK can use the via PLESK installed postfix with SMTP auth for sending emails as I deactivated sendmail completely. It would be the same case as if I would use an external SMTP server for sending ONLY PLESK mails and use the local (via PLESK installed postfix) to send emails from configured mailboxes.
 
Plesk does not show you the SMTP relay configuration page when it knows that a local SMTP server is available. For that reason the first step to let Plesk know that there is not local SMTP available is to deinstall Postfix that comes with Plesk. You can then try to install an SMTP server (Postfix or any other) by your own on tghe Linux console and hope hat Plesk does not detect it.
 
Back
Top