From owner-freebsd-ports@FreeBSD.ORG Thu Apr 3 20:27:36 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A973337B401 for ; Thu, 3 Apr 2003 20:27:36 -0800 (PST) Received: from lilbuddy.antsclimbtree.com (lilbuddy.antsclimbtree.com [216.27.183.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1590143FA3 for ; Thu, 3 Apr 2003 20:27:36 -0800 (PST) (envelope-from mark@antsclimbtree.com) Received: from adsl-66-122-112-170.dsl.snfc21.pacbell.net ([66.122.112.170] helo=dina) by lilbuddy.antsclimbtree.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.12) id 191Io0-000Bmf-00; Thu, 03 Apr 2003 20:27:56 -0800 Date: Thu, 3 Apr 2003 20:27:27 -0800 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) To: Sheldon Hearn From: Mark Edwards In-Reply-To: <20030402113401.GM725@starjuice.net> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: exim-4.12_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 04:27:36 -0000 On Wednesday, April 2, 2003, at 03:34 AM, Sheldon Hearn wrote: > On (2003/02/07 13:05), Mark Edwards wrote: > >> Since you are now configuring the exim port for IPv6 support by >> default, >> I thought I'd share a problem I encountered when updating to the >> current >> port. The configure.default file sets: >> >> hostlist relay_from_hosts = 127.0.0.1 >> >> which is to allow local processes to relay mail. If a process is >> IPv6-enabled, it may attempt to communicate as ::1 (IPv6 localhost) and >> receive a "relay denied". One such port that does this by default is >> /usr/ports/mail/mailman > > Sorry, I dropped the ball on this one. > > Please refer me to the original discussion on the exim-users mailing > list and I'll take a look. > > Ciao, > Sheldon. Here is the archive of the thread: http://www.exim.org/pipermail/exim-users/Week-of-Mon-20030203/049332.html Basically all that is needed is a note in the port explaining that some other ports, such as Mailman, will attempt to communicate using IPv6 and be denied using the default configure file. I solved the problem by adding: local_interfaces = 0.0.0.0 to my exim configure file, which tells exim to listen on all IPv4 ports. Another solution is to add: hostlist relay_from_hosts = 127.0.0.1 : ::::1 which tells exim to allow relaying from both IPv4 and IPv6 localhost. -- Mark Edwards Engineer Mr. Toad's San Francisco, CA