[exim] Trouble with ACL Variables...

Top Page
Delete this message
Reply to this message
Author: Stefan Preuss
Date:  
To: exim-users
Subject: [exim] Trouble with ACL Variables...
Hi list,

I'm going mad while trying to use ACL variables. I have to add a
disclaimer to every outgoing mail..We have some company's under one
roof, so there are actually different disclaimers.

So I thought it could be cool to use ACL variables and a lookup file to
decide what disclaimer is written under what mail.
This is what I put under acl_smtp_rcpt:

warn
set acl_m1 =
${lookup{$sender_address_domain}wildlsearch{/etc/exim4/disclaimer/disclaimer.txt}{$value}}

AFAIK I should have acl_m0 containing the String "test".
Later on, the transport I try to use looks like this, and it should call
altermime with the right options... but acl_m0 seems to be empty ?!
whats wrong here ?


remote_smtp_disclaimer:
driver = smtp
transport_filter ="/usr/local/bin/altermime \
--input=- \
--disclaimer=/etc/exim4/disclaimer/${acl_m0}.txt\
--disclaimer-html=/etc/exim4/disclaimer/${acl_m0}.html \
--log-syslog"
size_addition = 2048

I also tried set acl_m0 = test with the same result.
Exim Version is 4.50

Any help would be highly appreciated...


--
Kind regards,

Stefan Preuß
Winner Computer & Software GmbH