[rt-users] [RT4] Mailgate couldn't find sender's address and load a valid user
Ruslan Zakirov
ruz at bestpractical.com
Sat Jan 14 14:43:07 EST 2012
Hi,
Tested with RT 4.0.4 and all modules up to date from the CPAN. Works
without any issues. If user has rights to create tickets then ticket
created and non ASCII symbols are decrypted.
Все читабельно, в интерфейсе вижу Александр Кубаткин в заголовках письма.
Additional information required to diagnose this further.
On Sat, Jan 14, 2012 at 14:25, Alexander Kubatkin <kaa at beirel.ru> wrote:
> Hello,
>
> 08.01.12 23:54, Ruslan Zakirov пишет:
>> Hi,
>>
>> From address is wrong in testmail or new users don't have permissions
>> to create tickets.
>>
>
>
> I'm not sure in this, try to check with test message which in "From:" record contain value like this:
>
> From: =?UTF-8?B?
>
> encoded name is in a russian, such "From:" give us
> not ok - Could not load a valid user
>
> if this record changed to
>
> From: "test" <some_test at mail.ru>
> or
> From: test <some_test at mail.ru>
>
> there is no problem and ticket created.
>
> So this is problem in RT, I hope this would be fixed ASAP.
>
>> On Mon, Jan 2, 2012 at 14:56, Ronan MOUCHOUX<rmouchoux at gmail.com> wrote:
>>> 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
>>
>>
>>
>
>
> --
> Александр Кубаткин
> Руководитель отдела ИТ
> Бэйрэль Телеком ISP
> http://www.beirel.ru/?p=contacts
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston March 5 & 6, 2012
--
Best regards, Ruslan.
More information about the rt-users
mailing list