On Tue, Mar 22, 2005 at 04:23:45PM +0000, Philip Hazel said:
> On Sun, 27 Feb 2005, Stephen Gran wrote:
>
> > It is still problematic with 4.50 - it seems that it is not set in all
> > cases. With the following acl:
> >
> > warn condition = ${if !def:acl_m1 {true}{false}}
> > !dnslists = dsn.rfc-ignorant.org/$sender_address_domain
> > !acl = acl_whitelist_local_deny
> > !verify = sender/callout=30s,defer_ok
> > log_message = $acl_verify_message
> > set acl_m1 = Sender verify failed: $acl_verify_message
>
> I have now looked at this. If you look in TFM, you will find this:
>
> Notice the condition that is imposed:
>
> During the expansion of the "message" and "log_message"
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> For historical/internal reasons, the code implements this precisely. So
> this isn't a bug. But I have noted it as an infelicity that perhaps
> should be fixed.
I see the condition, now that you have pointed it out to me :) I should
have read more closely, sorry.
I would appreciate it if was available in other expansions, but consider
it a wishlist item, if you would.
Thanks again,
--
--------------------------------------------------------------------------
| Stephen Gran | If more of us valued food and cheer and |
| steve@??? | song above hoarded gold, it would be a |
| http://www.lobefin.net/~steve | merrier world. -- J.R.R. Tolkien |
--------------------------------------------------------------------------