Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-06 Thread Joseph Tam
Charles Marcus writes: On 2012-08-03 6:33 PM, Voytek Eymont wrote: don't know, looking this morning it shows like below, the 00:05:05 is probably last time I did 'ls'? I was doing 'ls' or web mail refresh, to see what gets removed from 'spam' box, before and after each attempt to expunge :

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-05 Thread Robert Schetterer
Am 06.08.2012 00:47, schrieb Voytek Eymont: > > On Mon, August 6, 2012 2:23 am, Charles Marcus wrote: > >> The 'date.saved:' is the date/time that the message was moved into that >> folder. >> >> The clock for these messages is based on the time it was moved into that >> folder, NOT the date/time

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-05 Thread Charles Marcus
On 2012-08-05 6:47 PM, Voytek Eymont wrote: On Mon, August 6, 2012 2:23 am, Charles Marcus wrote: The 'date.saved:' is the date/time that the message was moved into that folder. The clock for these messages is based on the time it was moved into that folder, NOT the date/time the message was

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-05 Thread Voytek Eymont
On Mon, August 6, 2012 2:23 am, Charles Marcus wrote: > The 'date.saved:' is the date/time that the message was moved into that > folder. > > The clock for these messages is based on the time it was moved into that > folder, NOT the date/time the message was received in the message header. > Mayb

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-05 Thread Charles Marcus
On 2012-08-03 6:33 PM, Voytek Eymont wrote: don't know, looking this morning it shows like below, the 00:05:05 is probably last time I did 'ls'? I was doing 'ls' or web mail refresh, to see what gets removed from 'spam' box, before and after each attempt to expunge : date.saved: 2012-08-03 00:0

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Fri, August 3, 2012 11:53 pm, Timo Sirainen wrote: > On 3.8.2012, at 16.47, Voytek Eymont wrote: >>> Find out what Dovecot thinks the save dates are: >>> doveadm fetch -u user@domain date.saved mailbox spam >> date.saved: 2012-08-03 22:44:09 >> date.saved: 2012-08-03 22:44:09 >> date.saved: 20

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 16.47, Voytek Eymont wrote: >> Find out what Dovecot thinks the save dates are: >> doveadm fetch -u user@domain date.saved mailbox spam > > Timo, thanks > > I see... > > date.saved: 2012-08-03 22:44:09 > date.saved: 2012-08-03 22:44:09 > date.saved: 2012-08-03 22:44:09 > date.sa

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Fri, August 3, 2012 11:42 pm, Timo Sirainen wrote: > On 3.8.2012, at 16.09, Voytek Eymont wrote: > >>> doveadm expunge -A mailbox Junk savedbefore 7d; >> where am I going wrong ? >> nothing gets removed: > Find out what Dovecot thinks the save dates are: > doveadm fetch -u user@domain date.sav

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 16.09, Voytek Eymont wrote: >> doveadm expunge -A mailbox Junk savedbefore 7d; > > where am I going wrong ? > > nothing gets removed: Find out what Dovecot thinks the save dates are: doveadm fetch -u user@domain date.saved mailbox spam I'm pretty sure the problem is simply th

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Fri, August 3, 2012 11:14 pm, Robert Schetterer wrote: > do you use expire plugin ? > > http://wiki2.dovecot.org/Plugins/Expire no... I saw this part: "Note that: This command runs fine even without expire plugin loaded." and assumed I didn't have to OK, back to drawing board, thanks fo

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Robert Schetterer
Am 03.08.2012 15:09, schrieb Voytek Eymont: > > On Tue, July 10, 2012 9:34 pm, Robert Schetterer wrote: > >> perhaps use daily cron with something like this >> >> doveadm expunge -A mailbox Junk savedbefore 7d; > > where am I going wrong ? > > nothing gets removed: > > # pwd > /var/mail/vhost

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Tue, July 10, 2012 9:34 pm, Robert Schetterer wrote: > perhaps use daily cron with something like this > > doveadm expunge -A mailbox Junk savedbefore 7d; where am I going wrong ? nothing gets removed: # pwd /var/mail/vhosts/sbt.net.au/s...@sbt.net.au/.spam/cur # ls | wc 532 532

Re: [Dovecot] getting rid of old spam from +spam Maildir ? [ auto purging spambox]

2012-07-12 Thread Andrzej A. Filip
On 07/12/2012 12:29 PM, Wojciech Puchar wrote: >>> is spam, but provide proper SMTP response. >> >> I personally do not recommend rejecting cases (very) close to spam/ham >> border in SMTP session > well i have very very low amount of misses > > but consider generating meaningful SMTP response like

Re: [Dovecot] getting rid of old spam from +spam Maildir ? [ auto purging spambox]

2012-07-12 Thread Wojciech Puchar
is spam, but provide proper SMTP response. I personally do not recommend rejecting cases (very) close to spam/ham border in SMTP session well i have very very low amount of misses but consider generating meaningful SMTP response like "if you are not spammer call us, so we will fix it"

Re: [Dovecot] getting rid of old spam from +spam Maildir ? [ auto purging spambox]

2012-07-10 Thread Andrzej A. Filip
On 07/10/2012 07:11 PM, Wojciech Puchar wrote: >>> if I simply delete mail files from the file system, is that a 'bad >>> thing' ? >>> [...] >> IMHO 7 days is dangerously too short. False positives during vacations >> happen too ;-) >> >> I would suggest at least 30 days (as used by Gmail). >> > or

Re: [Dovecot] getting rid of old spam from +spam Maildir ? [ auto purging spambox]

2012-07-10 Thread Wojciech Puchar
if I simply delete mail files from the file system, is that a 'bad thing' ? [...] IMHO 7 days is dangerously too short. False positives during vacations happen too ;-) I would suggest at least 30 days (as used by Gmail). or use spam system that NEVER actually receive something it thinks it is

Re: [Dovecot] getting rid of old spam from +spam Maildir ? [ auto purging spambox]

2012-07-10 Thread Andrzej A. Filip
On 07/10/2012 01:25 PM, Voytek Eymont wrote: > I'm trying to setup per user '+spam' delivery from amavis tags, so that > each user gets any mails tagged as spam to 'spam' Maildir via +spam > Dovecot lmtp delivery. > > after say 7 days I want to delete all spams older than 7 days, > if I simply dele

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-07-10 Thread Wojciech Puchar
Dovecot lmtp delivery. after say 7 days I want to delete all spams older than 7 days, if I simply delete mail files from the file system, is that a 'bad thing' ? i don't use lmtp so maybe i'm wrong but if you use maildir format just deleting/moving files always work properly

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-07-10 Thread Robert Schetterer
Am 10.07.2012 13:34, schrieb Robert Schetterer: > Am 10.07.2012 13:25, schrieb Voytek Eymont: >> I'm trying to setup per user '+spam' delivery from amavis tags, so that >> each user gets any mails tagged as spam to 'spam' Maildir via +spam >> Dovecot lmtp delivery. > > i have no amavis, i use a gl

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-07-10 Thread Robert Schetterer
Am 10.07.2012 13:25, schrieb Voytek Eymont: > I'm trying to setup per user '+spam' delivery from amavis tags, so that > each user gets any mails tagged as spam to 'spam' Maildir via +spam > Dovecot lmtp delivery. i have no amavis, i use a global sieve rule to deliver tagged mail into special Junk

[Dovecot] getting rid of old spam from +spam Maildir ?

2012-07-10 Thread Voytek Eymont
I'm trying to setup per user '+spam' delivery from amavis tags, so that each user gets any mails tagged as spam to 'spam' Maildir via +spam Dovecot lmtp delivery. after say 7 days I want to delete all spams older than 7 days, if I simply delete mail files from the file system, is that a 'bad thing