Hello, I tried to run 3.8.12 with b7a5a53 patch on RHEL5 system. Outgoing emails work, but incoming doesn't. I see this on my maillog:
May 25 11:40:15 hostname postfix/local[13235]: 8D0CE137D68: to=<[email protected]>, relay=local, delay=0.6, delays=0.01/0/0/0.58, dsn=4.3.0, status=deferred (temporary failure. Command output: An Error Occurred ================= 500 Server closed connection without sending any data back ) And this on my syslog: May 25 11:40:14 hostname RT: <[email protected]> #4242/34054 - Scrip 3 On Create Autoreply To Requestors (/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:302) May 25 11:40:15 hostname RT: <[email protected]> sent To: [email protected] (/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:333) May 25 11:40:15 hostname RT: <[email protected] - Scrip 4 On Create Notify AdminCcs (/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:302) May 25 11:40:15 hostname RT: Undefined value assigned to typeglob at /usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Email.pm line 459. (/usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Email.pm:459) May 25 11:40:15 hostname RT: <[email protected]> sent Bcc: [email protected], [email protected], ... (/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:333) May 25 11:40:15 hostname RT: Ticket 4242 created in queue 'queuename' by [email protected] (/usr/lib/perl5/vendor_perl/5.8.8/RT/Ticket_Overlay.pm:671) May 25 11:40:15 hostname RT: Apache2::RequestIO::rflush: (103) Software caused connection abort at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 1020 (/usr/sbin/webmux.pl:115) So, RT creates a new ticket and sends outgoing emails, but doesn't return OK to rt-mailgate. Postfix thinks that the mail failed and retries it 10 minutes later. And again, creating multiple new tickets. Apache's errorlog is empty. Line 459 in Email.pm is the line added by b7a5a53: local *STDIN = IO::Handle->new_from_fd( 0, "r" ); What am I missing?
