Re: [exim] accept hosts = :

Top Page
Delete this message
Reply to this message
Author: Jason Meers
Date:  
To: Chad Leigh, exim-users
CC: 
Subject: Re: [exim] accept hosts = :

> In the RCPT acl the first statement is
>
> accept hosts = :
>
> This seems like a useless line as no host will match nothing so this
> will never get triggered. Is this correct or is there some sort of
> "magic" that this accomplishes?
>
> Thanks
> Chad
>

This is used to match mail generated on the exim box itself.
It could be emails from the logwatch, alerts from the raid card (3ware
for example) or another process or service running on the same box.
These "look" like messages from an empty host and will match.

I feel uncomfortable with it too and sometimes used to add the fqdn of
the exim server itself as if it were a "trusted domain". I think just
adding 127.0.0.1 as a trusted host would achieve the same.

I'd be interested in seeing the "official" answer to this too.

Thanks

Jason Meers