Results 1 to 2 of 2

Thread: Exim ipv6 localhost relay

  1. #1
    Join Date
    Apr 2016

    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:
    2018-07-11 11:59:08 H=localhost ( [::1] F=<> rejected RCPT <>: authentication required
    My Exim conf currently has the following line which works fine for IPv4.
    hostlist relay_hosts=net-lsearch;/etc/virtual/pophosts :
    I think that line needs to be something like this to work for IPv6.
    hostlist relay_hosts=net-lsearch;/etc/virtual/pophosts : : ::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
    Do you want to add these one to your configuration file:

    hostlist relay_hosts=net-lsearch;/etc/virtual/pophosts : : ::::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