Hi,

Is it possible allow the use of special characters safely in the local part
of a email address.
We have a need to be able to accept emails that include special characters
like ! e.g. joe!b...@example.com

When trying to send a test mail on a test server I get 'Relay Access
denied'

```
postfix/smtpd[83186]: NOQUEUE: reject: RCPT from unknown[192.168.0.62]: 554
5.7.1 <joe!b...@example.com>: Relay access denied; from=<u...@test.com>
to=<joe!b...@example.com> proto=ESMTP helo=<example.com>

```

I found a old post from 2012 where some parameters were recommended but
with great risk. Even with these settings I could not get it to work and I
haven't found anything else as of yet.
http://postfix.1071664.n5.nabble.com/special-characters-in-mail-address-td47792.html

So far I have tried a couple of different configurations parameters but
nothing has worked.

I have been reviewing parameters smtpd_relay_restrictions and
smtpd_recipient_restrictions as these seem to be where it is getting
blocked using the option reject_unauth_destination.

main.cf
```
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_recipient_access
proxy:pgsql:/usr/local/etc/postfix/vrfy.cf, check_client_access
proxy:pgsql:/usr/local/etc/postfix/client_access_topten.cf,
check_recipient_access proxy:pgsql:/usr/local/etc/postfix/rbl_policy.cf
```

Does anyone have a tips or pointers on what I could do here.

postfix stable 3.5.9.

Regards,
Paul

Reply via email to