Re: [exim] Trouble with ACL Variables...

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tim Jackson
Datum:  
To: exim-users
Betreff: Re: [exim] Trouble with ACL Variables...
Stefan Preuss wrote:

> 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


If you don't mind having a disclaimer file per domain (which is a good
thing in some circumstances), you could just use $sender_address_domain
directly in the remote_smtp_disclaimer. Like this:

remote_smtp_disclaimer:
...
transport_filter ="/usr/local/bin/altermime \
--input=- \
--disclaimer=/etc/exim4/disclaimer/$sender_address_domain.txt \
...


Tim