[rt-users] RT 3.0.3 cannot send mail when PerlTaint is on

Blair Zajac blair at orcaware.com
Mon Jul 7 19:21:26 EDT 2003


Hello,

I'm getting this message in my /var/log/messages on RedHat 9 when I
have PerlTaint turned on in my httpd.conf file:

Jul  7 15:53:18 it-linux1 RT: <rt-3.0.3-2-4.3.56364903072595 at somecompany.com>
Could not send mail. -Insecure $ENV{PATH} while running with -T switch at
/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Action/SendEmail.pm line 263.
Stack:
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Action/SendEmail.pm:263]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Action/SendEmail.pm:175]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/ScripAction_Overlay.pm:192]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Scrip_Overlay.pm:409]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Scrip_Overlay.pm:344]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Transaction_Overlay.pm:169]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Ticket_Overlay.pm:3743]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Ticket_Overlay.pm:597]
[/export/home2/apache/intranet_html/rt-3.0.3/lib/RT/Interface/Web.pm:286]
[/export/home2/apache/intranet_html/rt-3..

Turning off PerlTaint let's email be sent just fine.

My RT_SiteConfig.pm is

Set($rtname , "somecompany.com");
Set($Organization , "somecompany.com");
Set($Timezone , 'US/Pacific');
Set($OwnerEmail , 'it_manager at somecompany.com');
Set($StoreLoops , 1);
Set($ParseNewMessageForTicketCcs , 1);
Set($RTAddressRegexp , '^help at somecompany.com$');
Set($CorrespondAddress , 'help at somecompany.com');
Set($CommentAddress , 'it_manager at somecompany.com');
Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m");
Set($WebBaseURL , "http://help.somecompany.com");
Set($DateDayBeforeMonth , 0);

1;

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the rt-users mailing list