Hello, I'm trying to configure RT4 so that it will be possible to create ticket from email. The mail server and RT are running on the same server. I'm running on RHEL5, so I've copy /opt/rt4/bin/rt-mailgate to /etc/smrsh/rt-mailgate
I've update the /etc/aliases file with this line : rtest: "|/etc/smrsh/rt-mailgate --queue General --action correspond --url http:/x.x.x.x:8080" rtest is the username of an existing RT user. In the WEB interface, I've granted the group 'Everyone' for the 'General' queue (Create a ticket and Reply to ). In addition in RT_SiteConfig.pm I've added this line : Set($WebExternalAuto, 1); But when I try to send a mail through the command " /etc/smrsh/rt-mailgate --queue General --action correspond --url http://x.x.x.x:8080 --debug < /root/testmsg" i get this error from the mailgate debug : /etc/smrsh/rt-mailgate: temp file is '/tmp/EwqftI9qgS/E83e2Ts_i_' /etc/smrsh/rt-mailgate: connecting to http://203.0.57.51:8080/REST/1.0/NoAuth/mail-gateway not ok - Could not load a valid user and this in the logs provided by "/opt/rt4/sbin/rt-server" : [Mon Jan 2 10:50:14 2012] [warning]: Use of uninitialized value $From in pattern match (m//) at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 151. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:151) [Mon Jan 2 10:50:14 2012] [warning]: Use of uninitialized value $From in pattern match (m//) at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 151. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:151) [Mon Jan 2 10:50:14 2012] [warning]: Use of uninitialized value $From in string eq at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 151. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:151) [Mon Jan 2 10:50:14 2012] [warning]: Use of uninitialized value $line in pattern match (m//) at /usr/local/share/perl5/Mail/Header.pm line 174. (/usr/local/share/perl5/Mail/Header.pm:174) [Mon Jan 2 10:50:14 2012] [warning]: Use of uninitialized value $line in substitution (s///) at /usr/local/share/perl5/Mail/Header.pm line 176. (/usr/local/share/perl5/Mail/Header.pm:176) [Mon Jan 2 10:50:14 2012] [warning]: Use of uninitialized value $line in substitution (s///) at /usr/local/share/perl5/Mail/Header.pm line 176. (/usr/local/share/perl5/Mail/Header.pm:176) [Mon Jan 2 10:50:14 2012] [error]: Couldn't find sender's address (/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:71) [Mon Jan 2 10:50:14 2012] [error]: Could not record email: Could not load a valid user (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) I've probably missed something during the configuration. Does anyone have a clue? Thanking you in advance, Best regards, Ronan
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012
