So I enabled IPv6 for Exim and I want to start sending email from PHPmailer through localhost. But Exim refuses to relay because the IPv6 localhost is not on the whitelist.
The log says:
My Exim conf currently has the following line which works fine for IPv4.
I think that line needs to be something like this to work for IPv6.
But that doens't work because of the :: in the IP address which is also a seperator for the configuration.
So how to whitelist IPv6 localhost relay?
The log says:
Code:
2018-07-11 11:59:08 H=localhost (mail.myhost.nl) [::1] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
My Exim conf currently has the following line which works fine for IPv4.
Code:
hostlist relay_hosts=net-lsearch;/etc/virtual/pophosts : 127.0.0.1
I think that line needs to be something like this to work for IPv6.
Code:
hostlist relay_hosts=net-lsearch;/etc/virtual/pophosts : 127.0.0.1 : ::1
So how to whitelist IPv6 localhost relay?