Mail aliases do not work because of receive_override_options parameter

Created:

2016-11-16 13:03:33 UTC

Modified:

2017-04-24 11:58:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Mail aliases do not work because of receive_override_options parameter

Applicable to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 10.0.0 for Linux
  • Plesk 10.2 for Linux

Symptoms

In Parallels Plesk mail sent to an alias is not received.

In ' /usr/local/psa/var/log/maillog ':

Oct 10 01:27:47 panel postfix-local[4462]: postfix-local: from=test@domain.tld, to=alias@domain.tld, dirname=/var/qmail/mailnames
Oct 10 01:27:48 panel postfix/smtpd[32575]: disconnect from domain2.tld[91.204.25.4]
Oct 10 01:27:48 panel postfix-local[4462]: cannot chdir to mailname dir alias: No such file or directory
Oct 10 01:27:48 panel postfix-local[4462]: Unknown user: alias@domain.tld

Cause

master.cf or main.cf config files contain 'receive_override_options' string.

The 'receive_override_options' line disables address manipulation before the content filter, so that the content filter sees the original mail addresses instead of the result of virtual alias expansion, canonical mapping, automatic bcc, address masquerading, etc.

Resolution

Comment the line containg 'receive_override_options' string in /etc/postfix/master.cf or /etc/postfix/main.cf

grep receive_override_options /etc/postfix/main.cf
#receive_override_options = no_address_mappings

Restart postfix:

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