Mails bounce because of invalid character ('@') in username

Posted by user1598585 on Server Fault See other posts from Server Fault or by user1598585
Published on 2013-07-03T16:25:05Z Indexed on 2013/07/03 17:07 UTC
Read the original article Hit count: 358

Filed under:
|

I have a working exim setup with virtual users, working alright, except for when I try to send email to certain servers. These servers reject my emails because of #5.1.3 Invalid character ('@') in username.

The offending header parts seem to be:

Return-path: <"[email protected]"@smtp.example.com>

and

...(envelope-from <"[email protected]"@smtp.example.com>)...

The problem is that I cannot find where and why the usernames are being generated like this.

My router for submission is:

dnslookup:
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
  no_more

And the respective transport:

remote_smtp:
  driver = smtp

What can be producing this problem?

© Server Fault or respective owner

Related posts about smtp

Related posts about exim