Page 1 of 1

Exim4 and "550 smtp auth required" error

Posted: Wed Apr 13, 2016 12:23 pm
by Spheerys
Hi,

My serveur manage the domain domain.com

A desktop user which running Thunderbird, is using the SMTP of his ISP (he don't using the server's smtp for some pertinent reasons).
The SMTP outgoing server is authentified by SSL, on 587 port.

When the user, owner of the mailbox [email protected], send a email to anybody, it's working without problem.
But if [email protected] try to send a message to [email protected], it received an error message like this :

Code: Select all

        This is the mail system at host slow1-d.mail.gandi.net.
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients.
    
                      The mail system
    
    <[email protected]>: host domain.com[213.xxx.xxx.xxx] said: 550
    smtp auth requried
Yes, the writing error is real on "requried" ;)

And on exim4 log I have this :

Code: Select all

    2016-04-13 12:06:42 H=slow1-d.mail.gandi.net [217.xxx.xxx.xxx] F=<[email protected]> rejected RCPT <[email protected]>: smtp auth requried
What's going wrong ?

Re: Exim4 and "550 smtp auth required" error

Posted: Wed Apr 13, 2016 3:13 pm
by Spheerys
OK I have found the cause : Exim restrict submission from own domain to hosted domains.
But how can I change this setting on the exim4 template ?

Re: Exim4 and "550 smtp auth required" error

Posted: Wed Apr 13, 2016 7:06 pm
by Spheerys

Re: Exim4 and "550 smtp auth required" error

Posted: Fri Apr 15, 2016 7:26 am
by Sanity
hi, I have no such problems that you have, do you want me to send my file exim4.conf.template? and testing?

Re: Exim4 and "550 smtp auth required" error

Posted: Tue May 24, 2016 7:14 pm
by skurudo
That all because of the next ACL rule:

Code: Select all

deny message = smtp auth requried
     sender_domains = +local_domains
     !authenticated = *
But you can't disable it because your MX become an open relay for every message sent from your domain. The best solution is to submit directly from client to the MX. While port 25 can be blocked by ISP ports 465 and 587 sould be opened for SMTPS/SMA. You have to configure clients properly. (c) http://serverfault.com/questions/770016 ... ired-error