Office 365 connectors

joeybuddenberg

New member
Joined
Sep 24, 2016
Messages
3
Hi all,


I'm stuck with getting the office365 connectors to work so I can use office365 mailboxes and POP mail together on one domain.

The pointer from the server to office365 works. The pointer from office365 to the servers does not work.

Well half of it works. It gets authenticated by office365, but a test email can't be delivered. I don't know where to go for the right settings. Tried all kind of options on different levels but no luck so far.

Anyone got any experience with this?

Joey
 
Hello Joey,

Kindly provide a real domain name and all the error you get there so that we could check it. Without more details on your setup hardly can we help you.

If you don't won't to share your details in public then you'd might consider hiring somebody to complete the setup. There are guys on the forums including me who makes their living by offering professional Linux support services.
 
Hi Alex,

Thanks for your reply. The reason why I did not included any error messages in the first place is because I thought I would not be the only one making use of these possibilites.

This is the error:

Timestamp:28-9-2016 19:22:50
EventId:RECEIVE
Source:SMTP
MessageSubject:Test email for connector validation
MessageId:<3ecfa61a-c3fc-4596-8bca-ec2ca2ffa0a2@DB4PR03MB523.eurprd03.prod.outlook.com>
Recipients:[email protected]
RecipientCount:1
RecipientStatus:
SourceContext:08D3E35C5D23D955;2016-09-28T19:22:50.061Z;0
Sender:[email protected]
EventData:FirstForestHop:DB4PR03MB523.eurprd03.prod.outlook.com, DeliveryPriority:Normal, OriginalFromAddress:<>, AccountForest:EURPR03A001.prod.outlook.com


Timestamp:28-9-2016 19:22:51
EventId:BADMAIL
Source:DSN
MessageSubject:Test email for connector validation
MessageId:<3ecfa61a-c3fc-4596-8bca-ec2ca2ffa0a2@DB4PR03MB523.eurprd03.prod.outlook.com>
Recipients:[email protected]
RecipientCount:1
RecipientStatus:
SourceContext:
Sender:[email protected]
EventData:BadmailReason:Suppress NDR of a rejected or expired DSN, DeliveryPriority:Normal, OriginalFromAddress:<>, AccountForest:EURPR03A001.prod.outlook.com


Timestamp:28-9-2016 19:22:51
EventId:AGENTINFO
Source:AGENT
MessageSubject:Test email for connector validation
MessageId:<3ecfa61a-c3fc-4596-8bca-ec2ca2ffa0a2@DB4PR03MB523.eurprd03.prod.outlook.com>
Recipients:[email protected]
RecipientCount:1
RecipientStatus:
SourceContext:CatHandleFail
Sender:[email protected]
EventData:AMA:EV|engine=M|v=0|sig=1.229.431.0|name=|file=, SDA:SDG|MID=104088532419859, AMA:SUM|v=0|action=|error=|atch=0, AMA:EV|engine=A|v=0|sig=201609281749|name=|file=, AMA:EV|engine=K|v=0|sig=28.9.2016 17:30:0|name=|file=, CompCost:|AMA=1, DeliveryPriority:Normal, OriginalFromAddress:<>, AccountForest:EURPR03A001.prod.outlook.com


Timestamp:28-9-2016 19:22:51
EventId:FAIL
Source:ROUTING
MessageSubject:Test email for connector validation
MessageId:<3ecfa61a-c3fc-4596-8bca-ec2ca2ffa0a2@DB4PR03MB523.eurprd03.prod.outlook.com>
Recipients:[email protected]
RecipientCount:1
RecipientStatus:[{LED=550 5.1.10 RESOLVER.ADR.RecipientNotFound; Recipient not found by SMTP address lookup};{MSG=};{FQDN=};{IP=};{LRT=}]
SourceContext:
Sender:[email protected]
EventData:ToEntity:Unknown, FromEntity:Unknown, DeliveryPriority:Normal, OriginalFromAddress:<>, AccountForest:EURPR03A001.prod.outlook.com

It sais it cannot find the recipient. But the email adress is active. Also: office365 connects to the server with no errors. So from the point that Office365 wants to deliver the actual mailbox (routing?) it doesn't work.

If you have any suggestions, let me know.


Joey
 
Joey,

Please correct me if I wrong. You try to send emails from @joeybuddenberg.com to [email protected] with a hope that your server at transip will get them. I haven't found any MX record for the domains which would point to your server(s) at transip, probably office365 has it's own routers (I've never used it) and they can forward emails despite of missing MX record.

But what about Directadmin server? Do you have an enabled option to use "Local Mail Server"? https://help.directadmin.com/item.php?id=8

OK, if you enable the option "Local Mail Server" then emails from Directadmin server for *@joeybuddenberg.com and *@deaudiofabrique.nl might not reach office365. But without this enabled option Directadmin will reject any attempt to deliver emails from outside.

Or do I miss anything?
 
Hi Alex,

That is correct: joeybuddenberg.com is the main office365 account, and deaudiofabrique.nl is also on this account.

Email is handled thru Office365, that is why you won't find any MX records pointing to TransIP servers.

With local mail server turned on, email being sent from any of the domains hosted with TransIP wont ever go to Office365 resulting in a bounce. So there is one issue.

What I still do not understand is why the server tells the email address is not available, but it is present...

So long story short: I would like to use Office365 in conjunction with the local mailserver. Email sent to address corresponding to Office365 should be handled by Office365 and all other by local mail server. Office365 supports this feature.

Any ideas?
 
So if you want to use the both: Office365 and your Directadmin server to handle emails on your domains, then you probably need either to customize exim.conf (currently I don't have a guide on how to achieve it), or to play with smarthost/relay functioning of exim. Something like this:

1. enable "local mail server" for the domains so that you could receive emails from outside and
2. configure smarthost/relay for the domains under the question to send emails through office365 (so that you could send emails from Directadmin)

If you want me to do the configuration for you feel free to contact me through a web-form on a site (see my signature line).
 
Back
Top