RT and Mail Gateway

Dear all,
I have installed and configured RT in my system on RH 7.2. It is working
fine.
But for Mail Gateway Configuration

When I try to send a e-mail til support@helpdesk.a-aarhus.dk I get a
reply that delivery is refused.

The maillog on the RT-server gives the following lines:

Apr 7 11:29:50 triton sendmail[20915]: g379Toj20915:
from=ole.schelde@a-aarhus.dk, size=3892, class=0, nrcpts=1,
msgid=266067B5D256C8418E9ECBC14B1D5DF53E901B@uranus.arkitektskolen.aaa
, proto=ESMTP, daemon=MTA, relay=uranus.arkitektskolen.aaa [172.16.1.40]
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20915:
to=“/opt/rt2/bin/rt-mailgate --queue support --action correspond”,
ctladdr=support@helpdesk.a-aarhus.dk (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=33371, dsn=5.0.0, stat=Can’t create
output
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20915: g379Toj20916: DSN:
Can’t create output
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20916:
to=ole.schelde@a-aarhus.dk, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=33471, relay=mail.a-aarhus.dk. [172.16.1.40],
dsn=2.0.0, stat=Sent ( 200204070929.g379Toj20916@triton.a-aarhus.dk
Queued mail for delivery)

Thanks in advance…
Ole

Is your queue named support or Support? Also, is your $DatabaseHost,
$DatabaseUser and $DatabasePassword correct in config.pm? Does your
$DatabaseUser have the correct permissions (have you flushed your MySQL
cache`s lately???).

Try logging into your MySQL db form the command line (assuming it`s running
on localhost) to see that it is correct.

#mysql -u USER -pPASS

I`m a qmail user myself so this is really just a few quick thoughts… too
many bad memories of sendmail exploits from the past…

timuel----- Original Message -----
From: “Ole Schelde” ole.schelde@a-aarhus.dk
To: rt-users@lists.fsck.com
Sent: Sunday, April 07, 2002 9:02 AM
Subject: [rt-users] RT and Mail Gateway

Dear all,
I have installed and configured RT in my system on RH 7.2. It is working
fine.
But for Mail Gateway Configuration

When I try to send a e-mail til support@helpdesk.a-aarhus.dk I get a
reply that delivery is refused.

The maillog on the RT-server gives the following lines:

Apr 7 11:29:50 triton sendmail[20915]: g379Toj20915:
from=ole.schelde@a-aarhus.dk, size=3892, class=0, nrcpts=1,
msgid=266067B5D256C8418E9ECBC14B1D5DF53E901B@uranus.arkitektskolen.aaa
, proto=ESMTP, daemon=MTA, relay=uranus.arkitektskolen.aaa [172.16.1.40]
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20915:
to=“/opt/rt2/bin/rt-mailgate --queue support --action correspond”,
ctladdr=support@helpdesk.a-aarhus.dk (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=33371, dsn=5.0.0, stat=Can’t create
output
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20915: g379Toj20916: DSN:
Can’t create output
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20916:
to=ole.schelde@a-aarhus.dk, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=33471, relay=mail.a-aarhus.dk. [172.16.1.40],
dsn=2.0.0, stat=Sent ( 200204070929.g379Toj20916@triton.a-aarhus.dk
Queued mail for delivery)

Thanks in advance…
Ole

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

At 16:02 Uhr +0200 7.4.2002, Ole Schelde wrote:

Apr 7 11:29:50 triton sendmail[20916]: g379Toj20915:
to=“/opt/rt2/bin/rt-mailgate --queue support --action correspond”,
ctladdr=support@helpdesk.a-aarhus.dk (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=33371, dsn=5.0.0, stat=Can’t create
output

I’m not a sendmail guru, but mailer=file makes me think that
sendmail tries to write to a file named “/opt/rt2/bin/rt-mailgate
–queue support --action correspond”, instead of executing it as a
command.

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

In your /etc/aliases you need a pipe at the beginning, that’s why Sendmail
is trying to write to a file instead of ‘prog’…

Example, here is an entry in mine:

abuse : “|/usr/rt2/bin/rt-mailgate --queue abuse --action correspond”
abuse-comment: “|/usr/rt2/bin/rt-mailgate --queue abuse --action comment”

Also, make sure you have an entry in /etc/smrsh:

[greg@support greg]$ ls -l /etc/smrsh
total 0
lrwxrwxrwx 1 root root 24 Oct 23 19:07 rt-mailgate →
/usr/rt2/bin/rt-mailgate

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident-----Original Message-----
From: Ole Schelde [mailto:ole.schelde@a-aarhus.dk]
Sent: Sunday, April 07, 2002 7:03 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] RT and Mail Gateway

Dear all,
I have installed and configured RT in my system on RH 7.2. It is working
fine.
But for Mail Gateway Configuration

When I try to send a e-mail til support@helpdesk.a-aarhus.dk I get a
reply that delivery is refused.

The maillog on the RT-server gives the following lines:

Apr 7 11:29:50 triton sendmail[20915]: g379Toj20915:
from=ole.schelde@a-aarhus.dk, size=3892, class=0, nrcpts=1,
msgid=266067B5D256C8418E9ECBC14B1D5DF53E901B@uranus.arkitektskolen.aaa
, proto=ESMTP, daemon=MTA, relay=uranus.arkitektskolen.aaa [172.16.1.40]
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20915:
to=“/opt/rt2/bin/rt-mailgate --queue support --action correspond”,
ctladdr=support@helpdesk.a-aarhus.dk (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=33371, dsn=5.0.0, stat=Can’t create
output
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20915: g379Toj20916: DSN:
Can’t create output
Apr 7 11:29:50 triton sendmail[20916]: g379Toj20916:
to=ole.schelde@a-aarhus.dk, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=33471, relay=mail.a-aarhus.dk. [172.16.1.40],
dsn=2.0.0, stat=Sent ( 200204070929.g379Toj20916@triton.a-aarhus.dk
Queued mail for delivery)

Thanks in advance…
Ole

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Yesterday Timothy G Wesemann wrote:

#mysql -u USER -pPASS

Warning: If your computer has other users who don’t know the password
for your DB, then don’t do that – the password is part of the
command-line, and could be discovered with ps.

Instead just use -p without the password and supply it when prompted.

Smylers
GBdirect