<HTML>
<HEAD>
<TITLE>Re: [rt-users] unable to open tickets via email</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Rick,<BR>
<BR>
I had this error also when setting up the mailgate. It is a documented error in the sendmail mailing lists (and online docs I believe). Basically it deals with the security settings in sendmail when running the sendmail smrsh program to call an external program. This program smrsh (see man smrsh) runs command for sendmail in a restricted shell, more specifically by default from a single directory – default is /etc/smrsh. My solution was to move the rt-mailgate program to the /etc/smrsh directory and ensure that the user running the sendmail system owns the rt-mailgate program.<BR>
<BR>
Works for me.<BR>
<BR>
Thanks,<BR>
<BR>
-- <BR>
Mike Coakley<BR>
Managed Business<BR>
<a href="http://www.managedbusiness.com">http://www.managedbusiness.com</a><BR>
<a href="http://my.managedbusiness.com">http://my.managedbusiness.com</a><BR>
Voice - 973-252-0770 x2100<BR>
Fax - 973-252-1797<BR>
<BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Rick Garland <Rick.Garland@evolving.com><BR>
<B>Date: </B>Tue, 25 Jul 2006 13:07:26 -0600<BR>
<B>To: </B><rt-users@lists.bestpractical.com><BR>
<B>Conversation: </B>unable to open tickets via email<BR>
<B>Subject: </B>[rt-users] unable to open tickets via email<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Arial">Hi all:<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">RT 3.4.5 on RedHat EL4<BR>
Using sendmail 8.13 as the MTA<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Wanting to send email to 'rt' to open ticket. Got the groups and rights OK but the inbound mail hangs in the queue.<BR>
(Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)<BR>
"|/opt/rt3/bin/rt-mailgate --queue gen<BR>
The full entry in the /etc/aliases is<BR>
rt: "|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url <a href="http://localhost/">http://localhost/</a>"<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">The searches I find deal mostly with procmail - but we are not using procmail.<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Thanks<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT></SPAN><FONT SIZE="5"><FONT FACE="Arial"><SPAN STYLE='font-size:18.0px'>Rick Garland<BR>
</SPAN></FONT></FONT><FONT FACE="Arial"><SPAN STYLE='font-size:12.0px'>UNIX System Administrator<BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Evolving Systems, Inc<BR>
9777 Mount Pyramid Court<BR>
Suite 100<BR>
Englewood, CO 80112<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">phone: 303-802-2580<BR>
cell: 720-210-4691<BR>
rick.garland@evolving.com<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
<BR>
This e-mail and any attachments may be confidential and/or legally privileged. If you have received this e-mail and you are not a named addressee, please inform Evolving Systems TIS at tis@evolving.com and then delete the e-mail from your system. If you are not a named addressee you must not use, disclose, distribute, copy, print or rely on this e-mail. To ensure regulatory compliance and for the protection of our clients and business, Evolving Systems may monitor and read e-mails sent to and from its servers. Although Evolving Systems routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Evolving Systems makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. <BR>
<BR>
Registered Office: 9777 Pyramid Ct Suite 100, Englewood, CO 80112<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:9.0px'>_______________________________________________<BR>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><BR>
<BR>
Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><BR>
Commercial support: sales@bestpractical.com<BR>
<BR>
<BR>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. <BR>
Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><BR>
<BR>
<BR>
We're hiring! Come hack Perl for Best Practical: <a href="http://bestpractical.com/about/jobs.html">http://bestpractical.com/about/jobs.html</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>