Re: [exim] Accept hosts

Top Page
Delete this message
Reply to this message
Author: Dave Evans
Date:  
To: exim-users
Subject: Re: [exim] Accept hosts
On Wed, Oct 28, 2009 at 12:42:20PM +0100, tower wrote:
> Hi
>
> I want to accept all mails from all hosts to one of my local domain.
>
>     hosts= :
> or
>     hosts= *

>
> Which example is correct?


hosts = * is closer, but even better is just to miss out the hosts line
entirely:

  accept
    domains = yourdomain.example.com


or use a domain list (domains = +your_domains).

You might want to consider using "require verify = recipient" though, unless
your domain accepts anything at all before the "@" sign.

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey