Can a user send a request to RT if he is not defined in RT db?

Hello,
I am a new user of RT. I have installed RT 3.0.3, Apache 2.0.40,
mod_perl2, Postfix on Linux RedHat 9.

I want a user to send a request tpo RT Server via e-mail from his own
e-mail client even if he is not an RT user registered in the db. Is it
possible? If so, what kind of user does RT create? Does it use Nobody? I
do not want to register all the usernames accessing RT. If I try to send
a request using for example the user roberto.cecchini (not registered as
ann RT user) I receive this error in the file log:

Jun 30 15:55:17 RT postfix/smtpd[4369]: connect from
postino.fi.infn.it[192.84.145.9]
Jun 30 15:55:17 RT postfix/smtpd[4369]: 08F932EE9FC:
client=postino.fi.infn.it[192.84.145.9]
Jun 30 15:55:17 RT postfix/cleanup[4370]: 08F932EE9FC:
message-id=200306301555.16232.roberto.cecchini@fi.infn.it
Jun 30 15:55:17 RT postfix/nqmgr[4110]: 08F932EE9FC:
from=Roberto.Cecchini@fi.infn.it, size=1308, nrcpt=1 (queue active)
Jun 30 15:55:17 RT postfix/smtpd[4369]: disconnect from
postino.fi.infn.it[192.84.145.9]
Jun 30 15:55:17 RT postfix/local[4371]: 08F932EE9FC:
to=rt@rt.fi.infn.it, relay=local, delay=0, status=bounced (Command
died with status 32: “/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://rt.fi.infn.it/”. Command output: RT server
error. The RT server which handled your email did not behave as
expected. It said:

System
error

error:  panic: sv_setpvn called with negative strlen at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line 140.
context:& Jun 30 15:55:17 RT postfix/cleanup[4370]: B99DA2EE9FD: message-id=<20030630135517.B99DA2EE9FD@rt.fi.infn.it> Jun 30 15:55:17 RT postfix/nqmgr[4110]: B99DA2EE9FD: from=<>, size=11824, nrcpt=1 (queue active) Jun 30 15:55:18 RT postfix/smtp[4375]: B99DA2EE9FD: to=, relay=postino.fi.infn.it[192.84.145.9], delay=1, status=sent (250 2.0.0 h5UDtHlF041261 Message accepted for delivery)

Thanks in advance.

Francesca Del Corso

Francesca - INFN wrote:

I want a user to send a request tpo RT Server via e-mail from his own
e-mail client even if he is not an RT user registered in the db. Is it
possible?

Sure. Grant “Everyone” or “Unprivileged” the right to
“Create Ticket” in whatever queue.

size=“-2”>panic: sv_setpvn called with negative strlen at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line
140.
<td nowrap=“nowrap” align=“left”

You have a broken, possibly RedHat-provided Encode.pm.
Upgrade it from CPAN and you’ll be much happier.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

panic: sv_setpvn called with negative strlen at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line 140.

This is a known bug, you need to apply a small patch to RT’s Email.pm:

— Email.pm.orig Sat Jun 28 13:09:48 2003
+++ Email.pm Sat Jun 28 13:10:51 2003
@@ -196,8 +196,9 @@

  # This data is tainted by some Very Broken mailers.
  # (Sometimes they send raw ISO 8859-1 data here. fear that.
  • $Username = Encode::encode(utf8 => $Username, Encode::FB_PERLQQ);
  • $Name = Encode::encode(utf8 => $Name, Encode::FB_PERLQQ);
  • require Encode;

  • $Username = Encode::encode(utf8 => $Username, Encode::FB_PERLQQ())
    if defined $Username;

  • $Name = Encode::encode(utf8 => $Name, Encode::FB_PERLQQ()) if
    defined $Name;

    my ($Val, $Message) =
    $NewUser->Create(Name => ($Username || $Address),

Sebastian

Sebastian Flothow
sebastian@flothow.de

Because it reverses the logical flow of conversation.
Why is top posting frowned upon?