[rt-users] Managing SPAM queue

Asif Iqbal iqbala-rt-users at qwestip.net
Sun Dec 18 16:26:25 EST 2005


On Mon, Dec 12, 2005 at 03:33:07PM, Darrin Khan wrote:
> Hello,
> 
> 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.

How do you find the message ID using rt cli? I know I can find it
through web `full headers'

> 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
> this.
> 
> Hope this is of some help.
> 
> Darrin
> 
> 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



More information about the rt-users mailing list