Mails to addresses that contain ampersand will not be delivered locally to dovecot

Created:

2016-11-16 12:59:56 UTC

Modified:

2017-04-24 12:00:51 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Mails to addresses that contain ampersand will not be delivered locally to dovecot

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Dovecot cannot handle mail accounts with name containing "&". Maillog contains the following message

srv-host postfix/pipe[25339]: 9952F11F8910: to=<amp&test@domain.tld>, relay=plesk_virtual, delay=8421, delays=8420/0.07/0/0.21, dsn=4.2.1, status=deferred (Message can not be delivered at this time )

Cause

This is a software issue with internal ID #PPPM-3065 and it will be fixed in further Plesk updates.
& (ampersand) is absent in list of allowed characters in auth_username_chars

Resolution

Create custom config file in /etc/dovecot/conf.d/ with the following content:

auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@'&
Have more questions? Submit a request
Please sign in to leave a comment.