RT Mailgate and Sendmail problems

Howdy guys,

I’ve got a problem with RT Mailgate and Sendmail. I’m getting “DSN:
unknown mailer error 2” from Sendmail. Had a look through the list
archives and tried everything that has been suggested. Well I think I’ve
tried everything :slight_smile:

Aliases are correct, and in quotes, tried sendmail from command line and
no error messages, but the mail still produces an error in the logfile
and bounces. perl -c /etc/smrsh/rt-mailgate produces “Args must match #!
line at /usr/local/rt2/bin/rt-mailgate line 1.”

There are no other error messages generated anywhere. I’ve reinstalled,
still no different.

Any help or ideas much appreciated.

Regards,

Joseph

and bounces. perl -c /etc/smrsh/rt-mailgate produces “Args must match #!
line at /usr/local/rt2/bin/rt-mailgate line 1.”

This sounds like your #! line is wildly incorrect. It should read:

#!/usr/bin/perl -w

(or your local installation of perl).

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B                      Operations

Aliases are correct, and in quotes, tried sendmail from command line
and no error messages, but the mail still produces an error in the
logfile and bounces. perl -c /etc/smrsh/rt-mailgate produces “Args
must match #! line at /usr/local/rt2/bin/rt-mailgate line 1.”

OK, so what’s on line 1 in /usr/local/rt2/bin/rt-mailgate ?

-Robin

http://www.digitalkingdom.org/~rlpowell/ BTW, I’m male, honest.
le datni cu djica le nu zifre .iku’i .oi le so’e datni cu to’e te pilno
je xlali – RLP http://www.lojban.org/

Bruce,

This sounds like your #! line is wildly incorrect. It should read:

#!/usr/bin/perl -w

Yep, that’s what it is. And yes perl is actually in that location.

Anyone have any other ideas?

Regards,

Joseph