Removing spam after 15 days

2007-09-25 Thread Kevin Jackson
Hi all, My setup is james + postgresql (jdbc based mail store). I store spam in a separate table from my ham email and I want a process to remove spam messages after a ${delay} (say 2 weeks). I'm not sure that writing a mailet would be the best solution, so I thought I'd ask for advice before st

Re: Removing spam after 15 days

2007-09-25 Thread Norman Maurer
Hi, I think I whould write a skript which get called every night via cron-job. bye Norman Am Dienstag, den 25.09.2007, 17:12 +0700 schrieb Kevin Jackson: > Hi all, > > My setup is james + postgresql (jdbc based mail store). I store spam > in a separate table from my ham email and I want a pro

Re: Removing spam after 15 days

2007-09-25 Thread Robert Burrell Donkin
On 9/25/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Hi all, > > My setup is james + postgresql (jdbc based mail store). I store spam > in a separate table from my ham email and I want a process to remove > spam messages after a ${delay} (say 2 weeks). what client protocol? - robert -

Re: Removing spam after 15 days

2007-09-25 Thread Kevin Jackson
> > My setup is james + postgresql (jdbc based mail store). I store spam > > in a separate table from my ham email and I want a process to remove > > spam messages after a ${delay} (say 2 weeks). > > what client protocol? pop3, but I think the script + cron job is a good idea Kev --

Re: Removing spam after 15 days

2007-09-26 Thread Robert Burrell Donkin
On 9/26/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: > > > My setup is james + postgresql (jdbc based mail store). I store spam > > > in a separate table from my ham email and I want a process to remove > > > spam messages after a ${delay} (say 2 weeks). > > > > what client protocol? > > pop3, but

Re: Removing spam after 15 days

2007-09-26 Thread Kevin Jackson
> > pop3, but I think the script + cron job is a good idea > > AIUI POP3 will download all mail from the server to the client. the > SPAM will therefore not be on the server to be deleted. > > or am i missing something? We store the spam in a separate table, this allows the user to view their spam

Re: Removing spam after 15 days

2007-09-26 Thread Norman Maurer
Hi Kev, what about writing a "small" service which get wired via assembly.xml ? So it will automatic startet via james and do the job until james is stopped.. Does this sound better ? If you have questions i can probaly assist you... bye Norman Am Donnerstag, den 27.09.2007, 11:51 +0700 schri

Re: Removing spam after 15 days

2007-09-26 Thread Kevin Jackson
Hi Norman, > what about writing a "small" service which get wired via assembly.xml ? > So it will automatic startet via james and do the job until james is > stopped.. > Does this sound better ? This does sound like the kind of thing we want, which apis should I be looking at (presumably not the

Re: Removing spam after 15 days

2007-09-26 Thread Norman Maurer
Am Donnerstag, den 27.09.2007, 12:57 +0700 schrieb Kevin Jackson: > Hi Norman, > > > what about writing a "small" service which get wired via assembly.xml ? > > So it will automatic startet via james and do the job until james is > > stopped.. > > Does this sound better ? > > This does sound li

Re: Removing spam after 15 days

2007-09-27 Thread Stefano Bagnara
Kevin Jackson ha scritto: > Hi Norman, > >> what about writing a "small" service which get wired via assembly.xml ? >> So it will automatic startet via james and do the job until james is >> stopped.. >> Does this sound better ? > > This does sound like the kind of thing we want, which apis shoul