Re: Auto-deleting messages (header date vs internal date)

2005-04-28 Thread Eddy Beliveau
Hi!
I'm using cyrus-imapd-2.2.8-6.3 with success.
but I noticed that the cyr_expire is based on the Date header instead of the Internal email's 
creation date

This cause me problem when I restored (from backup)+reconstruct  some student emails which then just 
get deleted again on next cyr_expire daily run,

How can I specify to cyr_expire to use the internal date instead of the header 
date ?
Am I the only one with that problem ?
Thanks,
Eddy
- Original Message - 
Subject: Re: Auto-deleting messages


Actually, if you just want to delete based on age, cyr_expire using the
/vendor/cmu/cyrus-imapd/expire annotation gives you better control. 
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Auto-deleting messages

2005-04-27 Thread Michael Spicyn
I have unique problem. Due to office politics or whatever the main 
server used is M$exchange.
Since availability of email service is a key business issue to this 
company and since M$exchange was going down to often and since they 
cannot give up using M$exchange I was hired to come up with the solution.

Solution would require: protection of M$exchange servers to receive only 
prestine (clean) messages, and in case that is not enough and M$exchange 
goes down, provide users with alternative email server where they can 
login and have ALL previous messages there and while working there get 
the efforts of their work back on M$exchange when it up.

To make the long story short, I have provided them with 2 Linux servers, 
postfix, cyrus, squirrelsmail, calmav, amavis+new,  samba (winbind 
especially for authentication, thus no user administration on Linux 
servers) and ldap + my sh/perl sripts.

The reason for 2 Servers - if one goes down the other is a replica (kind 
of) of the other - thus email services are still operational.
So I am authenticating users login in only in SquirrelMail via winbind 
agains M$ ActiveDirectories Servers.

Every hour I am polling pertinent user data (emails, maildrops, group 
mambership, etc) from M$ ActiveDirectories and storing it in LDAP but I 
also add additional maildrops - which are my 2 servers - thus message 
will not only be delivers to M$exchange but also to my Linux servers via 
lmtp to Cyrus.

Here is the essence of my problem:
Cyrus will be recieving all messages while these messages will be hardly 
managed - ea users will login only in emergency and their attention is 
on reading and sending messages - not on proper management of messages.

Obviously sooner or later I will run out of disk space.
Can I somehow induce Cyrus to delete messages that are, lets say 3 month 
old?

If you have any solution to this please reply ASAP
If you would like to know more details about this project let me know 
and I will email my installation journal.



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Auto-deleting messages

2005-04-27 Thread Sebastian Hagedorn
Hi,
--On 27. April 2005 1:17:12 Uhr -0400 Michael Spicyn [EMAIL PROTECTED] 
wrote:

Can I somehow induce Cyrus to delete messages that are, lets say 3 month
old?
man  ipurge
It doesn't work as well as I'd like it to, but it's a start.
Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn - RZKR-R1 (Gebude 52), Zimmer 18
Zentrum fr angewandte Informatik - Universittsweiter Service RRZK
Universitt zu Kln / Cologne University - Tel. +49-221-478-5587

pgp2gtpt3uSZ7.pgp
Description: PGP signature


Re: Auto-deleting messages

2005-04-27 Thread Ken Murchison
Sebastian Hagedorn wrote:
Hi,
--On 27. April 2005 1:17:12 Uhr -0400 Michael Spicyn 
[EMAIL PROTECTED] wrote:

Can I somehow induce Cyrus to delete messages that are, lets say 3 month
old?

man  ipurge
It doesn't work as well as I'd like it to, but it's a start.
Actually, if you just want to delete based on age, cyr_expire using the 
/vendor/cmu/cyrus-imapd/expire annotation gives you better control.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Auto-deleting messages

2005-04-27 Thread Andreas Hasenack
On Wed, Apr 27, 2005 at 10:56:50AM -0400, Ken Murchison wrote:
 man  ipurge
 
 It doesn't work as well as I'd like it to, but it's a start.
 
 Actually, if you just want to delete based on age, cyr_expire using the 
 /vendor/cmu/cyrus-imapd/expire annotation gives you better control.

Which (for completeness of this thread) can be set using cyradm:

imap.server mboxconfig Trash expire 5
imap.server info Trash
{Trash}:
  expire: 5
  lastupdate: 27-Apr-2005 04:00:40 -0300
  partition: default
  size: 0
  squat: false
imap.server

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html