[rt-users] Re: Request Tracker (Spamassassin)
Roy El-Hames
rfh at pipex.net
Mon Jan 8 09:15:33 EST 2007
Hi Jurgen;
I am not sure if I am the right person, are you sure it was posted by me ..
In my environment spam is dealt with on the mail server before it hits
RT, when these spam messages hit RT they usually identified by
*****SPAM***** in the subject line, to delete them all I used to do is a
scrip with:
Condition : On Create
Action : User Defined
Template: Blank
Stage: TransactionCreate
Custom action preparation code:
if ($self->TicketObj->Subject()=~ /\*\*\*\*\*SPAM\*\*\*\*\*/i){
$self->TicketObj->SetStatus('deleted');
return 1;
}
I am posting your request to the list in case someone else can help you.
Regards;
Roy
Wendler, Jürgen wrote:
> Hello,
>
> I was just browsing the Mailinglist of Request-Tracker, searching for a Custom Scrip to move Mails which come through Spamassassin, in a Special Queue. Now youve posted, that you wrote a scrip to do this. Ive got several problems with that, because i dont know very much about Custom Scrip Actions. I read the wiki of course but that does not give me enough hints do to this on my own.
> Now my Question is, could you give me your Scrip, so that I can modify it a little bit? I would leave some Copyright Informations on it if you want. I really need it, then i am getting around 870 Spam Emails on one day into my RT.
>
> Much thx for reading and perhaps for answering me.
>
> Kindly regards..... J. Wendler
>
>
> --
> DIMDI - Deutsches Institut für Medizinische Dokumentation und Information
> Auszubildender Fachinformatiker Systemintegration
> Jürgen Wendler
> Waisenhausgasse 36 - 38a
> 50676 Koeln
> juergen.wendler at dimdi.de
> www.dimdi.de
>
>
More information about the rt-users
mailing list