This is what I get, but it does not create a ticket. I’m a newbie at this so I apologize if I sound ignorant of some commands.
I’ve also tried “sendmail -bv monitor@rttracker.denovis.com” and it comes back with “|/opt/rt3/bin/rt-mailgate --queue Monitor --action correspond --url http://localhost/”… deliverable: mailer prog, user “|/opt/rt3/bin/rt-mailgate --queue Monitor --action correspond --url http://localhost/”
-bash-2.05b# cat my-mail | sendmail -v -t -oi monitor@rttracker.denovis.com
monitor@rttracker.denovis.com… Connecting to localhost.localdomain. via relay…
220 rttracker.denovis.com ESMTP Sendmail 8.12.5/8.12.5; Tue, 3 Jun 2003 16:36:11 -0400
EHLO rttracker.denovis.com
250-rttracker.denovis.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
MAIL From:root@rttracker.denovis.com SIZE=5
250 2.1.0 root@rttracker.denovis.com… Sender ok
RCPT To:monitor@rttracker.denovis.com
DATA
250 2.1.5 monitor@rttracker.denovis.com… Recipient ok
354 Enter mail, end with “.” on a line by itself
.
250 2.0.0 h53KaBts000793 Message accepted for delivery
monitor@rttracker.denovis.com… Sent (h53KaBts000793 Message accepted for delivery)
Closing connection to localhost.localdomain.
QUIT
221 2.0.0 rttracker.denovis.com closing connection-----Original Message-----
From: Michael van Elst [mailto:mlelstv@dev.de.cw.net]
Sent: Tuesday, June 03, 2003 11:39 AM
To: Cassily, Ryan
Subject: Re: [rt-users] rt-mailgate
On Tue, Jun 03, 2003, Cassily, Ryan wrote:
I executed the following and it did create tickets in the proper queue.
cat test | ./rt-mailgate --action correspond --queue monitor --url http://localhost/
Yes. But the mailer probably runs under a different uid.
What happens when you pipe the mail though sendmail manually ? I.e.
cat test | sendmail -v -t -oi
Greetings,
,eM"“=. a”-. Michael van Elst
dWWMWM" - :GM==; mlelstv@dev.de.cw.net
:WWMWMw=–. "W=’ cable & wireless
9WWMm==-.
“-Wmw-” CABLE & WIRELESS