LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2007, 03:13 PM   #1
nssblue
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
RT(Request Tracker) w/ Exim gateway causing bounced e-mails


Hey folks,

Been a long while since I've posted on here but an interesting question for anybody who uses RT(Request Tracker) w/ Exim:

For some reason when commenting on a ticket and trying to cc our mailing list of support staff, RT is saying that the message has bounced. I checked syslog and came up with this error:

Jun 27 15:38:55 devserv2 RT: Could not record email: Message Bounced (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:73)

If anybody knows why this is occurring, please share the wealth. I've been digging for an answer for a few hours now. Thanks much!

Blue
 
Old 06-28-2007, 09:21 AM   #2
nssblue
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Went back and did a little more checking of RT's code this morning...

Checked out line 73 of the mail-gateway Perl module and found:

my ( $status, $error, $Ticket ) = RT::Interface::Email::Gateway( \%ARGS );
if ( $status == 1 ) {
*send e-mail*
}
else {
*don't send e-mail and print the aforementioned error to syslog*
}

Traced back to the e-mail gateway module, and after a lot of nasty
checks for loops and malicious senders etc. I checked the Gateway
subroutine and found the check for our error down near the bottom:

if ( $action =~ /^(?:comment|correspond)$/i ) {
my $method = ucfirst lc $action;
my ( $status, $msg ) = $Ticket->$method( MIMEObj => $Message );
unless ($status) {

#Warn the sender that we couldn't actually submit the comment.
MailError(To => $ErrorsTo, Subject => "Message not recorded", Explanation => $msg,
MIMEObj => $Message);
return ( 0, "Message not recorded: $msg", $Ticket );
}
}

Unfortunately this doesn't really help us because it doesn't tell us WHY
the e-mail bounced. My only guess is that something in certain mail
messages is causing the conversion to a MIME object to fail. I'll start
saving these bounced e-mails and see if I can spot a pattern.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Request Tracker Installation Guide zer0hmz Linux - Software 4 06-22-2006 12:39 PM
Request Tracker Problem aston127 Linux - Newbie 5 06-01-2005 08:14 PM
Request Tracker in FC3 adm1329 Linux - Software 2 03-04-2005 09:24 AM
Rt3 (Request Tracker)+Mails pudhiyavan Linux - Software 1 11-09-2004 09:38 PM
cannot find libmysqlclient.so when installing Request Tracker Ticketing program SmokeMonkey Linux - Software 5 06-16-2004 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration