Mail setup problems

I have the web interface up and running without (too many) problems.
However, I am getting stuck on the mail setup, as I see many users have before me (after scouring the mailing list).
I have followed the directions as best I can for the Red Hat Setup, yet I still am having issues.

The machine’s name is “it-dove.com
and I can send mail to root@it-dove.com just fine.
the queue name is HelpDesk
and my aliases are set up as follows:

support: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”
support-comment: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action comment”

After trying to send an email to support@it-dove.com, nothing happens and I get the following in the sendmail log:
Jun 27 10:03:57 it-dove sendmail[2339]: g5RE3vr02339: from=CCapone@consultdove.com, size=633, class=0, nrcpts=1, msgid=6044748DB501154CA7821B832E2238B94A8289@mail.doveassoc.com, proto=ESMTP, daemon=Daemon0, relay=mail.doveassoc.com [10.1.0.222]
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339: to=“|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”, ctladdr=support@it-dove.com (8/0), delay=00:00:02, xdelay=00:00:02, mailer=prog, pri=30105, dsn=5.3.0, stat=unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339: g5RE3xr02340: DSN: unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3xr02340: to=CCapone@consultdove.com, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30205, relay=jeeves.doveassoc.com. [10.1.0.216], dsn=2.0.0, stat=Sent ( 200206271403.g5RE3xr02340@it-dove.com Queued mail for delivery)

(mail.doveassoc.com is our mail server, jeeves.doveassoc.com is another server, I’m not sure why anything is/isn’t going there)
So it seems like the mail gets to the Linux box okay (from a windows machine), but that sendmail gets messed up with the incoming message.
I am not an expert in Linux by any means, and I did read all the of the FAQ and install stuff. Restarting the webserver, sendmail, and the whole machine haven’t seemed to help.
Any help would be greatly appreciated!

Dove Consulting - IT ccapone@consultdove.com (617)753-9259

The machine’s name is “it-dove.com
and I can send mail to root@it-dove.com just fine.
the queue name is HelpDesk
and my aliases are set up as follows:

support: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”
support-comment: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action
comment”

After trying to send an email to support@it-dove.com, nothing happens and
I get the following in the sendmail log:
Jun 27 10:03:57 it-dove sendmail[2339]: g5RE3vr02339:
from=CCapone@consultdove.com, size=633, class=0, nrcpts=1,
msgid=6044748DB501154CA7821B832E2238B94A8289@mail.doveassoc.com,
proto=ESMTP, daemon=Daemon0, relay=mail.doveassoc.com [10.1.0.222]
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339:
to=“|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”,
ctladdr=support@it-dove.com (8/0), delay=00:00:02, xdelay=00:00:02,
mailer=prog, pri=30105, dsn=5.3.0, stat=unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339: g5RE3xr02340: DSN:
unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3xr02340:
to=CCapone@consultdove.com, delay=00:00:00, xdelay=00:00:00, mailer=esmtp,
pri=30205, relay=jeeves.doveassoc.com. [10.1.0.216], dsn=2.0.0, stat=Sent
( 200206271403.g5RE3xr02340@it-dove.com Queued mail for delivery)

Just a quick thought, but have you enabled the rt-mailgate program
permission to allow sendmail to execute it?
Hang on…
Mine lives here:

lrwxrwxrwx 1 root root 25 Jun 12 02:57
/usr/adm/sm.bin/rt-mailgate → /home/rt2/bin/rt-mailgate

The permissions might be wrong, but that’s the general idea.
I don’t know if this is a cobalt thing, or a sendmail thing, since it’s been
a while since I used sendmail. Qmail much nicer, but I got it working.
Does it bounce mail back to you with any errors?

It looks like it’s sendind something back to jeeves for you, perhaps?
Cool name, by the way.
Let me know, I might have some other ideas.

I did run the following command:
ln -s /path/to/rt2/bin/rt-mailgate /etc/smrsh/rt-mailgate
I assume that’s what you mean by “you enabled the rt-mailgate program
permission to allow sendmail to execute it?”

Mail doesn’t bounce back with any errors, unfortunately - I think it’d be easier if it did!

One thing that may be of use (or not):
I tried “running” rt-mailgate and it just seems to hang. The reason for the quotes is that all I did
was type “./rt-mailgate”. I wasn’t sure if that was the proper way to do it or not, so I also tried “perl rt-mailgate”.
Both just seem to hang. I tried “perl -c rt-mailgate” and it said the syntax was fine.

Anyways, that probably isn’t of use, but I dunno.

Thanks again for helping!
Cory

The machine’s name is “it-dove.com
and I can send mail to root@it-dove.com just fine.
the queue name is HelpDesk
and my aliases are set up as follows:

support: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”
support-comment: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action
comment”

After trying to send an email to support@it-dove.com, nothing happens and
I get the following in the sendmail log:
Jun 27 10:03:57 it-dove sendmail[2339]: g5RE3vr02339:
from=CCapone@consultdove.com, size=633, class=0, nrcpts=1,
msgid=6044748DB501154CA7821B832E2238B94A8289@mail.doveassoc.com,
proto=ESMTP, daemon=Daemon0, relay=mail.doveassoc.com [10.1.0.222]
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339:
to=“|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”,
ctladdr=support@it-dove.com (8/0), delay=00:00:02, xdelay=00:00:02,
mailer=prog, pri=30105, dsn=5.3.0, stat=unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339: g5RE3xr02340: DSN:
unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3xr02340:
to=CCapone@consultdove.com, delay=00:00:00, xdelay=00:00:00, mailer=esmtp,
pri=30205, relay=jeeves.doveassoc.com. [10.1.0.216], dsn=2.0.0, stat=Sent
( 200206271403.g5RE3xr02340@it-dove.com Queued mail for delivery)

Just a quick thought, but have you enabled the rt-mailgate program
permission to allow sendmail to execute it?
Hang on…
Mine lives here:

lrwxrwxrwx 1 root root 25 Jun 12 02:57
/usr/adm/sm.bin/rt-mailgate → /home/rt2/bin/rt-mailgate

The permissions might be wrong, but that’s the general idea.
I don’t know if this is a cobalt thing, or a sendmail thing, since it’s been
a while since I used sendmail. Qmail much nicer, but I got it working.
Does it bounce mail back to you with any errors?

It looks like it’s sendind something back to jeeves for you, perhaps?
Cool name, by the way.
Let me know, I might have some other ideas.

I did run the following command:
ln -s /path/to/rt2/bin/rt-mailgate /etc/smrsh/rt-mailgate
I assume that’s what you mean by “you enabled the rt-mailgate program
permission to allow sendmail to execute it?”
Yup, that’s what I meant.

Mail doesn’t bounce back with any errors, unfortunately - I think it’d be
easier if it did!
Yuck.

Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3xr02340:
to=CCapone@consultdove.com, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp,
pri=30205, relay=jeeves.doveassoc.com. [10.1.0.216], dsn=2.0.0, stat=Sent
( 200206271403.g5RE3xr02340@it-dove.com Queued mail for delivery)
The strange thing is that this bit makes it look like it sending a message
back.

One thing that may be of use (or not):
I tried “running” rt-mailgate and it just seems to hang. The reason for
the quotes is that all I did
was type “./rt-mailgate”. I wasn’t sure if that was the proper way to do
it or not, so I also tried “perl rt-mailgate”.
Both just seem to hang. I tried “perl -c rt-mailgate” and it said the
syntax was fine.
yup, that’s pretty standard, too

Other than that I can’t help. Sorry.

The machine’s name is “it-dove.com
and I can send mail to root@it-dove.com just fine.
the queue name is HelpDesk
and my aliases are set up as follows:

support: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action
correspond”
support-comment: “|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action
comment”

After trying to send an email to support@it-dove.com, nothing happens
and
I get the following in the sendmail log:
Jun 27 10:03:57 it-dove sendmail[2339]: g5RE3vr02339:
from=CCapone@consultdove.com, size=633, class=0, nrcpts=1,
msgid=6044748DB501154CA7821B832E2238B94A8289@mail.doveassoc.com,
proto=ESMTP, daemon=Daemon0, relay=mail.doveassoc.com [10.1.0.222]
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339:
to=“|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”,
ctladdr=support@it-dove.com (8/0), delay=00:00:02, xdelay=00:00:02,
mailer=prog, pri=30105, dsn=5.3.0, stat=unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339: g5RE3xr02340: DSN:
unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3xr02340:
to=CCapone@consultdove.com, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp,
pri=30205, relay=jeeves.doveassoc.com. [10.1.0.216], dsn=2.0.0, stat=Sent
( 200206271403.g5RE3xr02340@it-dove.com Queued mail for delivery)

Just a quick thought, but have you enabled the rt-mailgate program
permission to allow sendmail to execute it?
Hang on…
Mine lives here:

lrwxrwxrwx 1 root root 25 Jun 12 02:57
/usr/adm/sm.bin/rt-mailgate → /home/rt2/bin/rt-mailgate

The permissions might be wrong, but that’s the general idea.
I don’t know if this is a cobalt thing, or a sendmail thing, since it’s
been

Jun 27 10:03:57 it-dove sendmail[2339]: g5RE3vr02339:
from=CCapone@consultdove.com, size=633, class=0, nrcpts=1,
msgid=6044748DB501154CA7821B832E2238B94A8289@mail.doveassoc.com,
proto=ESMTP, daemon=Daemon0, relay=mail.doveassoc.com [10.1.0.222]
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339:
to=“|/opt/rt2/bin/rt-mailgate --queue HelpDesk --action correspond”,
ctladdr=support@it-dove.com (8/0), delay=00:00:02, xdelay=00:00:02,
mailer=prog, pri=30105, dsn=5.3.0, stat=unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3vr02339: g5RE3xr02340:
DSN: unknown mailer error 2
Jun 27 10:03:59 it-dove sendmail[2340]: g5RE3xr02340:
to=CCapone@consultdove.com, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=30205, relay=jeeves.doveassoc.com. [10.1.0.216],
dsn=2.0.0, stat=Sent ( 200206271403.g5RE3xr02340@it-dove.com Queued
mail for delivery)

(mail.doveassoc.com is our mail server, jeeves.doveassoc.com is another
server, I’m not sure why anything is/isn’t going there)

rt-mailgate fails with exit code 2, and sendmail sends a delivery state
notification to CCapone@consultdove.com via jeeves.doveassoc.com. Try to
get hold of this DSN, it should contain the error message from
rt-mailgate.

Sebastian

Sebastian Flothow
sebastian@flothow.de
#include <stddisclaimer.h>

I tried “running” rt-mailgate and it just seems to hang. The reason
for the quotes is that all I did
was type “./rt-mailgate”. I wasn’t sure if that was the proper way to
do it or not, so I also tried “perl rt-mailgate”.
Both just seem to hang.

It’s not exactly hanging, but trying to read a message from stdin. If
you’ve got one in a file (including the sendmail-style From line), try
running “./rt-mailgate < message.txt” and look for error messages.

However, you should probably investigate why sendmail sends the error
message to jeeves (or what jeeves does with it) anyway.

Sebastian

Sebastian Flothow
sebastian@flothow.de
#include <stddisclaimer.h>