Re: [exim] Problem with spamassassin [unsolved] :(((

Top Page
Delete this message
Reply to this message
Author: Balzi Andrea
Date:  
To: Peter Bowyer, Exim, Users
Subject: Re: [exim] Problem with spamassassin [unsolved] :(((
Thanks Peter, now I've understood what you had said.

In the file /etc/exim4/nospam_check_hosts.cfg I've insert only 1 host that appear in the hosts file.
I don't want the check spam from my internal mail server, and I've inster the entry "hosts = !" in to my acl.
My server to resolve hostnames try before with hosts file and after with dns.
Now I've inster the IP and the hostname with local-lan domain suffix.

Andrea

> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Peter Bowyer
> Sent: lunedì 11 settembre 2006 15.07
> To: Exim, Users
> Subject: Re: [exim] Problem with spamassassin [unsolved] :(((
>

[...]
>
> And my response was:
>
> > Your ACL is not firing because of a DNS lookup failure on the IP of

[...]
>
> The way you have the 'hosts = ! ' requires a valid reverse
> DNS lookup on the connecting IP in order for the comparison
> condition to work.
> The debug output you posted clearly shows this. This means
> that IPs without working RDNS will be skipped by your ACLs.
> Exim doesn't know if the host is in your list because your
> list contains hostnames, and it can't resolve the hostname of
> the IP that's connecting.
>
> If you want something else, you need to rearrange the
> conditions in these ACLs so that they're not dependent on a
> hostname lookup.
>
> Peter
>
>