Re: [Exim] Sender address check for authenticated users

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-users
Sujet: 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