Re: [exim] Migrate to latest EXIM.

Top Pagina
Delete this message
Reply to this message
Auteur: Josip Rodin
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Migrate to latest EXIM.
On Mon, Jan 22, 2007 at 10:24:26PM -0500, Shine, Gary wrote:
> Pop3.domains = a simple list (flat text file) of local domains
> local_domains = "pop:lsearch;/usr/local/exim/pop3.domains"


This is usually handled by having something like:

domainlist local_domains = @ : CONFDIR/local_domains

CONFDIR is a variable you can set in the main section. The file can easily
be your pop3.domains file.

And then in the ACLs, do something like:
require domains = +local_domains

If you aren't acquainted with the ACLs (new feature since 4.x), read
the docs (also available via www.exim.org), section 'Access control lists'.

The handling of relay domains is analogous to local domains.

> Relay.nets = a simple list (flat text file) of networks allowed to relay
> through the box


This would go something like this:

hostlist relay_from_hosts = CONFDIR/relay_from_hosts

And then in the ACLs:

accept hosts = +relay_from_hosts

> Pop3.aliases = a simple list (flat text file) of e-mails to pop boxes
> i.e
> name@???:        popbox@pop


> pop3:
> domains = lsearch;/usr/local/exim/pop3.domains,
> driver = smartuser;
> new_address =
> ${lookup{$local_part@$domain}lsearch{/usr/local/exim/pop3.aliases}{$value}fa
> il}
>
> pop3_wildcard:
> domains = lsearch;/usr/local/exim/pop3.domains,
> except_local_parts = "root:postmaster",
> driver = smartuser;
> new_address =
> ${expand:${lookup{*@$domain}lsearch{/usr/local/exim/pop3.aliases}{$value}fai
> l}}


This changed, there is no longer a driver named 'smartuser', but you can
almost certainly use the 'redirect' driver which has a "data" option, which
can be expanded pretty much the same way as before.

-- 
     2. That which causes joy or happiness.