RT & Sendmail error

I am running RT 2.0.15 with RedHat 7.3, with Mysql & Sendmail, but am getting the following error when I try and send a email to the queue, every thing else works OK (so far)

----- The following addresses had permanent fatal errors -----
“|/opt/rt2/bin/rt-mailgate --queue bugs --action correspond”
(reason: 2)
(expanded from: bugs@support.imsltd.com)

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

Any clues

Thanks Denis Croombs

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/2002

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

Either:

  1. you haven’t got suidperl install or
  2. It’s not setuid.

cheers
john

Hi,

Is the sendmail using the smrsh shell to run the rt-mailgate (i.e. you
make a softlink of /opt/rt2/bin/rt-mailgate into /etc/smrsh dir)? If
yes, the error is caused by smrsh won’t run a setsuid program.

I did encounter this issue before. What I did to overcome the problem is
to remove the setuid from the rt-mailgate and put the sendmail user in
the rt group so the rt-mailgate will be able to write into rt files.

So the steps are:

  1. Remove the setuid from rt-mailgate:

    chmod 755 /opt/rt2/bin/rt-mailgate

  2. Add the sendmail user into rt group (in my case is “mail” and “rt”)

    cat /etc/group | grep rt

    rt:x:4001:mail

Hope this help.

List, any eassier solutions???

Regards,

Daniel

Denis Croombs wrote:

Thanks to everyone who answered my cry for help, I did not have the suidperl
module installed, it is now installed and the problem is resolved.

Again many thanks

Denis Croombs

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/2002