Re: [Exim] Wife can't send mail

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Robert L. Harris
CC: Exim Users
Subject: Re: [Exim] Wife can't send mail
On 2003-10-29 at 09:54 -0500, Robert L. Harris wrote:
> In the exim.conf for my mail server I have this:
>
> host_accept_relay = 127.0.0.1 : ::::1 : ::1 : 192.168.0.0/24 : 2001:730:11:17c::0/64
>
> I also tried
>
> host_accept_relay = 127.0.0.1 : ::::1 : ::1 : 192.168.0.0/24 : 2001:730:11:17c::::/64
>
> No go either way. Any ideas? Shes driving me nuts.


You have left the list separator as ":"; you've doubled the colons in
"::1" to get "::::1" (and then covered ":1" too, which is a port number
config, I think) and not doubled the colons in the last item; second
attempt only doubles the double-colons.

The issue is that colon is the default list separator; so change the
list separator.

Assuming that you're all on one local network (as suggested by the
RFC1918 address space for the IPv4 rule) so that you're basically
wanting to act as a smarthost for your home network (just a /64? hrm),
then something like:

host_accept_relay = <; 127.0.0.1 ; ::1 ; 192.168.0.0/24 ; 2001:730:11:17c::0/64

See the Exim Specification, sections 6.15 (List construction) and 10.8
(Host lists) for more information on what's happening here.
--
2001: Blogging invented. Promises to change the way people bore strangers with
banal anecdotes about their pets. <http://www.thelemon.net/issues/timeline.php>