Limiting Who Can Open Tickets

Hey All,

Is there a way to limit who can create a ticket via email?? Right now I
have an email address that people use to create tickets and it gets a little
bit of spam and each time I get spam it opens a new ticket. I’d like to be
able to restrict the opening of tickets from people who are either at a
specific domain or have accounts on our RT system.

I’m running RT3.0.6 and using Exim as my MTA.

Thanks

Stevo

I am going to look at the code this days.
I use rt 3.0.4 and exim as MTA.
I whould be very happy if you could try this change at first as soon I
post it.

Samuel-----Original Message-----
From: Stevo [mailto:checkpoint@ozbergs.com]
Sent: Tuesday,30 September,2003 22:51
To: rt-users@lists.fsck.com

Hey All,

Is there a way to limit who can create a ticket via email?? Right now I
have an email address that people use to create tickets and it gets a
little bit of spam and each time I get spam it opens a new ticket. I’d
like to be able to restrict the opening of tickets from people who are
either at a specific domain or have accounts on our RT system.

I’m running RT3.0.6 and using Exim as my MTA.

Thanks

Stevo

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Statistics package breaks with rt 3.0.6 and rtfm 2.0
After the install i did not get any graphs

It reported
The image
http://cvs.premiepensionsmyndigheten.se/rt/Statistics/TimeToResolve/Elements/Chart?x_labels=0,,,3,,,18,,,longer&marker_size=1&data1=5,1,1,1,1,1,1,1,1,38” cannot be displayed, because it contains errors.

Help?

Statistics package breaks with rt 3.0.6 and rtfm 2.0
After the install i did not get any graphs

It reported
The image
http://cvs.premiepensionsmyndigheten.se/rt/Statistics/TimeToResolve/
Elements/Chart?
x_labels=0,3,18,longer&marker_size=1&data1=5,1,1,1,1,1,1,1,1,38”
cannot be displayed, because it contains errors.

Help?

I am still waiting for a debian package newer than rt 3.0.4 to be
available. This has presumably been delayed, because perl 5.8.1 has hit
unstable. I will only be able to fix this if I have access to a machine
with RT 3.0.6 and RTFM installed.

Regards,

 Harald

Here a very simple diff, to accept tickets by mail only from users
already in the user DB.
I added some lines as comment to explain how and what is done here.
I will made other changes (include the template autoreject) and post
them.
It works from 3.0.5 on, or 3.0.4 with change 196 or edit 26 on file
mail.pm
If not, there is no response for the deleted mail.

— /usr/share/perl5/RT/Interface/Email/Auth/MailFrom.pm
2003-09-30 15:18:59.000000000 +0200
+++ /usr/share/perl5/RT/Interface/Email/Auth/MailFrom_Local.pm
2003-10-06 18:23:45.000000000 +0200
@@ -47,8 +47,13 @@
if ( $CurrentUser->Id ) {
return ( $CurrentUser, 1 );
}

  • here we just checked if the e-mail addres corresponds to an

existent user

  • If there was one auth is set to 1 and the ticket is created

  • In the next part a new user is created, if another did’nt exist

  • If you don’t want new users to be created on submission of

tickets

  • return ( $args{‘CurrentUser’}, -1 );

    If the user can’t be loaded, we may need to create one. Figure

out the acl situation.
my $unpriv = RT::Group->new($RT::SystemUser);

Samuel-----Original Message-----
From: Stevo [mailto:checkpoint@ozbergs.com]
Sent: Tuesday,30 September,2003 22:51
To: rt-users@lists.fsck.com

Hey All,

Is there a way to limit who can create a ticket via email?? Right now I
have an email address that people use to create tickets and it gets a
little bit of spam and each time I get spam it opens a new ticket. I’d
like to be able to restrict the opening of tickets from people who are
either at a specific domain or have accounts on our RT system.