Re: Expiry limit for the duplicate delivery database
On Tue, Mar 08, 2011 at 04:30:45PM +0100, Eric Luyten wrote: > On Tue, March 8, 2011 4:24 pm, Gary Mills wrote: > > We are running cyrus-imapd-2.3.8 with this entry in /etc/cyrus.conf: > > > > delprune cmd="cyr_expire -E 3" at=0400 > > > > I believe this is the default setting. Is there any reason to keep > > message IDs around for three days? I'm wondering if reducing it to one day > > will improve performance for local deliveries simply by making the database > > smaller. I assume that it would function equally well in detecting mail > > loops > > with a one-day expiry. > > Correct, but bear in mind the delivery db is also used for limiting the > number of vacation replies per time unit per mail address, so you'll be > sending out quite a bit more of those, I assume. That might be a problem. My understanding is that duplicate suppression records the message ID and recipient. Sieve vacation must record the sender and a time interval of some sort. These are different. Does `cyr_expire' treat them both the same? We have people now who set vacation responder intervals longer than three days. Is that not working? -- -Gary Mills--Unix Group--Computer and Network Services- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Expiry limit for the duplicate delivery database
On Tue, March 8, 2011 4:24 pm, Gary Mills wrote: > We are running cyrus-imapd-2.3.8 with this entry in /etc/cyrus.conf: > > > delprune cmd="cyr_expire -E 3" at=0400 > > I believe this is the default setting. Is there any reason to keep > message IDs around for three days? I'm wondering if reducing it to one day > will improve performance for local deliveries simply by making the database > smaller. I assume that it would function equally well in detecting mail loops > with a one-day expiry. Gary, Correct, but bear in mind the delivery db is also used for limiting the number of vacation replies per time unit per mail address, so you'll be sending out quite a bit more of those, I assume. Eric Luyten, Computing Centre VUB/ULB. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Expiry limit for the duplicate delivery database
We are running cyrus-imapd-2.3.8 with this entry in /etc/cyrus.conf: delprune cmd="cyr_expire -E 3" at=0400 I believe this is the default setting. Is there any reason to keep message IDs around for three days? I'm wondering if reducing it to one day will improve performance for local deliveries simply by making the database smaller. I assume that it would function equally well in detecting mail loops with a one-day expiry. -- -Gary Mills--Unix Group--Computer and Network Services- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: After upgrade to 2.4.6 I'm not able to expunge messages
On Tue, 8 Mar 2011 11:41:07 +0100 Martin Schweizer wrote: > Hello > > I found the problem. It was not the file system or the expunged > messages. It was the quotas which are broken. After I startet quote -f > all was correct. Sorry for boring. > > One thing is I do not understand: If I delete a message (in the imap > client and close the client) which is older then expunged (as defined > in imapd.conf) and I run then cyr_expire -v -X 1 -E 1 I expect > cyr_expire showed me this deleted messages. But I can't see this > messages. Why? cyr_expire will remove (unlink) messages that were expunged more than N days ago. Separately, it will also expunge messages based on an annotation (if present) for auto-expunging. The unlink will only happen -E days AFTER the expunge. Not after the messages was created. Even if cyr_expire did the expunge, it still doesn't unlink it straight away. The theory is that this gives the user time to notice the message has gone and request a restore! Bron. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: After upgrade to 2.4.6 I'm not able to expunge messages
On 03/08/2011 06:41 AM, Martin Schweizer wrote: > Hello > > I found the problem. It was not the file system or the expunged > messages. It was the quotas which are broken. After I startet quote -f > all was correct. Sorry for boring. > > One thing is I do not understand: If I delete a message (in the imap > client and close the client) which is older then expunged (as defined > in imapd.conf) and I run then cyr_expire -v -X 1 -E 1 I expect > cyr_expire showed me this deleted messages. But I can't see this > messages. Why? Is the client compacting the folder when it closes? Or is it just leaving the messages with the delete flag set? > > > Regards, > > > 2011/3/8 Martin Schweizer: >> Hello >> >> My system: >> FreeBSD 8.1 (amd64) >> cyrus-imapd-2.4.6 >> >> So far all is working correct since the last update (four weeks ago). >> Now I recognize that the mails will not be expunge. As for the testing >> I checked my mailbox on that system: >> >> localhost> info user.martin >> {user.martin}: >> duplicatedeliver: false >> lastpop: 23-Feb-2011 17:28:33 +0100 >> lastupdate: 8-Mar-2011 08:45:41 +0100 >> partition: default >> pop3newuidl: true >> sharedseen: false >> size: 239411 >> >> I haven't 240MB in my mailbox. >> >> Here the relevant part of /usr/local/etc/imapd.conf and cyrus.conf: >> >> expunge_mode: delayed >> expunge_days: 1 >> >> delprune cmd="cyr_expire -X 5 -E 3" at=0400 >> >> If I start ./cyr_expire -E 1 -X 1 -p user.martin -v by hand I get: >> >> Expunging deleted messages in mailboxes older than 1 days >> Expunged 0 out of 774 messages from 16 mailboxes >> >> In /var/log/debug I see only messages such: >> # bzgrep cyr_ex /var/log/debug* | grep martin >> /var/log/debug.log.4.bz2:Mar 8 04:00:01 acsvfbsd06 cyr_expire[99550]: >> Repacking mailbox user.martin.DenyHosts >> >> If I start # ./unexpunge -l user.martin -v. I get no output. >> >> This is what I get on the disks: >> # du -h -d 1 ./martin >> 48K./martin/IPass >> 78K./martin/Sent >> 68K./martin/Sendmail_Statistik >> 68K./martin/SwissVaultBackup >> 38K./martin/NetVault_Lizenz >> 1,2M./martin/Auswertung >> 2,4M./martin/Cron >> 34K./martin/DenyHosts >> 5,6M./martin/Disks >> 110K./martin/Drafts >> 19M./martin/NetVault >> 124K./martin/Postmaster >> 68M./martin/System >> 5,8M./martin/Trash >> 54K./martin/Spam >> 103M./martin >> # pwd >> /usr/imap/var/spool/imap/user >> >> I also start an reconstruct with different options, also with no luck. >> >> So what did i wrong? >> >> Regards, >> >> -- >> Martin Schweizer >> schweizer.mar...@gmail.com >> > > > Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: After upgrade to 2.4.6 I'm not able to expunge messages
Hello I found the problem. It was not the file system or the expunged messages. It was the quotas which are broken. After I startet quote -f all was correct. Sorry for boring. One thing is I do not understand: If I delete a message (in the imap client and close the client) which is older then expunged (as defined in imapd.conf) and I run then cyr_expire -v -X 1 -E 1 I expect cyr_expire showed me this deleted messages. But I can't see this messages. Why? Regards, 2011/3/8 Martin Schweizer : > Hello > > My system: > FreeBSD 8.1 (amd64) > cyrus-imapd-2.4.6 > > So far all is working correct since the last update (four weeks ago). > Now I recognize that the mails will not be expunge. As for the testing > I checked my mailbox on that system: > > localhost> info user.martin > {user.martin}: > duplicatedeliver: false > lastpop: 23-Feb-2011 17:28:33 +0100 > lastupdate: 8-Mar-2011 08:45:41 +0100 > partition: default > pop3newuidl: true > sharedseen: false > size: 239411 > > I haven't 240MB in my mailbox. > > Here the relevant part of /usr/local/etc/imapd.conf and cyrus.conf: > > expunge_mode: delayed > expunge_days: 1 > > delprune cmd="cyr_expire -X 5 -E 3" at=0400 > > If I start ./cyr_expire -E 1 -X 1 -p user.martin -v by hand I get: > > Expunging deleted messages in mailboxes older than 1 days > Expunged 0 out of 774 messages from 16 mailboxes > > In /var/log/debug I see only messages such: > # bzgrep cyr_ex /var/log/debug* | grep martin > /var/log/debug.log.4.bz2:Mar 8 04:00:01 acsvfbsd06 cyr_expire[99550]: > Repacking mailbox user.martin.DenyHosts > > If I start # ./unexpunge -l user.martin -v. I get no output. > > This is what I get on the disks: > # du -h -d 1 ./martin > 48K ./martin/IPass > 78K ./martin/Sent > 68K ./martin/Sendmail_Statistik > 68K ./martin/SwissVaultBackup > 38K ./martin/NetVault_Lizenz > 1,2M ./martin/Auswertung > 2,4M ./martin/Cron > 34K ./martin/DenyHosts > 5,6M ./martin/Disks > 110K ./martin/Drafts > 19M ./martin/NetVault > 124K ./martin/Postmaster > 68M ./martin/System > 5,8M ./martin/Trash > 54K ./martin/Spam > 103M ./martin > # pwd > /usr/imap/var/spool/imap/user > > I also start an reconstruct with different options, also with no luck. > > So what did i wrong? > > Regards, > > -- > Martin Schweizer > schweizer.mar...@gmail.com > -- Martin Schweizer schweizer.mar...@gmail.com Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
After upgrade to 2.4.6 I'm not able to expunge messages
Hello My system: FreeBSD 8.1 (amd64) cyrus-imapd-2.4.6 So far all is working correct since the last update (four weeks ago). Now I recognize that the mails will not be expunge. As for the testing I checked my mailbox on that system: localhost> info user.martin {user.martin}: duplicatedeliver: false lastpop: 23-Feb-2011 17:28:33 +0100 lastupdate: 8-Mar-2011 08:45:41 +0100 partition: default pop3newuidl: true sharedseen: false size: 239411 I haven't 240MB in my mailbox. Here the relevant part of /usr/local/etc/imapd.conf and cyrus.conf: expunge_mode: delayed expunge_days: 1 delprune cmd="cyr_expire -X 5 -E 3" at=0400 If I start ./cyr_expire -E 1 -X 1 -p user.martin -v by hand I get: Expunging deleted messages in mailboxes older than 1 days Expunged 0 out of 774 messages from 16 mailboxes In /var/log/debug I see only messages such: # bzgrep cyr_ex /var/log/debug* | grep martin /var/log/debug.log.4.bz2:Mar 8 04:00:01 acsvfbsd06 cyr_expire[99550]: Repacking mailbox user.martin.DenyHosts If I start # ./unexpunge -l user.martin -v. I get no output. This is what I get on the disks: # du -h -d 1 ./martin 48K./martin/IPass 78K./martin/Sent 68K./martin/Sendmail_Statistik 68K./martin/SwissVaultBackup 38K./martin/NetVault_Lizenz 1,2M./martin/Auswertung 2,4M./martin/Cron 34K./martin/DenyHosts 5,6M./martin/Disks 110K./martin/Drafts 19M./martin/NetVault 124K./martin/Postmaster 68M./martin/System 5,8M./martin/Trash 54K./martin/Spam 103M./martin # pwd /usr/imap/var/spool/imap/user I also start an reconstruct with different options, also with no luck. So what did i wrong? Regards, -- Martin Schweizer schweizer.mar...@gmail.com Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/