This seems to be a perennial problem. I see lots of discussion, but
few answers. Presumably folks have gotten this to work.
I’m running:
RHEL3
sendmail-cf-8.12.11-4.RHEL3.1
sendmail-8.12.11-4.RHEL3.1
httpd-2.0.46-44.ent
MySQL-devel-4.1.9-0
MySQL-bench-4.1.9-0
MySQL-server-4.1.9-0
MySQL-shared-compat-4.1.9-0
MySQL-client-4.1.9-0
MySQL-shared-4.1.9-0
Rt-3.4.0
I have an /etc/smrsh directory, and I’ve symlinked to
/opt/rt3/bin/rt-mailgate (with …/… notation just to be sure, as that’s
how mailman was linked).
/etc/aliases has entries like this:
rfpo-support: “|rt-mailgate --queue rfpo-support --action correspond
–debug --url https://72.3.146.198/rt/”
Mail sent to the server gets delivered, but sits in the queue.
/var/log/maillog shows:
Mar 4 12:51:23 ws1 sendmail[12199]: j24HpNnY012198: to=“|rt-mailgate
–queue rfpo-support --action correspond --debug --url
https://72.3.146.198/rt/”, ctladdr=rfpo-support@ws1.uscar.org (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30544, dsn=4.0.0,
stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Running “sendmail -q” doesn’t flush the queue.
I have tried adjusting the sendmail settings in RT_SiteConfig to use
“sendmail” instead of “sendmailwrapper” with the same results.
Here is my RT_SiteConfig.pm (sans database connection details):
$Timezone = ‘US/Eastern’;
$WebPath = “/rt”;
$WebBaseURL = “https://72.3.146.198”;
Set($rtname , “ws1.uscar.org”);
Set($Organization , “uscar.org”);
Set($MailCommand , ‘sendmail’);
Set($SendmailArguments,“-oi -t -ODeliveryMode=b -OErrorMode=m”);
Set($SendmailPath , “/usr/sbin/sendmail”);
Set($LogToSyslog , ‘debug’);
Set($LogToScreen , ‘error’);
Set($LogToFile , ‘debug’ );
Set($LogDir, ‘/opt/rt3/var/log’);
Set($LogToFileNamed , “rt.log”); #log to rt.log
@LogToSyslogConf = ( ‘debug’ ) unless (@LogToSyslogConf);
What gives?
-brian
Brian W. Spolarich ~ IT Consultant ~ USCAR ~ +1-248-223-9044