Re: [exim] acl_smtp_mail help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Francesco Pasqualini
Datum:  
To: exim.ml
CC: exim users
Betreff: Re: [exim] acl_smtp_mail help
Thanks Ron, fixed !

what I was missing is just to call the defined ACL:

acl_smtp_mail = acl_check_mail

Another error is that I was naming the acl exactly acl_smtp_mail that I
think is a reserved config word

thanks a lot




On Sat, May 1, 2010 at 5:52 PM, Ron White <exim.ml@???> wrote:

> On Sat, 2010-05-01 at 16:24 +0200, Francesco Pasqualini wrote:
> > hi all,
> > I'm trying to use acl_smtp_mail (exim4 on ubuntu)
> >
> > The acl does not work, like it wasn't there.
> >
> > For example my config.autogenerated is as follow, bat every mail is
> > accepted:
> >
> > acl_smtp_mail:
> >
> > deny message = User has been blocked
> >          senders  = *

> >
> > deny
> >
> > What I'm missing ?
> >
> > thanks
>
> Are you actually calling/referencing your defined acl in one of the
> acl_smtp_xxxx directives in the main section of the runtime
> configuration? Such as:
>
> acl_smtp_rcpt = acl_smtp_mail
> or
> acl_smtp_data = acl_smtp_mail
>
> For troubleshooting the acid test to see what is happening would be to
> run a debug session on the command line (here pretending to be from a
> gmail IP):
> exim -d -bh 209.85.229.27
> giving it the normal smtp commands one at at time such as:
> helo .
> mail from: <>
> rcpt to: your.user@???
> data
>
> This should show what is/is not going on. The logs may well have useful
> information too.
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>