[rt-users] mailgate problem at rt3

Jesse Vincent jesse at bestpractical.com
Thu Apr 3 14:53:42 EST 2003


Can you send me the _full_ message that made it fail? I'll add it to the
testsuite.


On Thu, Apr 03, 2003 at 10:50:50PM +0300, shimi wrote:
> 
> Ok, I took the very simplest mail, and throwed it at mailgate.
> 
> When removing THIS line:
> Content-Type: text/plain; charset=us-ascii; format=flowed
> 
> It said:
> ok
> Ticket: 48
> Queue: Fresh
> Owner: Nobody
> Status: new
> Subject: 
> Requestor: 
> 
> hmm ???
> 
> On Thu, 3 Apr 2003, shimi wrote:
> 
> > 
> > No, it replied in less than one second.
> > 
> > # perl /usr/local/rt3/bin/rt-mailgate --queue Fresh --action correspond 
> > --url http://RT-URL --debug < bla.txt 
> > Connecting to http://rt-URL/REST/1.0/NoAuth/mail-gateway at 
> > /usr/local/rt3/bin/rt-mailgate line 158, <> chunk 1.
> > Warning: something's wrong at /usr/local/rt3/bin/rt-mailgate line 166, <> 
> > chunk 1.
> > RT server error. 
> > 
> > The RT server which handled your email did not behave as expected. It
> > said:
> > 
> > I have no idea what sendmail I have. It's the one shipped with RedHat. The 
> > same machine had RT2 working great, so...
> > 
> > 
> > On Thu, 3 Apr 2003, Jesse Vincent wrote:
> > 
> > > Was it timing out?  (Did it take a long time to issue that message?)
> > > Are you using sendmail brand sendmail? If so, what SendmailArguments are
> > > you using?
> > > 
> > > 
> > > On Thu, Apr 03, 2003 at 06:51:18PM +0300, shimi wrote:
> > > > 
> > > > # /usr/local/rt3/bin/rt-mailgate --queue Fresh --action correspond --url http://R-URL/ < bla.txt 
> > > > RT server error. 
> > > > 
> > > > The RT server which handled your email did not behave as expected. It
> > > > said:
> > > > 
> > > > 
> > > > same message, of course.
> > > > 
> > > > On Thu, 3 Apr 2003, Jesse Vincent wrote:
> > > > 
> > > > > Cat a full mail message including all headers into /tmp/msg
> > > > > 
> > > > > perl /opt/rt3/bin/rt-mailgate < /tmp/msg
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > On Thu, Apr 03, 2003 at 06:29:43PM +0300, shimi wrote:
> > > > > > 
> > > > > > how do I do that? :(
> > > > > > 
> > > > > > sendmail -d outputs lots of debugging, but doesn't listen on port 25 from 
> > > > > > some reason... so it's kinda impossible to check.
> > > > > > 
> > > > > > you did notice that the one complaining is NOT the mail server, but RT....
> > > > > > 
> > > > > > On Thu, 3 Apr 2003, Jesse Vincent wrote:
> > > > > > 
> > > > > > > Perhaps you should call the mail gateway by hand and see what the full
> > > > > > > transcript of an error looks like.
> > > > > > > 
> > > > > > > 	-j
> > > > > > > 
> > > > > > > 
> > > > > > > On Thu, Apr 03, 2003 at 05:37:51PM +0300, shimi wrote:
> > > > > > > > 
> > > > > > > > everything is set up nicely, the web interface works, and all is well, 
> > > > > > > > except for one thing...
> > > > > > > > 
> > > > > > > > sending a mail to RT gives a bounce if I use a mailer [such as pine], and 
> > > > > > > > goes fine if I don't (if i use "mail" in the commandline).
> > > > > > > > 
> > > > > > > > This is what I get back:
> > > > > > > > 
> > > > > > > >    ----- The following addresses had permanent fatal errors -----
> > > > > > > > "|/usr/local/rt3/bin/rt-mailgate --queue Fresh --action correspond --url http://RT-URL/"
> > > > > > > >     (reason: 255)
> > > > > > > >     (expanded from: <rt at backbone>)
> > > > > > > > 
> > > > > > > >    ----- Transcript of session follows -----
> > > > > > > > RT server error. 
> > > > > > > > 
> > > > > > > > The RT server which handled your email did not behave as expected. It
> > > > > > > > said:
> > > > > > > > 
> > > > > > > > 554 5.3.0 unknown mailer error 255
> > > > > > > > 
> > > > > > > > however spam goes out fine.
> > > > > > > > 
> > > > > > > > logs are stored (from some reason) in /var/log/messages (although I 
> > > > > > > > defined a log file!) - and does input info when spam gets ticketed, but 
> > > > > > > > logs nothing when those mails are bouncing.
> > > > > > > > 
> > > > > > > > here is the part from maillog:
> > > > > > > > 
> > > > > > > > Apr  3 17:32:58 backbone sendmail[24153]: h33EWul24151: 
> > > > > > > > to="|/usr/local/rt3/bin/rt-mailgate --queue Fresh --action correspond 
> > > > > > > > --url http://RT-URL/", ctladdr=<rt at backbone> (8/0), 
> > > > > > > > delay=00:00:02, xdelay=00:00:02, mailer=prog, pri=30249, dsn=5.3.0, 
> > > > > > > > stat=unknown mailer error 255
> > > > > > > > 
> > > > > > > > Sendmail 8.11.6/8.11.6. Perl 5.8.0. MySQL 4.0.11-gamma-Max. Apache 1.3.27
> > > > > > > > 
> > > > > > > > Does anyone have any idea what could be wrong?
> > > > > > > > 
> > > > > > > > -- 
> > > > > > > > 
> > > > > > > >   Best regards,
> > > > > > > >      Shimi
> > > > > > > > 
> > > > > > > > 
> > > > > > > > ----
> > > > > > > > 
> > > > > > > >    "Outlook is a massive flaming horrid blatant security violation, which
> > > > > > > >     also happens to be a mail reader."
> > > > > > > > 
> > > > > > > >    "Sure UNIX is user friendly; it's just picky about who its friends are."
> > > > > > > > 
> > > > > > > > 
> > > > > > > > _______________________________________________
> > > > > > > > rt-users mailing list
> > > > > > > > rt-users at lists.fsck.com
> > > > > > > > http://lists.fsck.com/mailman/listinfo/rt-users
> > > > > > > > 
> > > > > > > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
> > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > > -- 
> > > > > > 
> > > > > >   Best regards,
> > > > > >      Shimi
> > > > > > 
> > > > > > 
> > > > > > ----
> > > > > > 
> > > > > >    "Outlook is a massive flaming horrid blatant security violation, which
> > > > > >     also happens to be a mail reader."
> > > > > > 
> > > > > >    "Sure UNIX is user friendly; it's just picky about who its friends are."
> > > > > > 
> > > > > 
> > > > > 
> > > > 
> > > > -- 
> > > > 
> > > >   Best regards,
> > > >      Shimi
> > > > 
> > > > 
> > > > ----
> > > > 
> > > >    "Outlook is a massive flaming horrid blatant security violation, which
> > > >     also happens to be a mail reader."
> > > > 
> > > >    "Sure UNIX is user friendly; it's just picky about who its friends are."
> > > > 
> > > 
> > > 
> > 
> > 
> 
> -- 
> 
>   Best regards,
>      Shimi
> 
> 
> ----
> 
>    "Outlook is a massive flaming horrid blatant security violation, which
>     also happens to be a mail reader."
> 
>    "Sure UNIX is user friendly; it's just picky about who its friends are."
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list