Rt-mailgate user

Hi folks

I’m trying to get rt-mailgate working (via fetchmail) and I get an error. I’ve
included the email I get back along with the sendmail logs, the fetchmailrc
and /etc/aliases entry.

I think the problem may be that RT doesn’t know which user to use. In the
perldoc for rt-mailgate it says to create a rt user but doesn’t say how to
nominate that user as the one for rt-mailgate. When I tried to bring up the
URL used by rt-mailgate:

http://rt.ringways.co.uk/REST/1.0/NoAuth/mail-gateway

(taken from the code) I get the response:

not ok - Could not load a valid user

What do I need to do to fix this?

Gary

email
The original message was received at Tue, 22 May 2007 14:46:26 +0100
from localhost.localdomain [127.0.0.1]

----- The following addresses had permanent fatal errors -----
“|/usr/sbin/rt-mailgate --queue general --action correspond --url
http://rt.ringways.co.uk/
(reason: Service unavailable)
(expanded from: rt3@localhost)

----- Transcript of session follows -----
smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable

sendmail maillog
May 21 15:01:24 s_sys@eddie sendmail[7000]: l4LE1NQ7007000:
from=gary.stainburn@ringways.co.uk, size=2010, class=0, nrcpts=1,
msgid=200705211501.13905.gary.stainburn@ringways.co.uk, bodytype=7BIT,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
May 21 15:01:24 s_sys@eddie smrsh: uid 1000: attempt to
use “rt-mailgate --queue general --action correspond --url
http://rt.ringways.co.uk/” (stat failed)
May 21 15:01:24 s_sys@eddie sendmail[7001]: l4LE1NQ7007000:
to=“|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://rt.ringways.co.uk/”, ctladdr=rt3@localhost (1000/1000),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=32205, dsn=5.0.0,
stat=Service unavailable
May 21 15:01:24 s_sys@eddie sendmail[7001]: l4LE1NQ7007000: l4LE1OQ7007001:
DSN: Service unavailable
May 21 15:01:24 s_sys@eddie sendmail[7001]: STARTTLS=client,
relay=ollie.ringways.co.uk., version=TLSv1/SSLv3, verify=FAIL,
cipher=AES256-SHA, bits=256/256
May 21 15:01:24 s_sys@eddie sendmail[7001]: l4LE1OQ7007001:
to=gary.stainburn@ringways.co.uk, delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=33229, relay=ollie.ringways.co.uk. [10.5.1.3], dsn=2.0.0,
stat=Sent (OK id=1Hq8NE-0005fs-Qr)

/etc/aliases
rt3: “|/usr/sbin/rt-mailgate --queue general --action correspond --url
http:/
/rt.ringways.co.uk/”

/etc/fetchmailrc
set logfile /var/log/fetchmail
poll mail.ringways.co.uk user rtmail is rt3 pass ********

Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000