Re: [exim] emulating $verify_mode

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nick
日付:  
To: exim-users
題目: Re: [exim] emulating $verify_mode
Thanks for the suggestions, and apologies for my slow reply.

The idea of setting a variable in the data ACL does indeed work as
required. Since I'm using Debian, I set CHECK_DATA_LOCAL_ACL_FILE to
point to a file containing this:

warn set acl_m_disposable_aliases_delivering = 1

I then check for this in the filter before modifying any counters.
Result, they only get changed in delivery mode.


I do have one further question however. I have a test for my filter,
which uses exim in testing mode, i.e. constructing a command with this
printf template:

    exim -bfp %s -bfl %s -bfd %s -bf filter


The output is inspected for the presence of the right strings.

I would like to set the acl_m variable I'm using in the test -
empirically it seems this doesn't get set in testing mode. Except I
can't see anything in the docs which indicate this is possible. Is that
correct?

If not I will probably have to work around this somehow, too.

Cheers!

Nick