Re: [exim] 550 Restricted characters in address

Góra strony
Delete this message
Reply to this message
Autor: Marc Haber
Data:  
Dla: exim-users
Temat: Re: [exim] 550 Restricted characters in address
On Fri, 10 Jul 2015 06:18:10 +0000, "Managed Pvt nets"
<mpn@???> wrote:
>I hope someone can point me in the right direction. I am totally new to
>Exim and need some help. I am using Exim 4.85 sitting on a FreeBSD 10.1,
>and my problem occurs on sending mail, I do not seem to be able to send
>mail after a successful authentication as follows. What am I missing? I
>have attached my logs and tests below:
>
>===
>2015-07-08 14:57:09 1ZCouT-0000CM-A9 <=
>"mailto:myaddress@mydomain.com%22@???
>H=([127.0.0.1]) [555.555.555.555] P=esmtpsa X=TLSv1:AES256-SHA:256
>A=plain_login:myaddress@??? S=1777
>id=em76ffc817-ad6b-4c73-8c0a-1b292e64d689@jagged T="SSL test"
>2015-07-08 14:57:10 1ZCouT-0000CM-A9 ** mntini@???
>R=send_to_gateway T=remote_smtp H=smtp2.mydomain.com [666.666.666.666]:
>SMTP error from remote mail server after RCPT TO:<mntini@???>:
>550-Verification failed for
><"mailto:myaddress@mydomain.com%22@???%3E\n550-Unrouteable
>address\n550 Sender verify failed
>2015-07-08 14:57:10 1ZCouU-0000CQ-2c <= <> R=1ZCouT-0000CM-A9 U=mailnull
>P=local S=2885 T="Mail delivery failed: returning message to sender"
>2015-07-08 14:57:10 1ZCouT-0000CM-A9 Completed
>2015-07-08 14:57:10 1ZCouU-0000CQ-2c **
>myaddress@???@myhostname.mydomain.com
><"mailto:myaddress@mydomain.com%22@???>
>R=send_to_gateway T=remote_smtp H=smtp2.mydomain.com [666.666.666.666]:
>SMTP error from remote mail server after RCPT
>TO:<"mailto:myaddress@mydomain.com%22@???>: 550
>Restricted characters in address
>2015-07-08 14:57:10 1ZCouU-0000CQ-2c Frozen (delivery error message)


The Software you are using is using
"mailto:myaddress@mydomain.com%22@??? (including
the opening, but no closing quote) as a sender address.

Exim rightfully refuses that.

To verify that it's actually your MUA software, you can try sending a
test message using swaks or manual SMTP on a telnet session:

>
>
>exim -bh 127.0.0.1
>
>**** SMTP testing session as if from host 127.0.0.1
>**** but without any ident (RFC 1413) callback.
>**** This is not for real!
>
> >>> host in hosts_connection_nolog? no (option unset)
> >>> host in host_lookup? yes (matched "*")
> >>> looking up host name for 127.0.0.1
> >>> IP address lookup yielded localhost.mydomain.com
> >>> gethostbyname2 looked up these IP addresses:
> >>> name=localhost.mydomain.com address=127.0.0.1
> >>> checking addresses for localhost.mydomain.com
> >>> 127.0.0.1 OK
> >>> host in host_reject_connection? no (option unset)
> >>> host in sender_unqualified_hosts? no (option unset)
> >>> host in recipient_unqualified_hosts? no (option unset)
> >>> host in helo_verify_hosts? no (option unset)
> >>> host in helo_try_verify_hosts? no (option unset)
> >>> host in helo_accept_junk_hosts? no (option unset)
>220 myhostname.mydomain.com ESMTP Exim 4.85 Thu, 08 Jul 2015 16:29:03
>+0200
>ehlo me
> >>> host in pipelining_advertise_hosts? yes (matched "*")
> >>> host in auth_advertise_hosts? yes (matched "*")
> >>> 127.0.0.1 in "@[]"? yes (matched "@[]")
> >>> 127.0.0.1 in "@[]"? yes (matched "@[]")
> >>> host in tls_advertise_hosts? yes (matched "*")
>250-myhostname.mydomain.com Hello localhost.mydomain.com [127.0.0.1]
>250-SIZE 52428800
>250-8BITMIME
>250-PIPELINING
>250-AUTH PLAIN LOGIN CRAM-MD5
>250-STARTTLS
>250 HELP
>quit
>221 myhostname.mydomain.com closing connection
>===


MAIL FROM:<myaddess@???>
RCPT TO:<mntini@???>
DATA
.

And, please do not obfuscate. Having to figure out whether an obvious
error was added during obfuscation or whether one is looking at the
actual issue makes things so much harder for people trying to help.

Greetings
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834