Hello, I've been trying to configure Exim to send mail through gmail, with no success. The instructions I've been following are these:
https://help.directadmin.com/item.php?id=153
I followed the instructions, changed exim.routers.pre.conf and exim.authenticators.post.conf, as instructed. I did not touch exim.transports.pre.conf, as there's nothing indicating I should. Contents below:
I was getting connection error, but then noticed I hadn't changed the transport from remote_smtp to auth_relay. Did it, then I got this error:
A bit puzzled, as I had followed everything so I searched a bit and saw people with similar error messages, saying possibly the database could have gotten corrupted. So, I deleted the files as instructed here:
https://en.stealthsettings.com/fix-...tld-failing-long-time-retry-time-reached.html
Now, it's not sending the emails, and I also have no error messages, which is worse in my opinion. Nothing. Just three lines saying it sent the email, and nothing else.
Where should I pick up from here? I thought this would be straightforward, but far from it. Would appreciate any help you could provide.
https://help.directadmin.com/item.php?id=153
I followed the instructions, changed exim.routers.pre.conf and exim.authenticators.post.conf, as instructed. I did not touch exim.transports.pre.conf, as there's nothing indicating I should. Contents below:
Code:
auth_relay:
driver = smtp
port = 25
hosts_require_auth = $host_address
hosts_require_tls = $host_address
headers_add = "${if def:authenticated_id{X-Authenticated-Id: ${authenticated_id}}}"
interface = <; ${if exists{/etc/virtual/domainips}{${lookup{$sender_address_domain}lsearch*{/etc/virtual/domainips}}}}
helo_data = ${if exists{/etc/virtual/helo_data}{${lookup{$sending_ip_address}iplsearch{/etc/virtual/helo_data}{$value}{$primary_hostname}}}{$primary_hostname}}
hosts_try_chunking =
hosts_try_fastopen =
.include_if_exists /etc/exim.dkim.conf
I was getting connection error, but then noticed I hadn't changed the transport from remote_smtp to auth_relay. Did it, then I got this error:
Code:
R=smart_route T=auth_relay: all hosts for 'zoho.eu' have been failing for a long time (and retry time not reached)
A bit puzzled, as I had followed everything so I searched a bit and saw people with similar error messages, saying possibly the database could have gotten corrupted. So, I deleted the files as instructed here:
https://en.stealthsettings.com/fix-...tld-failing-long-time-retry-time-reached.html
Now, it's not sending the emails, and I also have no error messages, which is worse in my opinion. Nothing. Just three lines saying it sent the email, and nothing else.
Where should I pick up from here? I thought this would be straightforward, but far from it. Would appreciate any help you could provide.