It does not matter what RT is running as in this case. Your mail
delivery system is trying to execute the command… in my case its
postfix which runs as the user _postfix on OpenBSD. So as root, I
would do su _postfix, then I could manually try to run the rt-mailgate
command.
I think its waiting for the message to be piped into it, so thats why
it did nothing.
I’d find out what user your MTA is running as (ps -aux | less and see
what user it shows up as) then try the su username and see if you can
get at rt-mailgate.
From the error, I would guess that the problem is that the user that
sendmail is running as cannot access that file for some reason.
Your maillog may have more information also, but I think that is the
problem, since you do appear to have the full path in there.
Hope that helps!On Tue, 17 Jan 2006 10:43:54 +0530 “Abilash Praveen M” abilashpraveen82@hotmail.com wrote:
ok so how do i test that? I guess www is what rt is running as? (please note
i have already created the user www for someother stuff… is that a
problem?)I typed this /opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/rt on console and it never responded with
anything. I pressed ctrl+c to quit.Is it running chrooted or something? - it’s chrooted for ftp access. however
when i type cd /root it says permission denied.One more thing is that I have MailScanner installed, I’m not sure if this
has any connection with this problem though.Many thanks for your help.
Thanks again,
Abilash----- Original Message -----
From: “Bill Chmura” Bill@Explosivo.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, January 17, 2006 10:36 AM
Subject: Re: [rt-users] Fw: Returned mail: see transcript for
details -rt-mailgate problemIs the rt-mailgate problem accessable from the sendmail program? As
the user its running as? Is it running chrooted or something?On Tue, 17 Jan 2006 10:25:59 +0530 “Abilash Praveen M” abilashpraveen82@hotmail.com wrote:
Can someone help me with this problem? I searched on the list and found
no
solution for this yet?Thanks again,
Abilash
----- Original Message -----
From: “Mail Delivery Subsystem” <MAILER-DAEMON@>
To: <postmaster@>; <praveen@>
Sent: Tuesday, January 17, 2006 10:51 AM
Subject: Returned mail: see transcript for detailsThe original message was received at Tue, 17 Jan 2006 10:21:24 +0500
from [ip.ip.55.222]----- The following addresses had permanent fatal errors -----
“|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/tickets/”
(reason: Service unavailable)
(expanded from: general@localhost.com)----- Transcript of session follows -----
553 5.3.0 header syntax error, line “X-Name -MailScanner-Information:
Please contact the ISP for more information”
553 5.3.0 header syntax error, line “X-Name Web-MailScanner: Found to
be
clean”
553 5.3.0 header syntax error, line “X-Name -MailScanner-From:
praveen@”
smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable
Be sure to check out the RT Wiki at http://wiki.bestpractical.com
Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.comWE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html
Be sure to check out the RT Wiki at http://wiki.bestpractical.com
Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.comWE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html