Re: [Exim] Sender address check for authenticated users

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Oliver Egginger
日付:  
To: exim-users
題目: Re: [Exim] Sender address check for authenticated users
I ignored the sender_domains condition in the manuals...
Many thanks to all, who had helped me!

> + accept  authenticated  = *
> +         endpass
> +         sender_domains = +local_domains
> +         message        = Sender domain is not local


I had some difficulties with it. I've got a notion that endpass shifts
the control to the next condition, thus the accept clause isn't canceled
at once for unauthenticated users. Therefore I use this combination (not
very smart but clear):

accept authenticated   = *
         sender_domains = +local_domains


# only for the ejection of the error message
deny    authenticated  = *
        sender_domains = ! +local_domains
        message        = sender address domain is not local


regards
oliver


Am Don, 2003-10-16 um 13.16 schrieb Andreas Metzler:
> 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

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##

--
Oliver Egginger <Oliver.Egginger@???>
Fachhochschule Giessen-Friedberg