Hi List,

I have amavisd-new 2.5.1, installed as part of the 2007Q2 pkgsrc
distribution (on RHEL4). When I try to enable altermime, amavisd-new
complains that:

Aug 24 11:01:17 smtphostem02 amavis[24932]: (24863-01) (!)run_command:
child process [24932]: Insecure dependency in exec while running with -T 
switch at /usr/pkg/sbin/amavisd line 2591, <GEN9> line 9.

Line 2591 of amavisd is in the sub run_command. When I removed the -T
switch from the amavisd binary it applied disclaimers as I expect. In
amavisd-conf, altermime is set up as follows:

 (the altermime binary is detected at startup)
 $defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];
 @altermime_args_disclaimer = qw(--verbose --log-syslog
    --force-for-bad-html        
    --force-into-b64
    --disclaimer=/usr/pkg/etc/disclaimers/_OPTION_
    --disclaimer-html=/usr/pkg/etc/disclaimers/_OPTION_.html
    );
 @disclaimer_options_bysender_maps =
    (read_hash("/usr/pkg/etc/disclaimers/disclaimers_by_sender"));

 $policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
   originating => 1,
   os_fingerprint_method => undef,
   allow_disclaimers => 1,
 };

So what's tainted? Can I use untaint() in the config file? Or do I need to
fix something in run_command()? I can run without Taint checks for a
little while if needs be, but would obviously rather not.

regards
rob



National Australia Bank Ltd - ABN 12 004 044 937
This email may contain confidential information. If you are not the intended 
recipient, please immediately notify us at [EMAIL PROTECTED] or by replying to 
the sender, and then destroy all copies of this email. Except where this email 
indicates otherwise, views expressed in this email are those of the sender and 
not of National Australia Bank Ltd. Advice in this email does not take account 
of your objectives, financial situation, or needs. It is important for you to 
consider these matters and, if the e-mail refers to a product(s), you should 
read the relevant Product Disclosure Statement(s)/other disclosure document(s) 
before making any decisions. If you do not want email marketing from us in 
future, forward this email with "unsubscribe" in the subject line to [EMAIL 
PROTECTED] in order to stop marketing emails from this sender. National 
Australia Bank Ltd does not represent that this email is free of errors, 
viruses or interference.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to