Rt-mailgate issues with 4.2.12 (Use of uninitialized value $NewSubject)

We upgraded to 4.2.12 and everything looked ok. However, we are now unable to submit tickets via email using rt-mailgate. I have seen many posts but none of the proposed solutions seem to work. We are using the same command as we did in 3.8.7 for sendmail . Here is our setup.

Perl: 5.16.3
Rt-mailgate is using sendmail

testemail: “|/apps/rt4/bin/rt-mailgate
–queue ‘General’ --action correspond
–url https://requesttracker.edu/ --no-verify-ssl”

In RT_SiteConfig.pm
Set($WebFallbackToRTLogin, “true”);
Set($WebRemoteUserAutocreate, 1);

Error:
Command line : not ok - Could not load a valid user

RT debug log; [20557] [Tue Feb 9 18:36:23 2016] [warning]: Use of uninitialized value $NewSubject in scalar chomp at /apps/rt4/sbin/…/lib/RT/Interface/Email.pm line 1374. (/apps/rt4/sbin/…/lib/RT/Interface/Email.pm:1374)
[20557] [Tue Feb 9 18:36:23 2016] [error]: Couldn’t parse or find sender’s address (/apps/rt4/sbin/…/lib/RT/Interface/Email/Auth/MailFrom.pm:74)
[20557] [Tue Feb 9 18:36:23 2016] [error]: Could not record email: Could not load a valid user (/apps/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)

–Dale

Dale Poulter
Coordinator, Search and Core Services
Library Digital Services
Vanderbilt University
419 21st Avenue South, Room 812
Nashville, TN 37203-2427
(615)343-5388
(615)207-9705 (cell)
dale.poulter@vanderbilt.edumailto:dale.poulter@vanderbilt.edu

All,

It appears that the problem is even more widespread. The system will not accept any email. The errors appear to point to missing subjects and from addresses but the process worked before the upgrade. ANY help will be appreciated. I am out of ideas.

-DaleFrom: Poulter, Dale
Sent: Tuesday, February 09, 2016 12:41 PM
To: rt-users@lists.bestpractical.com
Subject: rt-mailgate issues with 4.2.12 (Use of uninitialized value $NewSubject)

We upgraded to 4.2.12 and everything looked ok. However, we are now unable to submit tickets via email using rt-mailgate. I have seen many posts but none of the proposed solutions seem to work. We are using the same command as we did in 3.8.7 for sendmail . Here is our setup.

Perl: 5.16.3
Rt-mailgate is using sendmail

testemail: “|/apps/rt4/bin/rt-mailgate
–queue ‘General’ --action correspond
–url https://requesttracker.edu/ --no-verify-ssl”

In RT_SiteConfig.pm
Set($WebFallbackToRTLogin, “true”);
Set($WebRemoteUserAutocreate, 1);

Error:
Command line : not ok - Could not load a valid user

RT debug log; [20557] [Tue Feb 9 18:36:23 2016] [warning]: Use of uninitialized value $NewSubject in scalar chomp at /apps/rt4/sbin/…/lib/RT/Interface/Email.pm line 1374. (/apps/rt4/sbin/…/lib/RT/Interface/Email.pm:1374)
[20557] [Tue Feb 9 18:36:23 2016] [error]: Couldn’t parse or find sender’s address (/apps/rt4/sbin/…/lib/RT/Interface/Email/Auth/MailFrom.pm:74)
[20557] [Tue Feb 9 18:36:23 2016] [error]: Could not record email: Could not load a valid user (/apps/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)

–Dale

Dale Poulter
Coordinator, Search and Core Services
Library Digital Services
Vanderbilt University
419 21st Avenue South, Room 812
Nashville, TN 37203-2427
(615)343-5388
(615)207-9705 (cell)
dale.poulter@vanderbilt.edumailto:dale.poulter@vanderbilt.edu

All,

It appears that the problem is even more widespread. The system will not
accept any email. The errors appear to point to missing subjects and from
addresses but the process worked before the upgrade. ANY help will be
appreciated. I am out of ideas.

Is sendmail/postfix/exim/etc. listening?

Can you send email to the system locally?

date | mail -s ‘a test email that shows the date’ somebody@vanderbuilt.edu

Have you checked the firewall?

Start with the basics and work your way up the stack.

-m