On 2014-10-07, Rajesh <[email protected]> wrote:
> Hello All,
>
> We've following exim configuration for adding "disclaimer" to outgoing emails 
> based on certain domain.
>
> In Router's section we've:
>
> disclaimer:
> debug_print = "R: dnslookup_withdisclaimer for $local_part@$domain"
> driver = dnslookup
> transport = disclaimer_smtp
> condition = ${if exists {/home/${lookup{$sender_address_domain}lsearch* 
> {/etc/userdomains}{$value}}/htmldisclaimer}{true}{false}}
>
>
> In transports section we've:
>
> driver = smtp
> #user = "${lookup{$sender_address_domain}lsearch{/etc/userdomains}{$value}}"
> transport_filter = /usr/bin/altermime  --input=- 
> --disclaimer=/home/${lookup{$sender_address_domain}lsearch{/etc/userdomains}}/textdisclaimer
>  
> --disclaimer-html=/home/${lookup{$sender_address_domain}lsearch{/etc/userdomains}}/htmldisclaimer
> size_addition = -1
>
> For some reason, on certain domains when used with distribution list 
> (mailman) email are going out with junk content.
> Does anybody has similar experience ?
> Appreciate if anyone can help what is wrong with above configuration and why 
> sometimes email content is going junk.

it strikes ne that the input file to altermime are chosen on a
per-domain basis, I'm not fqmiliar with that tool, but I'd check those
files first, and test altermime in isolation, before pushing some test
emails through exim.

-- 
umop apisdn


-- 
## List details at https://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/

Reply via email to