Mail from Plesk services are sent with a wrong sender domain

Created:

2016-11-16 13:20:55 UTC

Modified:

2017-04-24 11:38:30 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Mail from Plesk services are sent with a wrong sender domain

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  1. Email notifications from Plesk services (Backupmanager, Cronmanager, Wordpress Updatemanager etc.) are sent with a wrong sender.

    In Tools & Settings > Mail Server Settings > Mail Queue sender is shown as:

    "MAILER-DAEMON@root"@example-domain (Mail Delivery System)
  2. OS is Ubuntu or Debian

Cause

File /etc/mailname does not contain FQDN:

# cat /etc/mailname
example-domain

Resolution

  1. Add fully qualified domain name (FQDN) to /etc/mailname :

    # hostname --fqdn > /etc/mailname
  2. Restart Postfix:

    # service postfix restart

NOTE: /etc/mailname is a Debian specific modification. Use the link for your reference.

Have more questions? Submit a request
Please sign in to leave a comment.