[rt-users] RT intermittently fails to send mails after recent Debian Update

Nehmer Torben Torben.Nehmer at cancom.de
Wed Aug 1 10:19:48 EDT 2012


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 domain>
Reply-To: l.h at domain
In-Reply-To: 
References: <RT-Ticket-53426 at CANCOM>
Message-ID: <rt-4.0.5-1953-1343830271-576.53426-3-0 at domain>
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 domain
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 CANCOM> #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 CANCOM>: `/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 CANCOM>: Could not send mail with command `/usr/sbin/sendmail -oi -t`: <rt-4.0.5-1953-1343830271-576.53426-3-0 at CANCOM>: `/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.de
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!



More information about the rt-users mailing list