[rt-users] Fw: Returned mail: see transcript for details -rt-mailgate problem

Abilash Praveen M abilashpraveen82 at hotmail.com
Tue Jan 17 00:44:25 EST 2006


Ok, I just did # ps -aux | less and got a list. I've pasted whatever 
corresponds to sendmail. So, to my guess sendmail runs as root?

root      2864  0.0  0.3  9112 3140 ?        Ss   10:06   0:00 sendmail: 
accepting connections

smmsp     2868  0.0  0.2  8388 2620 ?        Ss   10:06   0:00 sendmail: 
Queue runner at 00:15:00 for /var/spool/clientmqueue

root      2873  0.0  0.2  6660 2736 ?        Ss   10:06   0:00 sendmail: 
Queue runner at 00:15:00 for /var/spool/mqueue


Here is my sendmail log.

Jan 17 11:10:22 support sendmail[4459]: k0H6A1Hp004390: SYSERR(root): header 
syntax error, line "X-Name -MailScanner-Information: Please contact the ISP 
for more information"
Jan 17 11:10:22 support sendmail[4459]: k0H6A1Hp004390: SYSERR(root): header 
syntax error, line "X-Name -MailScanner: Found to be clean"
Jan 17 11:10:22 support sendmail[4459]: k0H6A1Hp004390: SYSERR(root): header 
syntax error, line "X-Name-MailScanner-From: root at dddd.com"
Jan 17 11:10:22 support smrsh: uid 8: attempt to use "rt-mailgate --queue 
general --action correspond --url http://domainname.com/tickets/" (stat 
failed)
Jan 17 11:10:22 support sendmail[4459]: k0H6A1Hp004390: 
to="|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url 
http://domainname.com/tickets/", ctladdr=<general at dddd.com> (8/0), 
delay=00:00:11, xdelay=00:00:00, mailer=prog, pri=120382, dsn=5.0.0, 
stat=Service unavailable
Jan 17 11:10:33 support sendmail[4459]: k0H6A1Hp004390: k0H6AHnD004459: DSN: 
Service unavailable
Jan 17 11:10:54 support sendmail[4459]: k0H6AHnD004459: to=root(forwarded), 
delay=00:00:21, xdelay=00:00:21, mailer=esmtp, pri=31963, 
relay=mx1.mail.yahoo.com. [4.79.181.15], dsn=2.0.0, stat=Sent (ok dirdel)

I'm using the url http://domainname.com instead of http://localhost .. is 
this is a problem? (just trying you give you as much info as possible)

Thanks again,
Abilash

----- Original Message ----- 
From: "Bill Chmura" <Bill at Explosivo.com>
To: "Abilash Praveen M" <abilashpraveen82 at hotmail.com>
Cc: <rt-users at lists.bestpractical.com>
Sent: Tuesday, January 17, 2006 10:58 AM
Subject: Re: [rt-users] Fw: Returned mail: see transcript for 
details -rt-mailgate problem


>
> 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 at 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 at Explosivo.com>
>> To: <rt-users at lists.bestpractical.com>
>> Sent: Tuesday, January 17, 2006 10:36 AM
>> Subject: Re: [rt-users] Fw: Returned mail: see transcript for
>> details -rt-mailgate problem
>>
>>
>> >
>> > Is 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 at 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 details
>> >>
>> >>
>> >> > The 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 at 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
>> >> >
>> >> _______________________________________________
>> >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>> >>
>> >> 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.com
>> >>
>> >> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
>> >> San Francisco - Find out more at
>> >> http://bestpractical.com/services/training.html
>> > _______________________________________________
>> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>> >
>> > 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.com
>> >
>> > WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
>> > San Francisco - Find out more at
>> > http://bestpractical.com/services/training.html
>> >
> 



More information about the rt-users mailing list