On Wednesday 24 April 2013 01:05:28 Heiko Schlittermann wrote:
> test test <test4offer@???> (Di 23 Apr 2013 13:50:48 CEST):
> > how can i pass messages manually through altermime
> > where does altermime logs has been stores
> > when i sent a mail thene it goes without disclaimer and when i sent a
> > black
> > mail the disclaimer show in the mail body please suggest
>
> You read the output of "altermime --help", didn't you?
>
> altermime --input=- \
> --disclaimer=/tmp/txt \
> --disclaimer-html=/tmp/html \
> --log-stderr \
> --debug < /tmp/message > /tmp/message.disclaimed
>
> … or something similiar.
The size_addition variable may resolve your issue...another possible problem would be if the message is digitally signed.. altermime wont alter the message..
Ruairi
disclaimer_smtp_default:
debug_print = "T: disclaimer_smtp for $local_part@$domain from $sender_address_domain"
driver = smtp
transport_filter = /usr/bin/altermime --verbose --log-syslog --input=- --disclaimer=/usr/local/etc/exim4/default/textdisclaimer --disclaimer-b64=/usr/local/etc/exim4/default/disclaimer.b64 --disclaimer-html=/usr/local/etc/exim4/default/htmldisclaimer size_addition = -1