[rt-users] Managing SPAM queue

Darrin Khan medavian at gmail.com
Sun Dec 11 23:33:07 EST 2005


I too have been trying to find a solution to the exact same task.
At this stage we are looking at making copies of the incoming emails to disk
via procmail.
Using the /opt/rt3/bin/rt cli tool, selecting the tickets in the SPAM queue
and pulling out the message ID.
Then greping for the message-id to find the message in the folder on disk
and using that to import the origional message into spamassasin.

Very clunky way of doing it, but this is all I have been able to come up
with over the past few weeks of trying to find an efficient way of doing

Hope this is of some help.


On 12/12/05, Asif Iqbal <iqbala-rt-users at qwestip.net> wrote:
> On Thu, Dec 08, 2005 at 11:16:21PM, Asif Iqbal wrote:
> > Hi All
> >
> > I am using spamassassin before sending the email to RT. So it filters
> > out most-of-the spams before it reaches the queue. However there are
> > some spams that manage to slip thru the filter and make it to the queue
> > from time to time.
> >
> > To collect those tickets I created a separate queue call SPAM. Users
> > drop those spam tickets in that queue and that part works just fine.
> > Now I want pull those tickets out of the queue and pipe it through my
> > spam learner and then delete them. I think to do it as a cronjob would
> > be most efficient.
> >
> > However to achieve that I need to find a way grab the ticket with full
> headers in cli.
> >
> > Any suggestion or hints on this or pointing to a already better approach
> > would be greatly appreciated.
> In otherwords is there a way, may be cli or may be api, that I can pull
> a ticket's first transaction with all the email headers? Any reference
> to the wiki/list archive/rt book will do and I can start from there.
> Thanks
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> "..there are two kinds of people: those who work and those who take the
> credit...try
> to be in the first group;...less competition there."  - Indira Gandhi
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> Download a free sample chapter of RT Essentials from O'Reilly Media at
> http://rtbook.bestpractical.com
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at
> http://bestpractical.com/services/training.html

Darrin Khan
medavian at gmail.com
"If you save the world too often, it begins to expect it..."
- Unknown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20051212/feb78589/attachment.htm>

More information about the rt-users mailing list