Results 1 to 2 of 2

Thread: Exim ipv6 localhost relay

  1. #1
    Join Date
    Apr 2016
    Posts
    38

    Question Exim ipv6 localhost relay

    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:
    Code:
    2018-07-11 11:59:08 H=localhost (mail.myhost.nl) [::1] F=<sender@myhost.nl> rejected RCPT <recipient@gmail.com>: 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
    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?

  2. #2
    Join Date
    May 2014
    Posts
    107
    Do you want to add these one to your configuration file:

    hostlist relay_hosts=net-lsearch;/etc/virtual/pophosts : 127.0.0.1 : ::::1

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •