Re: [Exim] Sender address check for authenticated users

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: exim-users
Assumpte: Re: [Exim] Sender address check for authenticated users
On Thu, Oct 16, 2003 at 12:22:53PM +0200, Oliver Egginger wrote:
> acl_check_rcpt:
>
>   deny    local_parts   = ^.*[@%!/|] : ^\\.

>
>   accept  local_parts   = postmaster
>           domains       = +local_domains

>
>   require verify        = sender/callout
>   require verify        = recipient

>
>   accept  domains         = +relay_to_domains
>   accept  authenticated = *

>
>   deny    message       = relay not permitted

>
>
>
> This seems to work fine but authenticated users can use every address
> they like. How can I restrict them to local addresses (domains) ??
> Every hint would be appreciated.


Something like
- accept  authenticated = *
+ accept  authenticated  = *
+         sender_domains = +local_domains
or
- accept  authenticated = *
+ accept  authenticated  = *
+         endpass
+         sender_domains = +local_domains
+         message        = Sender domain is not local
        cu and- untested -reas