Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

RT intermittently fails to send mails after recent Debian Update

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


Torben.Nehmer at cancom

Jul 31, 2012, 2:44 AM

Post #1 of 7 (766 views)
Permalink
RT intermittently fails to send mails after recent Debian Update

Hello,

I am using RT 4 on an Debian Stable using the backports builds. On Saturday we updated the installation to 4.0.5-3~bpo60+1 in response to the latest security advisory. Since then, we have intermittent problems in the mail communication originating from the RT system. Most of the mails work fine (perhaps 99%) but a few are rejected by Postfix with this error message:

postfix/sendmail[31546]: fatal: www-data(33): No recipient addresses found in message header

There have not been any configuration changes over the weekend except for the RT upgrade off 4.0.5-1~bpo60+1.

Upon setting the log level to Debug I had the following case just a few minutes ago:

A new mail got in over the Mail gateway from User h.s [at] domai<mailto:h.s [at] domai>, a user already known to RT. The ticket got created correctly in the queue MwStFreigabe in question. It had no owner and h.s [at] domai<mailto:h.s [at] domai> as requestor. In addition, the queue has a.s [at] domai<mailto:a.s [at] domai> as AdminCC configured.

Now RT fails to send both mails related to this ticket creation:

First there is Scrip scrip 4, which is configured as "On Create, Notify AdminCcs with Global Template Transaction during TransactionCreate", there is nothing user defined beyond this.

The template Transaction is of Type Perl and looks like this:

RT-Attach-Message: yes


{$Transaction->CreatedAsString}: Anfrage {$Ticket->id} wurde verändert.
Transaktion: {$Transaction->Description}
Bereich: {$Ticket->QueueObj->Name}
Betreff: {$Transaction->Subject || $Ticket->Subject || "(No subject given)"}
Besitzer: {$Ticket->OwnerObj->Name}
Klienten: {$Ticket->RequestorAddresses}
Status: {$Ticket->Status}
Priorität: {$Ticket->Priority}/{$Ticket->FinalPriority}
Ticket <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >


{$Transaction->Content()}

The mail doesn't get sent with the error above. RT logs this (some messages about skipped scripts skipped for brevity), the transaction in question was the 964235 on Ticket 53293:

[Tue Jul 31 08:47:07 2012] [debug]: Committing scrip #4 on txn #964235 of ticket #53293 (/usr/share/request-tracker4/lib/RT/Scrips.pm:192)
[Tue Jul 31 08:47:07 2012] [debug]: Calling SetRecipientDigests for transaction RT::Transaction=HASH(0x7fcf305d8918), id 964235 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:644)
[Tue Jul 31 08:47:07 2012] [debug]: Working on mailfield Cc; recipients are (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:660)
[Tue Jul 31 08:47:07 2012] [debug]: Subject: =?UTF-8?B?W013U3QgRnJlaWdhYmUgIzUzMjkzXSBjY2QgLSAxMjUzMDcwIC0gVW50ZXJu?=
=?UTF-8?B?ZWhtZXJlaWdlbnNjaGFmdCBwcsO8ZmVu?=
From: "The RT System itself via RT" <queue [at] domai>
Reply-To: queue.rt [at] domai
In-Reply-To:
References: <RT-Ticket-53293 [at] domai>
Message-ID: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] domai>
Precedence: bulk
X-RT-Loop-Prevention: CANCOM Tickets
RT-Ticket: CANCOM Tickets #53293
Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/)
Bcc: a.s [at] domai
To: "AdminCc of CANCOM Tickets Ticket #53293":;
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667)
[Tue Jul 31 08:47:07 2012] [debug]: Removing deferred recipients from Cc: line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690)
[Tue Jul 31 08:47:07 2012] [debug]: Setting deferred recipients for attribute creation (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699)
[Tue Jul 31 08:47:07 2012] [debug]: Working on mailfield Bcc; recipients are a.s [at] domai (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:660)
[Tue Jul 31 08:47:07 2012] [debug]: Subject: =?UTF-8?B?W013U3QgRnJlaWdhYmUgIzUzMjkzXSBjY2QgLSAxMjUzMDcwIC0gVW50ZXJu?=
=?UTF-8?B?ZWhtZXJlaWdlbnNjaGFmdCBwcsO8ZmVu?=
From: "The RT System itself via RT" <queue [at] domai>
Reply-To: queue [at] domai
In-Reply-To:
References: <RT-Ticket-53293 [at] domai >
Message-ID: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] domai >
Precedence: bulk
X-RT-Loop-Prevention: CANCOM Tickets
RT-Ticket: CANCOM Tickets #53293
Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/)
Bcc: a.s [at] domai
To: "AdminCc of CANCOM Tickets Ticket #53293":;
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667)
[Tue Jul 31 08:47:07 2012] [debug]: Got user mail preference 'Individual messages' for user alexander.schmucker [at] cancom (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:681)
[Tue Jul 31 08:47:07 2012] [debug]: Removing deferred recipients from Bcc: line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690)
[Tue Jul 31 08:47:07 2012] [debug]: Setting deferred recipients for attribute creation (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699)
[Tue Jul 31 08:47:07 2012] [debug]: No recipients found for deferred delivery on transaction #964235 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:712)
[Tue Jul 31 08:47:07 2012] [info]: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO> #53293/964235 - Scrip 4 AdminCC beim Erstellen benachrichtigen (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:301)
[Tue Jul 31 08:47:07 2012] [error]: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: `/usr/sbin/sendmail -oi -t` exited with code 75 (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:465)
[Tue Jul 31 08:47:07 2012] [crit]: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: Could not send mail with command `/usr/sbin/sendmail -oi -t`: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: `/usr/sbin/sendmail -oi -t` exited with code 75 at /usr/share/request-tracker4/lib/RT/Interface/Email.pm line 466. (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:470)
[Tue Jul 31 08:47:07 2012] [warning]: No EmailInputEncodings set, fallback to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)
[Tue Jul 31 08:47:07 2012] [warning]: No EmailInputEncodings set, fallback to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)
[Tue Jul 31 08:47:07 2012] [debug]: Converting 'iso-8859-1' to 'utf-8' for text/plain - Subjectless message (/usr/share/request-tracker4/lib/RT/I18N.pm:240)

I'd appreciate any help to get to the bottom of this.

Best regards,
Torben Nehmer
-------
Torben Nehmer
Diplom Informatiker (FH)
Business System Developer
CANCOM Deutschland GmbH
Messerschmittstr. 20
89343 Scheppach
Germany
Tel.: +49 8225 - 996-1118
Fax: +49 8225 - 996-41118
torben.nehmer [at] cancom<mailto:torben.nehmer [at] cancom>
www.cancom.de<http://www.cancom.de/>
CANCOM Deutschland GmbH
Sitz der Gesellschaft: Jettingen-Scheppach
HRB 10653 Memmingen
Geschäftsführer: Martin Mayr, Tobias Hörmann
Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschließlich für den Gebrauch durch den Empfänger bestimmt!
This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee!


jzabolotnyi at arces

Jul 31, 2012, 3:51 AM

Post #2 of 7 (686 views)
Permalink
Re: RT intermittently fails to send mails after recent Debian Update [In reply to]

You missing recepient: as you can see in logs, rt is trying to send message
to To: "AdminCc of CANCOM Tickets Ticket #53293":;, but there is no
recepient's email address (and postfix drops such message). Please check
your users and verifu if all of them have email address and if in your
ticket correct address is given.

On Tue, Jul 31, 2012 at 11:44 AM, Nehmer Torben <Torben.Nehmer [at] cancom>wrote:

> Hello,****
>
> ** **
>
> I am using RT 4 on an Debian Stable using the backports builds. On
> Saturday we updated the installation to 4.0.5-3~bpo60+1 in response to the
> latest security advisory. Since then, we have intermittent problems in the
> mail communication originating from the RT system. Most of the mails work
> fine (perhaps 99%) but a few are rejected by Postfix with this error
> message:****
>
> ** **
>
> postfix/sendmail[31546]: fatal: www-data(33): No recipient
> addresses found in message header****
>
> ** **
>
> There have not been any configuration changes over the weekend except for
> the RT upgrade off 4.0.5-1~bpo60+1. ****
>
> ** **
>
> Upon setting the log level to Debug I had the following case just a few
> minutes ago:****
>
> ** **
>
> A new mail got in over the Mail gateway from User h.s [at] domai, a user
> already known to RT. The ticket got created correctly in the queue *
> MwStFreigabe* in question. It had no owner and h.s [at] domai as requestor.
> In addition, the queue has a.s [at] domai as AdminCC configured. ****
>
> ** **
>
> Now RT fails to send both mails related to this ticket creation:****
>
> ** **
>
> First there is Scrip scrip 4, which is configured as “On Create, Notify
> AdminCcs with Global Template Transaction during TransactionCreate”, there
> is nothing user defined beyond this. ****
>
> ** **
>
> The template Transaction is of Type Perl and looks like this:****
>
> ** **
>
> RT-Attach-Message: yes****
>
> ** **
>
> ** **
>
> {$Transaction->CreatedAsString}: Anfrage {$Ticket->id} wurde verändert.***
> *
>
> Transaktion: {$Transaction->Description}****
>
> Bereich: {$Ticket->QueueObj->Name}****
>
> Betreff: {$Transaction->Subject || $Ticket->Subject || "(No subject
> given)"}****
>
> Besitzer: {$Ticket->OwnerObj->Name}****
>
> Klienten: {$Ticket->RequestorAddresses}****
>
> Status: {$Ticket->Status}****
>
> Priorität: {$Ticket->Priority}/{$Ticket->FinalPriority}****
>
> Ticket <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >****
>
> ** **
>
> ** **
>
> {$Transaction->Content()}****
>
> ** **
>
> The mail doesn’t get sent with the error above. RT logs this (some
> messages about skipped scripts skipped for brevity), the transaction in
> question was the 964235 on Ticket 53293:****
>
> ** **
>
> [Tue Jul 31 08:47:07 2012] [debug]: Committing scrip #4 on txn #964235 of
> ticket #53293 (/usr/share/request-tracker4/lib/RT/Scrips.pm:192)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Calling SetRecipientDigests for
> transaction RT::Transaction=HASH(0x7fcf305d8918), id 964235
> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:644)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Working on mailfield Cc; recipients
> are (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:660)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Subject:
> =?UTF-8?B?W013U3QgRnJlaWdhYmUgIzUzMjkzXSBjY2QgLSAxMjUzMDcwIC0gVW50ZXJu?=**
> **
>
> =?UTF-8?B?ZWhtZXJlaWdlbnNjaGFmdCBwcsO8ZmVu?=****
>
> From: "The RT System itself via RT" <queue [at] domai>****
>
> Reply-To: queue.rt [at] domai****
>
> In-Reply-To: ****
>
> References: <RT-Ticket-53293 [at] domai>****
>
> Message-ID: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] domai>****
>
> Precedence: bulk****
>
> X-RT-Loop-Prevention: CANCOM Tickets****
>
> RT-Ticket: CANCOM Tickets #53293****
>
> Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/)****
>
> Bcc: a.s [at] domai****
>
> To: "AdminCc of CANCOM Tickets Ticket #53293":;****
>
> MIME-Version: 1.0****
>
> Content-Transfer-Encoding: 8bit****
>
> Content-Type: text/plain; charset="utf-8"****
>
> X-RT-Original-Encoding: utf-8
> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Removing deferred recipients from Cc:
> line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Setting deferred recipients for
> attribute creation
> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Working on mailfield Bcc; recipients
> are a.s [at] domai(/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:660)
> ****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Subject:
> =?UTF-8?B?W013U3QgRnJlaWdhYmUgIzUzMjkzXSBjY2QgLSAxMjUzMDcwIC0gVW50ZXJu?=**
> **
>
> =?UTF-8?B?ZWhtZXJlaWdlbnNjaGFmdCBwcsO8ZmVu?=****
>
> From: "The RT System itself via RT" <queue [at] domai>****
>
> Reply-To: queue [at] domai****
>
> In-Reply-To: ****
>
> References: <RT-Ticket-53293 [at] domai >****
>
> Message-ID: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] domai >****
>
> Precedence: bulk****
>
> X-RT-Loop-Prevention: CANCOM Tickets****
>
> RT-Ticket: CANCOM Tickets #53293****
>
> Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/)****
>
> Bcc: a.s [at] domai****
>
> To: "AdminCc of CANCOM Tickets Ticket #53293":;****
>
> MIME-Version: 1.0****
>
> Content-Transfer-Encoding: 8bit****
>
> Content-Type: text/plain; charset="utf-8"****
>
> X-RT-Original-Encoding: utf-8
> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Got user mail preference 'Individual
> messages' for user alexander.schmucker [at] cancom(/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:681)
> ****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Removing deferred recipients from Bcc:
> line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Setting deferred recipients for
> attribute creation
> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: No recipients found for deferred
> delivery on transaction #964235
> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:712)****
>
> [Tue Jul 31 08:47:07 2012] [info]:
> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO> #53293/964235 - Scrip 4
> AdminCC beim Erstellen benachrichtigen
> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:301)****
>
> [Tue Jul 31 08:47:07 2012] [error]:
> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: `/usr/sbin/sendmail -oi
> -t` exited with code 75
> (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:465)****
>
> [Tue Jul 31 08:47:07 2012] [crit]:
> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: Could not send mail
> with command `/usr/sbin/sendmail -oi -t`:
> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: `/usr/sbin/sendmail -oi
> -t` exited with code 75 at
> /usr/share/request-tracker4/lib/RT/Interface/Email.pm line 466.
> (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:470)****
>
> [Tue Jul 31 08:47:07 2012] [warning]: No EmailInputEncodings set, fallback
> to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)****
>
> [Tue Jul 31 08:47:07 2012] [warning]: No EmailInputEncodings set, fallback
> to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)****
>
> [Tue Jul 31 08:47:07 2012] [debug]: Converting 'iso-8859-1' to 'utf-8' for
> text/plain - Subjectless message
> (/usr/share/request-tracker4/lib/RT/I18N.pm:240)****
>
> ** **
>
> I’d appreciate any help to get to the bottom of this.****
>
> ** **
>
> Best regards,
> Torben Nehmer****
>
> -------
> Torben Nehmer
> Diplom Informatiker (FH)
> Business System Developer****
>
> CANCOM Deutschland GmbH
> Messerschmittstr. 20
> 89343 Scheppach
> Germany****
>
> Tel.: +49 8225 - 996-1118
> Fax: +49 8225 - 996-41118
> torben.nehmer [at] cancom
> www.cancom.de****
>
> CANCOM Deutschland GmbH
> Sitz der Gesellschaft: Jettingen-Scheppach
> HRB 10653 Memmingen
> Geschäftsführer: Martin Mayr, Tobias Hörmann****
>
> Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und
> ausschließlich für den Gebrauch durch den Empfänger bestimmt!
> This e-mail and any files transmitted with it are confidential intended
> solely for the use of the addressee!****
>
> ** **
>



--
Jack Zabolotnyi
Arces Network, LLC

e: jzabolotnyi [at] arces
w: http://www.arces.net

PGP key: 2048R/7F2AB658 2012-07-02
PGP fingerprint: 4C7E 00A8 5210 F3D9 0509 C70E 87C8 666E 7F2A B658


jbrandt at bestpractical

Jul 31, 2012, 5:13 AM

Post #3 of 7 (686 views)
Permalink
Re: RT intermittently fails to send mails after recent Debian Update [In reply to]

Did any perl modules get updated as part of the upgrade?

What version of Email::Address is installed?
(perl -e 'use Email::Address; print $Email::Address::VERSION;')


On 7/31/12 6:51 AM, Jack Zabolotnyi wrote:
> You missing recepient: as you can see in logs, rt is trying to send message
> to To: "AdminCc of CANCOM Tickets Ticket #53293":;, but there is no
> recepient's email address (and postfix drops such message). Please check
> your users and verifu if all of them have email address and if in your
> ticket correct address is given.
>
> On Tue, Jul 31, 2012 at 11:44 AM, Nehmer Torben <Torben.Nehmer [at] cancom>wrote:
>
>> Hello,****
>>
>> ** **
>>
>> I am using RT 4 on an Debian Stable using the backports builds. On
>> Saturday we updated the installation to 4.0.5-3~bpo60+1 in response to the
>> latest security advisory. Since then, we have intermittent problems in the
>> mail communication originating from the RT system. Most of the mails work
>> fine (perhaps 99%) but a few are rejected by Postfix with this error
>> message:****
>>
>> ** **
>>
>> postfix/sendmail[31546]: fatal: www-data(33): No recipient
>> addresses found in message header****
>>
>> ** **
>>
>> There have not been any configuration changes over the weekend except for
>> the RT upgrade off 4.0.5-1~bpo60+1. ****
>>
>> ** **
>>
>> Upon setting the log level to Debug I had the following case just a few
>> minutes ago:****
>>
>> ** **
>>
>> A new mail got in over the Mail gateway from User h.s [at] domai, a user
>> already known to RT. The ticket got created correctly in the queue *
>> MwStFreigabe* in question. It had no owner and h.s [at] domai as requestor.
>> In addition, the queue has a.s [at] domai as AdminCC configured. ****
>>
>> ** **
>>
>> Now RT fails to send both mails related to this ticket creation:****
>>
>> ** **
>>
>> First there is Scrip scrip 4, which is configured as “On Create, Notify
>> AdminCcs with Global Template Transaction during TransactionCreate”, there
>> is nothing user defined beyond this. ****
>>
>> ** **
>>
>> The template Transaction is of Type Perl and looks like this:****
>>
>> ** **
>>
>> RT-Attach-Message: yes****
>>
>> ** **
>>
>> ** **
>>
>> {$Transaction->CreatedAsString}: Anfrage {$Ticket->id} wurde verändert.***
>> *
>>
>> Transaktion: {$Transaction->Description}****
>>
>> Bereich: {$Ticket->QueueObj->Name}****
>>
>> Betreff: {$Transaction->Subject || $Ticket->Subject || "(No subject
>> given)"}****
>>
>> Besitzer: {$Ticket->OwnerObj->Name}****
>>
>> Klienten: {$Ticket->RequestorAddresses}****
>>
>> Status: {$Ticket->Status}****
>>
>> Priorität: {$Ticket->Priority}/{$Ticket->FinalPriority}****
>>
>> Ticket <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >****
>>
>> ** **
>>
>> ** **
>>
>> {$Transaction->Content()}****
>>
>> ** **
>>
>> The mail doesn’t get sent with the error above. RT logs this (some
>> messages about skipped scripts skipped for brevity), the transaction in
>> question was the 964235 on Ticket 53293:****
>>
>> ** **
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Committing scrip #4 on txn #964235 of
>> ticket #53293 (/usr/share/request-tracker4/lib/RT/Scrips.pm:192)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Calling SetRecipientDigests for
>> transaction RT::Transaction=HASH(0x7fcf305d8918), id 964235
>> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:644)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Working on mailfield Cc; recipients
>> are (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:660)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Subject:
>> =?UTF-8?B?W013U3QgRnJlaWdhYmUgIzUzMjkzXSBjY2QgLSAxMjUzMDcwIC0gVW50ZXJu?=**
>> **
>>
>> =?UTF-8?B?ZWhtZXJlaWdlbnNjaGFmdCBwcsO8ZmVu?=****
>>
>> From: "The RT System itself via RT" <queue [at] domai>****
>>
>> Reply-To: queue.rt [at] domai****
>>
>> In-Reply-To: ****
>>
>> References: <RT-Ticket-53293 [at] domai>****
>>
>> Message-ID: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] domai>****
>>
>> Precedence: bulk****
>>
>> X-RT-Loop-Prevention: CANCOM Tickets****
>>
>> RT-Ticket: CANCOM Tickets #53293****
>>
>> Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/)****
>>
>> Bcc: a.s [at] domai****
>>
>> To: "AdminCc of CANCOM Tickets Ticket #53293":;****
>>
>> MIME-Version: 1.0****
>>
>> Content-Transfer-Encoding: 8bit****
>>
>> Content-Type: text/plain; charset="utf-8"****
>>
>> X-RT-Original-Encoding: utf-8
>> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Removing deferred recipients from Cc:
>> line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Setting deferred recipients for
>> attribute creation
>> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Working on mailfield Bcc; recipients
>> are a.s [at] domai(/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:660)
>> ****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Subject:
>> =?UTF-8?B?W013U3QgRnJlaWdhYmUgIzUzMjkzXSBjY2QgLSAxMjUzMDcwIC0gVW50ZXJu?=**
>> **
>>
>> =?UTF-8?B?ZWhtZXJlaWdlbnNjaGFmdCBwcsO8ZmVu?=****
>>
>> From: "The RT System itself via RT" <queue [at] domai>****
>>
>> Reply-To: queue [at] domai****
>>
>> In-Reply-To: ****
>>
>> References: <RT-Ticket-53293 [at] domai >****
>>
>> Message-ID: <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] domai >****
>>
>> Precedence: bulk****
>>
>> X-RT-Loop-Prevention: CANCOM Tickets****
>>
>> RT-Ticket: CANCOM Tickets #53293****
>>
>> Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/)****
>>
>> Bcc: a.s [at] domai****
>>
>> To: "AdminCc of CANCOM Tickets Ticket #53293":;****
>>
>> MIME-Version: 1.0****
>>
>> Content-Transfer-Encoding: 8bit****
>>
>> Content-Type: text/plain; charset="utf-8"****
>>
>> X-RT-Original-Encoding: utf-8
>> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Got user mail preference 'Individual
>> messages' for user alexander.schmucker [at] cancom(/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:681)
>> ****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Removing deferred recipients from Bcc:
>> line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Setting deferred recipients for
>> attribute creation
>> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: No recipients found for deferred
>> delivery on transaction #964235
>> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:712)****
>>
>> [Tue Jul 31 08:47:07 2012] [info]:
>> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO> #53293/964235 - Scrip 4
>> AdminCC beim Erstellen benachrichtigen
>> (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:301)****
>>
>> [Tue Jul 31 08:47:07 2012] [error]:
>> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: `/usr/sbin/sendmail -oi
>> -t` exited with code 75
>> (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:465)****
>>
>> [Tue Jul 31 08:47:07 2012] [crit]:
>> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: Could not send mail
>> with command `/usr/sbin/sendmail -oi -t`:
>> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: `/usr/sbin/sendmail -oi
>> -t` exited with code 75 at
>> /usr/share/request-tracker4/lib/RT/Interface/Email.pm line 466.
>> (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:470)****
>>
>> [Tue Jul 31 08:47:07 2012] [warning]: No EmailInputEncodings set, fallback
>> to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)****
>>
>> [Tue Jul 31 08:47:07 2012] [warning]: No EmailInputEncodings set, fallback
>> to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)****
>>
>> [Tue Jul 31 08:47:07 2012] [debug]: Converting 'iso-8859-1' to 'utf-8' for
>> text/plain - Subjectless message
>> (/usr/share/request-tracker4/lib/RT/I18N.pm:240)****
>>
>> ** **
>>
>> I’d appreciate any help to get to the bottom of this.****
>>
>> ** **
>>
>> Best regards,
>> Torben Nehmer****
>>
>> -------
>> Torben Nehmer
>> Diplom Informatiker (FH)
>> Business System Developer****
>>
>> CANCOM Deutschland GmbH
>> Messerschmittstr. 20
>> 89343 Scheppach
>> Germany****
>>
>> Tel.: +49 8225 - 996-1118
>> Fax: +49 8225 - 996-41118
>> torben.nehmer [at] cancom
>> www.cancom.de****
>>
>> CANCOM Deutschland GmbH
>> Sitz der Gesellschaft: Jettingen-Scheppach
>> HRB 10653 Memmingen
>> Geschäftsführer: Martin Mayr, Tobias Hörmann****
>>
>> Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und
>> ausschließlich für den Gebrauch durch den Empfänger bestimmt!
>> This e-mail and any files transmitted with it are confidential intended
>> solely for the use of the addressee!****
>>
>> ** **
>>
>
>
>

--


trs at bestpractical

Jul 31, 2012, 9:08 AM

Post #4 of 7 (667 views)
Permalink
Re: RT intermittently fails to send mails after recent Debian Update [In reply to]

On 07/31/2012 02:44 AM, Nehmer Torben wrote:
> [Tue Jul 31 08:47:07 2012] [crit]:
> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: Could not send mail
> with command `/usr/sbin/sendmail -oi -t`:
> <rt-4.0.5-31511-1343724427-334.53293-4-0 [at] CANCO>: `/usr/sbin/sendmail
> -oi -t` exited with code 75 at
> /usr/share/request-tracker4/lib/RT/Interface/Email.pm line 466.
> (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:470)

Please send your Apache config for RT. Based on the error above, it may
be you're using the wrong mod_perl handler.


trs at bestpractical

Jul 31, 2012, 9:10 AM

Post #5 of 7 (673 views)
Permalink
Re: RT intermittently fails to send mails after recent Debian Update [In reply to]

On 07/31/2012 03:51 AM, Jack Zabolotnyi wrote:
> You missing recepient: as you can see in logs, rt is trying to send
> message to To: "AdminCc of CANCOM Tickets Ticket #53293":;, but there is
> no recepient's email address (and postfix drops such message). Please
> check your users and verifu if all of them have email address and if in
> your ticket correct address is given.

I suspect the postfix error is misleading (i.e. NO message headers were
found, not just no recipients).

The To: header is just RT's UseFriendlyToLine option. The real AdminCc
recipients are in the Bcc: header, as normal.


Torben.Nehmer at cancom

Jul 31, 2012, 11:51 PM

Post #6 of 7 (678 views)
Permalink
Re: RT intermittently fails to send mails after recent Debian Update [In reply to]

Hi there,

the various questions in order:

> Did any perl modules get updated as part of the upgrade?

from dpkg.log:
2012-07-27 15:11:55 upgrade libplack-perl 0.9980-1~bpo60+2 0.9986-1~bpo60+1


> What version of Email::Address is installed?

That would be 1.889 (using the Debian package 1.889-2).

> Please send your Apache config for RT.

Directives exceeding Apache Standard:

# RT Include file /etc/request-tracker4/apache-modperl2.conf
PerlSetEnv RT_SITE_CONFIG /etc/request-tracker4/RT_SiteConfig.pm
<Location />
SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /usr/share/request-tracker4/libexec/rt-server
</Location>
<Location /REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1
</Location>

<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/usr/share/request-tracker4/libexec/rt-server");
</Perl>

Header add X-UA-Compatible "IE=edge"

# Some CGI Scripts accessing RT directly
ScriptAlias /cgi-bin/ /usr/local/lib/cgi-bin-rt.cancom.de/
<Directory "/usr/local/lib/cgi-bin-rt.cancom.de">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Location /cgi-bin/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
</Location>



Best regards,
Torben Nehmer
-------
Torben Nehmer
Diplom Informatiker (FH)
Business System Developer
CANCOM Deutschland GmbH
Messerschmittstr. 20
89343 Scheppach
Germany
Tel.: +49 8225 - 996-1118
Fax: +49 8225 - 996-41118
torben.nehmer [at] cancom
www.cancom.de
CANCOM Deutschland GmbH
Sitz der Gesellschaft: Jettingen-Scheppach
HRB 10653 Memmingen
Geschäftsführer: Martin Mayr, Tobias Hörmann
Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschließlich für den Gebrauch durch den Empfänger bestimmt!
This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee!


Torben.Nehmer at cancom

Aug 1, 2012, 7:19 AM

Post #7 of 7 (724 views)
Permalink
Re: RT intermittently fails to send mails after recent Debian Update [In reply to]

Hi,

I have made a few more experiments here:

First, I tried to forward a failed message. It failed again, but differently. rt.log says:

[Wed Aug 1 14:05:40 2012] [error]: : `/usr/sbin/sendmail -oi -t` exited with code 75 (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:465)
[Wed Aug 1 14:05:40 2012] [crit]: : Could not send mail with command `/usr/sbin/sendmail -oi -t`: : `/usr/sbin/sendmail -oi -t` exited with code 75 at /usr/share/request-tracker4/lib/RT/Interface/Email.pm line 466.

Stack:
[/usr/share/request-tracker4/lib/RT/Interface/Email.pm:466]
[/usr/share/request-tracker4/lib/RT/Interface/Email.pm:767]
[/usr/share/request-tracker4/lib/RT/Interface/Email.pm:626]
[/usr/share/request-tracker4/html/Ticket/Forward.html:98]
[/usr/share/request-tracker4/html/Ticket/autohandler:19]
[/usr/share/request-tracker4/lib/RT/Interface/Web.pm:568]
[/usr/share/request-tracker4/lib/RT/Interface/Web.pm:318]
[/usr/share/request-tracker4/html/autohandler:53] (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:470)
[Wed Aug 1 14:05:40 2012] [debug]: Encode::Guess guessed encoding: ascii (/usr/share/request-tracker4/lib/RT/I18N.pm:474)
[Wed Aug 1 14:05:40 2012] [debug]: Encode::Guess guessed encoding: ascii (/usr/share/request-tracker4/lib/RT/I18N.pm:474)
[Wed Aug 1 14:05:40 2012] [debug]: Converting 'ascii' to 'utf-8' for text/plain - Subjectless message (/usr/share/request-tracker4/lib/RT/I18N.pm:240)

Postfix says at the same time:

Aug 1 16:05:40 jetws003 postfix/sendmail[1741]: fatal: www-data(33): internal protocol error

However, this is not reproducible with other failed messages.

I am starting to believe that I have two different errors here.

What I can reproduce, is a mail triggered by an CGI script which fails all the time.

The CGI Script looks like this: http://pastebin.com/qX0SCkW8

When called with testdata, it creates the ticket, returns OK but the mail doesn't get sent, again with the No Recipient error message of Postfix. According to the logs, the mail did have an receiver:

[Wed Aug 1 14:11:12 2012] [debug]: Subject: [Leasing #53426] Automatische Antwort: ccd' - test - test - test
From: "Leasing Hotline via RT" <l.h [at] domai>
Reply-To: l.h [at] domai
In-Reply-To:
References: <RT-Ticket-53426 [at] CANCO>
Message-ID: <rt-4.0.5-1953-1343830271-576.53426-3-0 [at] domai>
Precedence: bulk
X-RT-Loop-Prevention: CANCOM Tickets
RT-Ticket: CANCOM Tickets #53426
Managed-by: RT 4.0.5 (http://www.bestpractical.com/rt/)
Auto-Submitted: auto-replied
To: t.n [at] domai
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:667)
[Wed Aug 1 14:11:12 2012] [debug]: Removing deferred recipients from Bcc: line (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:690)
[Wed Aug 1 14:11:12 2012] [debug]: Setting deferred recipients for attribute creation (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:699)
[Wed Aug 1 14:11:12 2012] [debug]: No recipients found for deferred delivery on transaction #966607 (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:712)
[Wed Aug 1 14:11:12 2012] [info]: <rt-4.0.5-1953-1343830271-576.53426-3-0 [at] CANCO> #53426/966607 - Scrip 3 Auto-Reply beim Erstellen an Klient (/usr/share/request-tracker4/lib/RT/Action/SendEmail.pm:301)
[Wed Aug 1 14:11:12 2012] [error]: <rt-4.0.5-1953-1343830271-576.53426-3-0 [at] CANCO>: `/usr/sbin/sendmail -oi -t` exited with code 75 (/usr/share/request-tracker4/lib/RT/Interface/Email.pm:465)
[Wed Aug 1 14:11:12 2012] [crit]: <rt-4.0.5-1953-1343830271-576.53426-3-0 [at] CANCO>: Could not send mail with command `/usr/sbin/sendmail -oi -t`: <rt-4.0.5-1953-1343830271-576.53426-3-0 [at] CANCO>: `/usr/sbin/sendmail -oi -t` exited with code 75 at /usr/shar
[Wed Aug 1 14:11:12 2012] [warning]: No EmailInputEncodings set, fallback to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)
[Wed Aug 1 14:11:12 2012] [warning]: No EmailInputEncodings set, fallback to iso-8859-1 (/usr/share/request-tracker4/lib/RT/I18N.pm:431)

However, forwarding that message to me does work.

Please note, that both RTs configuration and the code of that CGI script has been unchanged for weeks (perhaps even months) now and it did work last week before the update.


Best regards,
Torben Nehmer
-------
Torben Nehmer
Diplom Informatiker (FH)
Business System Developer
CANCOM Deutschland GmbH
Messerschmittstr. 20
89343 Scheppach
Germany
Tel.: +49 8225 - 996-1118
Fax: +49 8225 - 996-41118
torben.nehmer [at] cancom
www.cancom.de
CANCOM Deutschland GmbH
Sitz der Gesellschaft: Jettingen-Scheppach
HRB 10653 Memmingen
Geschäftsführer: Martin Mayr, Tobias Hörmann
Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschließlich für den Gebrauch durch den Empfänger bestimmt!
This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee!

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.