I am trying to send an email to a recipient with an email address starting with a hyphen/dash, e.g. [email protected]
The recipient claims the mail address is correct.
mail.log shows:
postfix/smtpd[26055]: warning: Illegal address syntax from ...[...] in RCPT command: <[email protected]>
I am using Postfix 2.11.3
Any idea how I can send emails to such an address?
You can configure Postfix to accept such addresses with option
allow_min_user = yes
.The postconf documentation also explains why the default is to reject such addresses:
Apparently, postfix has a setting (allow_min_user) prohibiting you from sending mail to addresses starting with a hyphen due to security reasons:
More here: http://www.postfix.org/postconf.5.html#allow_min_user