URGENT - Router mail to external server

gdp01

Verified User
Joined
Oct 7, 2019
Messages
17
Hi, I have a client that uses Office 365, and I need to route the output of a single address from a user to the Office 365 server.

I have this configuration in EXIM

static_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
route_data = ${lookup{$domain}lsearch{/etc/virtual/staticroutes}}


In /etc/virtual/staticroutes


info@DOMAINXXX.net: externalXXX.server.com
 

gdp01

Verified User
Joined
Oct 7, 2019
Messages
17
Hi zEitEr, that option is already disabled and changed the MX, but I received an error when the account that is external in Office, tries to send an email to the local account of the server received SMTP error.

550 5.0.350 Remote server returned an error -> 550 authentication required

info@XXXX.net -> OFFICE 365
logistica@XXXX.net - SERVER DIRECTADMIN
 
Top