Sendmail problem

We’re trying to upgrade the physical box that RT sits on, and in doing so,
we’re switching from postfix to sendmail.

Everything works fine on the sending side, but when trying to create
tickets (upon e-mail reception), sendmail hangs, and logs the following:

Mar 25 21:49:01 obsidian sendmail[384]: g2Q2l0200383: timeout waiting for
input from local during Draining Input

The first ticket gets created just fine, and all the notifications are sent
out, but subsequent tickets don’t work.

When trying to submit a ticket manually (“cat | ~rt/bin/rt-mailgate
–queue test --action correspond”), it just hangs and sits there.

Anyone know what’s going on? A quick Google search didn’t turn anything
up, and I didn’t see anything in the archives.

Hi list,
I am new to RT and have a problem with sendmail and rt 2-0-15
Trying to reply to a ticket mail, the mail bounces by Version Sendmail 8.12.6
----- The following addresses had permanent fatal errors -----
“|/opt/rt2/bin/rt-mailgate --verbose --debug --queue Adastra --action
correspond”
(reason: 255)
(expanded from: suadastra@linuxnms.junese.de)

----- Transcript of session follows -----
Can’t do setuid
554 5.3.0 unknown mailer error 255

12 -rwxr-sr-x 1 rt_user rt 9145 Mar 11 18:58 rt-mailgate

maybe this is the problem?
The queue-sender (Correspondence Address) is suadastra@junese.de (I need this for our mail system) but the mail comes to suadastra@linuxnms.junese.de

Any hints?

kind regards
harald

Can’t do setuid
554 5.3.0 unknown mailer error 255

12 -rwxr-sr-x 1 rt_user rt 9145 Mar 11 18:58 rt-mailgate

“Can’t do setuid” likely means you don’t have suidperl installed, or it
is misconfigured. Try:

locate suidperl
ls -l suidperl

HTH,

Greg White

ls -l suidperl

s/suidperl/locate\ suidperl/

Oops. :slight_smile:

GW

Hi Greg,

suidperl is installed and in the path:
whereis suidperl
suidperl: /usr/bin/suidperl
ls -lsa /usr/bin/suidperl
1108 -rwxr-xr-x 2 root root 1126686 Sep 9 2002 /usr/bin/suidperl
I am Using Suse Linux 8.1 with perl 5.8.0

any other hints?

regards,
harald

BTW: I have read that
Suidperl is being deprecated in 5.8 and may be totally removed in 5.10.

At 09:48 12.03.2003 +0100, Harald Volz wrote:

Hi Greg,

suidperl is installed and in the path:
whereis suidperl
suidperl: /usr/bin/suidperl
ls -lsa /usr/bin/suidperl
1108 -rwxr-xr-x 2 root root 1126686 Sep 9 2002 /usr/bin/suidperl
I am Using Suse Linux 8.1 with perl 5.8.0

any other hints?

No, this is the hint. suidperl should be suid.

chmod +s /usr/bin/suidperl

Nils

Thanks for this help!
getting emails to my queues now.

kind regards
harald

Hi all,

I am running red hat 9. During the ticket creation the sendmail working
on my local system is not forwarding the emails when tickets are created
to my email server that has the user accounts. How can I configure the
sendmail settings so that I receive the generated emails to my email
server and not to the local accounts on which RT is running. I also get
this error in my mail logs on the local system:

Jul 29 15:41:56 cache smrsh: uid 8: attempt to use
“rt-mailgate --queue ‘rt admin’ --action correspond
–url http://rt.your.domain/” (stat
failed)
Jul 29 15:41:56 cache sendmail[25292]: h6TAfuQl025291:
to=“|/usr/local/rt3/bin/rt-mailgate --queue ‘rt admin’
–action correspond --url http://rt.my.domain/”,
ctladdr=rt-admin@mydomain.com (8/0), delay=00:00:00, xdelay=00:00:00,
mailer=prog, pri=139530, dsn=5.0.0, stat=Service unavailable
Jul 29 15:41:56 cache sendmail[25292]: h6TAfuQl025291: h6TAfuQl025292:
DSN: Service unavailable

Sincerely,

Sohail