[rt-users] RT sends double e-mails

Matthias Juchem juchem at uni-mannheim.de
Tue May 28 17:33:10 EDT 2002


On Tuesday, 28. May 2002 17:47, you wrote:
> On Mon, 27 May 2002, Matthias Juchem wrote:
> > On Monday, 27. May 2002 19:45, Bruce Campbell wrote:
> > > Can you list the Scrips that you have active both on the Queue, and any
> > > global Scrips that you may have?
> >
> > Sure.
> >
> > These scrips are the default scrips of version 2.0.13. I have only
> > changed the template for OnCreate-NotifyAdminCcs.
>
> Thats odd.  Possibly you've run into an oddity with invoking the mailer.
> Your next step would be to look at how RT is invoking postfix (config.pm,
> $MailCommand) and trying the other varient (either 'sendmail' or
> 'sendmailpipe'), and ensuring that the $SendmailArguments are correct.

Well, actually it is qmail, as I wrote in my first e-mail :)

Here is the configuration for incoming and outgoing mail:

(/usr/sbin/sendmail is the one that comes with qmail)

outgoing mail configuration variables
========================================
$CorrespondAddress='general at domain.com';
$CommentAddress='general-comment at domain.com';
$MailCommand = 'sendmail';
$SendmailArguments="-oi";
$SendmailPath = "/usr/sbin/sendmail";
$UseFriendlyToLine = 1;
=========================================

This means that mail is sent this way: 
$MIMEObj->send("sendmail", "-oi")

For testing purposes, I have used sendmailpipe with logger as command, so the whole mail went to syslog.
(syslog did _not_ get duplicate mails)

Here's the header of the mail:

>>>  Subject: [domain.com #11] AutoReply: test nummer 2 
>>>  From: "general" <general-correspond at domain.com>
>>>  Reply-To: general-correspond at domain.com
>>>  In-Reply-To: <rt-11 at domain.com>
>>>  Message-ID: <rt-11-37.16.0156184717524 at domain.com>
>>>  Precedence: bulk
>>>  X-RT-Loop-Prevention: domain.com
>>>  RT-Ticket: domain.com #11
>>>  Managed-by: Request Tracker 2.0.13 (http://www.fsck.com/projects/rt/)
>>>  RT-Originator: requestor at req.com
>>>  To: requestor at req.com

Here's what qmail says in such situations:

May 28 23:05:18 host qmail: 1022619918.155583 info msg 88994: bytes 1937 from <rt at domain.com> qp 17908 uid 666
May 28 23:05:18 host qmail: 1022619918.183402 starting delivery 21386: msg 88994 to remote requestor at req.com
May 28 23:05:18 host qmail: 1022619918.183500 status: local 1/10 remote 1/20
May 28 23:05:18 host qmail: 1022619918.183523 starting delivery 21387: msg 88994 to remote requestor at req.com
May 28 23:05:18 host qmail: 1022619918.183543 status: local 1/10 remote 2/20

The message ID 88994 in both deliveries shows that RT send _one_ mail.


You wanna more information? I'll give you :)

Best regards,
 Matthias





More information about the rt-users mailing list