Exim and Office 365 error 550

ajnv15

New member
Joined
Nov 17, 2015
Messages
5
Hi, i´m new in this world of email administration and i've to configure a connector in office 365 to my local server, i've done everithing with the MX records and connectors, but if a i send a email from hotmail or any other domain to an acount in my local server give me this error "Remote Server returned '550 authentication required'" i think is some kind of permition or miss configuration on my exim.conf file, any one has succeded with the integration of office 365 and exim?
 
You really need to give more details about how the domain is configured on your server. When you set the MX records did you uncheck the box that says "Use this server to handle my emails.
If not, change the MX record and uncheck this option"?
 
yes i uncheck that box, i want to office 365 handle my email, i already write the values that office 365 needs, and if a send an email from my local server (roundcube) the email arrive to my box in outlook (web) but not if i do it the other way (outlook->roundcube) and shows me the error "550 authentication required", and in the details

authentication-results: prybe.coop; dkim=none (message not signed)
header.d=none;prybe.coop; dmarc=none action=none


so i guess is a configuration in the exim.conf file, should i disable the smtp authentication? or what can i do?

thanks!!
 
If you have changed your MX records to point to the Outlook servers and unchecked that box, then the only time your exim is in play, is when you are sending an email from your server (i.e. roundcube). If you send an email from any other server on the internet, that server will lookup the MX record associated with the domain and communicate directly with that server. So your exim is not involved. That being said, it sounds like your Exchange (Office 365) settings are not correct for that domain, and for that I can't really help (not a fan at all of Exchange).
 
Me neither but here in my job love it, ok thanks for the help, i will look after that configuration, office 365 has an option for configure connectors, but i have tried this and no look, still with the smtp authentication trouble, any suggestion?
 
i was doing some research and i think i got the problem, when an email arrive to my exim, an ACL is the one that does not let it pass, but i don't know how to solve it.


# accept if message comes for a host for which we are an outgoing relay
# recipient verification is omitted because many MUA clients don't cope
# well with SMTP error responses. If you are actually relaying from MTAs
# then you should probably add recipient verify here

accept hosts = +relay_hosts
accept hosts = +auth_relay_hosts
accept hosts = *
endpass
message = Authentication required //!! this is the message that i got as error message
authenticated = *
deny message = relay not permitted
 
If your MX records were set properly, no email for that domain should ever hit your exim server. It should go directly to the Exchange server.

Unless you are then trying to have Exchange forward/relay the email to your exim server. In that case you have 2 choices, either add the IP addresses of the Exchange server(s) to your relay_hosts or configure your Exchange server to authenticate.
 
Last edited:
Ok that do it, thanks for the help!! one last question, in that file can i add a asterisk to include all the domains? because it's rejecting me mails from hotmail, gmail, etc.
 
Back
Top