Score:0

Error setting up SMTP via Exim4

us flag

I just started at my current role and I'm the only IT guy...

I have a server that is used to send emails to a local smarthost but they just switched to using Office 365 and it "never worked" since then...

I googled it but I cannot really "tell" what I'm doing wrong (I've never used Exim4 before now...)

When P look at the maillog I see a bunch of things like this and its not sending...

[email protected] <root@server> R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host for 'email.com'

I've edited the /etc/exim4/passwd.client file to have the correct email and password and I have edited the dpkg-reconfigure exim4-config to have the smtp server as smtp.office365.com:587

Any ideas?

EDIT

so after changing some things in the config this is what it shows when i do a mail root

Admin@server:~$ sudo tail /var/log/exim4/mainlog
2022-02-25 12:23:57 1nNeJx-0000Tl-GC => :blackhole: <root@server> R=system_aliases
2022-02-25 12:23:57 1nNeJx-0000Tl-GC Completed
2022-02-25 12:30:51 1nNeQd-0000uu-2f <= Admin@server U=Admin P=local S=442
2022-02-25 12:30:51 1nNeQd-0000uu-2f => :blackhole: <root@Server> R=system_aliases
2022-02-25 12:30:51 1nNeQd-0000uu-2f Completed
2022-02-25 12:52:52 Start queue run: pid=7812
2022-02-25 12:52:52 End queue run: pid=7812
2022-02-25 13:03:01 1nNevl-0002Zg-Ri <= Admin@server U=Admin P=local S=442
2022-02-25 13:03:01 1nNevl-0002Zg-Ri => :blackhole: <root@server> R=system_aliases
2022-02-25 13:03:01 1nNevl-0002Zg-Ri Completed

but i never get any emails to the email i have it "set" to send to... any ideas?

cn flag
Bob
For that particular error: [`exinext [user@]example.com`](https://www.exim.org/exim-html-current/doc/html/spec_html/ch-exim_utilities.html#SECTfinindret) might be useful but such errors are more a symptom rather than linked to specific error/misconfiguration. You will need to dig deeper in the logs.
Resiarlleh avatar
us flag
Im updating the initial bit above.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.