Re: [exim] comments in host lists?

Góra strony
Delete this message
Reply to this message
Autor: Chris Siebenmann
Data:  
Dla: Marc Haber
CC: exim-users, cks
Temat: Re: [exim] comments in host lists?
> I have in an ACL:
>
> |  deny
> |    message = sender IP address $sender_host_address is locally blacklisted here. If you think this is wrong, get in touch with postmaster
> |    !acl = acl_local_deny_exceptions
> |    hosts = CONFDIR/local_host_blacklist

>
> Can I somehow have comments in the local_host_blacklist? When I use #,
> my exim debug output contains:
>
> |20:51:25 18505 host in "/etc/exim4/local_host_blacklist"? no (malformed IPv4 address or address mask)


We have # comments in 'hosts = ' files, but as far as I know you have
to put them on a line by themselves. You can't have a line of the form:

    127.0.0.1    # this is my reason for localhost


If you don't have comments of this form, it's possible that you have a
genuinely malformed IP address and so on. Running a fake Exim SMTP session
may reveal more information, such as the specific malformed address:

    exim -bh <IP address>


    - cks