Re: [exim] Limiting system_aliases recipients to only "local…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Frank Elsner
Dátum:  
Címzett: Janelle Bourne
CC: exim-users
Tárgy: Re: [exim] Limiting system_aliases recipients to only "local" addresses
On Thu, 10 Feb 2011 13:31:24 +0000 Janelle Bourne wrote:
>
> Hi all,
>
> I have a pretty standard exim conf set up on FreeBSD (Exim version 4.71), system aliases (or groups) are configured thus:
>
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> user = mailnull
> group = mail
> file_transport = address_file
> pipe_transport = address_pipe
>
> I would like to limit senders to these groups/aliases to only local addresses (i.e. sender1@???, othersender@???... but _NOT_ outsider@???).
> How can I do this?


1st If not already done, define "domainlist local_domains = <domains local for your system>"
2nd Insert "domains = +local_domains" into router "system_aliases"


--Frank Elsner