Emmanuel Lacour wrote: > On Wed, Aug 20, 2008 at 04:29:55PM +0100, Tom H wrote: >> warn $content if ($opts{debug}); >> >> and according to "perldoc warnings", the function warn should send the >> content to STDERR... >> >> So I've no idea where that information is going.... >> >> Any ideas? >> > > Try to log the error to a file by modifying a little bit rt-mailgate. > > Look in you're apache and rt error logs, if rt-mailgate cannot submit, > there should be an error there.
The problem itself is odd, because RT itself is returning 200 for the request to create the message; 10.127.2.24 - - [11/Aug/2008:21:32:19 +0000] "POST /rt//REST/1.0/NoAuth/mail-gateway HTTP/1.1" 200 721 "-" "libwww-perl/5.808" but rt-mailgate is returning exit code 75 to smrsh/sendmail; Date: Mon, 11 Aug 2008 21:31:23 +0000 [EMAIL PROTECTED] #< #4.4.7 X-Unix; 75> #SMTP# By the looks of it the server returns EX_TEMPFAIL if the return content didn't include ok|not ok 114: if ( $content !~ /^(ok|not ok)/ ) { But sendmail is still not including this error text in the bounce mail to the requestor.. which I guess is the part I am confused about. I'm going to patch rt-mailgate to log that stuff to a local file for the meanwhile. But I would be keen to understand where the option to do that is in the sendmail config. Tom _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com