Disclaimer variables passed from amavis to altermime.

Zhang Huangbin zhbmaillistonly at gmail.com
Sun Jul 1 03:48:47 CEST 2012


It doesn't work for me with below settings on CentOS 6.2, with Amavisd-new-2.6.6.

# Per-domain disclaimer
@disclaimer_options_bysender_maps = ( { '.' => '$5' } );
@altermime_args_disclaimer = qw(--disclaimer=/tmp/_OPTION_.txt --disclaimer-html=/tmp/_OPTION_.html);



File /tmp/a.com.txt and /tmp/a.com.html were created with a short sentence.

Debug message with "amavisd debug":

run_command: [3055] /usr/bin/altermime --input=/var/spool/amavisd/tmp/amavis-20120630T213649-03051/email-repl.txt --disclaimer=/tmp/a.com.txt --disclaimer-html=/tmp/a.com.html </dev/null 2>&1
collect_results from [3055] (/usr/bin/altermime), 217 bytes, (limit 16384)
(!!)collect_results from [3055] (/usr/bin/altermime): exit 6 Jun 30 21:36:50.371 c60.iredmail.org /usr/sbin/amavisd[3055]: (03051-01) (!)run_command: child process [3055]: Insecure dependency in exec while running with -T switch at /usr/sbin/amavisd line 3088, <GEN16> line 35.\n
(!)run_command: child process [3055]: Insecure dependency in exec while running with -T switch at /usr/sbin/amavisd line 3088, <GEN16> line 35.\n
(!)mangling by altermime failed: Program /usr/bin/altermime failed: 1536, 
(!)run_command: child process [3055]: Insecure dependency in exec while running with -T switch at /usr/sbin/amavisd line 3088, <GEN16> line 35., mail will pass unmodified




----
Zhang Huangbin

iRedMail: Open Source Mail Server Solution for Red Hat Enterprise Linux,
CentOS, Scientific Linux, Debian, Ubuntu, Mint, Gentoo, openSUSE,
FreeBSD, OpenBSD: http://www.iredmail.org/





More information about the amavis-users mailing list