Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting Sendmail to feed RT

130 views
Skip to first unread message

NPG

unread,
Aug 27, 2010, 8:46:49 PM8/27/10
to
I've set up request tracker on a server and am trying to get sendmail to feed it.

Here are the entries in the alias file

support: "|/etc/mail/smrsh/rt-mailgate --queue general --action
correspond --url http://example.com/rt/"
support-comment: "|/etc/mail/smrsh/rt-mailgate --queue general --action
comment --url http://example.com/rt/"

I ran newaliases, so that shouldn't be the issue.
I'm getting the following in the logs when I send it mail.

Aug 27 23:49:15 host sm-mta[31267]: o7RNnFZx031266:
to="|/etc/mail/smrsh/rt-mailgate --queue general --action correspond --url
http://example.com/rt/", ctladdr=<sup...@cs6.cmpublishers.com> (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30801, dsn=4.0.0,
stat=Deferred: prog mailer (/usr/lib/sm.bin/smrsh) exited with EX_TEMPFAIL

or

Aug 27 23:52:56 host sm-mta[32626]: o7RNqu4G032624:
to="|/etc/mail/smrsh/rt-mailgate --queue general --action correspond --url
http://example.com/rt/", ctladdr=<sup...@cs6.cmpublishers.com> (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30801, dsn=4.0.0,
stat=Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL

It doesn't seem that smrsh or the lack thereof is messing things up.
If sendmail is restarted the messages fail with the following log entry.

Aug 27 23:49:58 host sm-mta[32177]: o7RNnFZx031266: o7RNnwN1032177: DSN:
"|/etc/mail/smrsh/rt-mailgate --queue general --action correspond --url
http://example.com/rt/"... Cannot mail directly to programs

The only other detail I can think of is that the sendmail is what is packaged
with debian.


Any ideal what I'm missing here?
Thanks

--
Sincerely,

Nathan Gibbs

Systems Administrator
Christ Media
http://www.cmpublishers.com

NPG

unread,
Aug 27, 2010, 10:41:59 PM8/27/10
to
* NPG wrote:
> I've set up request tracker on a server and am trying to get sendmail to feed it.
>
>
> Any ideal what I'm missing here?
> Thanks
>
I figured it out.

i was doing all the stuff on the sendmail side OK.

A misconfigured ACL on the RT side was causing the failure.

LOL

0 new messages