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 Fri, Oct 17, 2003 at 10:58:16AM +0200, Oliver Egginger wrote:
> 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.


I don't understand that, can you reformulate?

> 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


The endpass example /should/ do exactly the same:
| It marks the boundary between the conditions whose failure
| causes control to pass to the next statement, and the conditions whose
| failure causes the ACL to return `deny'.

            cu andreas