[Pkg-exim4-users] Does /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt have redundant lines?

Regid Ichira regid23 at yahoo.com
Mon Aug 20 20:23:20 UTC 2012


--- On Mon, 8/20/12, Marc Haber wrote:

> On Sun, Aug 19, 2012 at 04:30:03PM
> -0700, Regid Ichira wrote:
> >     $ sed -n '178,180p'
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
> >       require
> >         message = relay
> not permitted
> >         domains =
> +local_domains : +relay_to_domains
> >     $ sed -n '185,186p'
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
> >       require
> >         verify =
> recipient
> >     $ sed -n '349,352p'
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
> >       accept
> >         domains =
> +relay_to_domains
> >         endpass
> >         verify =
> recipient
> > 
> > 
> >   Other then not having to change a
> config file, can't lines 349,352
> > of /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt be
> simply
> > dropped?
> 
> Why do you think so?
> 

  A domain that is not
    +local_domains : +relay_to_domains
won't pass the requirement on line 178.  In particular, it won't get to 
line 349.  Any recipient, which can not be verified, won't pass the 
requirement on line 185.  In particular, such a recipient won't get to 
line 349.  The acl after the accept on line 349 is an unconditional 
accept.  I can't see an address that won't be accepted without the acl 
on line 349 accepting it.  I also can't see a relay_to_domains address 
which, despite the fact that it can not be verified, manged to get 
through to line 352.  Therefore, I can't see an address for which its 
end result will be different, had the acl on lines 349,352 will be erased.



More information about the Pkg-exim4-users mailing list