Re: [exim] using name of host in spamd_address

Top Page
Delete this message
Reply to this message
Author: Marcin Mirosław
Date:  
To: exim-users
Old-Topics: [exim] using name of host in spamd_address
Subject: Re: [exim] using name of host in spamd_address
W dniu 04.04.2012 16:24, Marcin Mirosław pisze:
> Hello!
> I'd like to use hostname instead numeric ip in spamd_address variable.
> I've added host to /etc/hosts file:
> $ grep sa /etc/hosts
> 127.0.0.1       sa
> $ ping sa
> PING sa (127.0.0.1) 56(84) bytes of data.
> 64 bytes from meteor.mejor.pl (127.0.0.1): icmp_req=1 ttl=60 time=0.000 ms
> 64 bytes from meteor.mejor.pl (127.0.0.1): icmp_req=2 ttl=60 time=0.000 ms
> ^C

>
> In exim.conf, in main section i've got:
> spamd_address = sa 783
> With such configuration exim-4,77 throws to log:
> 2012-04-04 16:20:59 1SFR4t-0003rv-M8 spam acl condition: warning - spamd
> connection to sa, port 783 failed: Network is unreachable
>
> I didn't have such problem with configuring connection to sql server,
> hostname works.
> Is it possible to use hostname in spamd_address or i'm doing it in wrong
> way?


Hi!
I've found bugs about it[1][2]. They are marked as fixed in 4.77 but it
looks for me they aren't fixed. I still can't use hostname in
spamd_address. Could it be those bugs are fixed partially (i mean was
added expansion of spamd_address only)
Regards,
Marcin

[1] - http://bugs.exim.org/show_bug.cgi?id=434
[2] - http://bugs.exim.org/show_bug.cgi?id=433