Re: how to deal with mail retention/archival.

2016-08-26 Thread Giuseppe Ravasio (LU) via Info-cyrus
I saw that someone proposed to make a sort of abuse of delayed expunge,
but I think that in order to comply with regulatory retention should be
better considering some specific software.

For example:
http://www.mailpiler.org (Fully Free Software)
https://www.mailarchiva.com (the old version is opensource but the
latest is closed)

The specific software will be much better for searching the archive.
Finding something in the delayed_expunge folders after many years of
archive will absolutely be a nightmare!

Giuseppe


On 08/26/2016 03:09 PM, Alvin Starr via Info-cyrus wrote:
> A company I am working with is facing issues of regulatorymail retention.
> 
> Some searching has yielded little useful results other than putting a
> system in front to store all incoming messages.
> 
> What are others doing for mail archival?
> 
> An ideal solution would let the users carry on using current use
> patterns and not impose extra restrictions.
> 
> -- 
> Alvin Starr   ||   voice: (905)513-7688
> Netvel Inc.   ||   Cell:  (416)806-0133
> al...@netvel.net  ||
> 
> 
> 
> 
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> 

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


IDLE: error sending message

2016-02-08 Thread Giuseppe Ravasio (LU) via Info-cyrus
Hi,
I've just migrated a quite busy cyrus install to 2.5.7.
It seems all going well except for the fact that in the logs there are a
lot of messages like:

Feb  8 09:07:06 mail cyrus/imaps[13868]: IDLE: error sending message
DONE to idled for mailbox ${SHARED_FOLDER}: Resource temporarily
unavailable.

and
Feb  8 09:14:27 thot cyrus/imaps[10661]: IDLE: error sending message
INIT to idled for mailbox ${SHARED_FOLDER}: Resource temporarily
unavailable. Falling back to polling every 60 seconds.


All the log messages refers to two folders that are shared to and
subscribed by all users.

I couldn't find any hint about this error with google.

I hope that someone could explain me this message.

Thanks
Giuseppe

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Server Backup

2016-02-08 Thread Giuseppe Ravasio (LU) via Info-cyrus
Hi,
I'm rewriting my backup script and I cannot find any hint about how to
backup the cyrus server in a good way.

Actually I'm using this method:

- Stop Postfix and Cyrus
- making tar of /var/lib/sieve
- making tar of /var/lib/imap
- dumping mailboxes.db in plain text (ctl_mboxlist -d)
- taking snapshots of all the mailstores
- Restarting the Services
- taking mailstore backups from the snapshots

The last night the imaps was not restarted because the socket for IMAPS
was busy and so I was wondering if today it's really needed to stop the
service before taking the snapshots.
Avoiding the service stop could also be useful in order to stop having a
1/2min downtime (I also take vmware snapshots of the machine)

I was thinking to move in this direction:

- Checkpoint and archive the databases (with ctl_cyrusdb -r)
- making tar of /var/lib/imap
- making tar of /var/lib/sieve
- dumping mailboxes.db in plain text (ctl_mboxlist -d)
- taking snapshots of all the mailstores
- taking mailstore backups from the snapshots

What kind of backup strategy are you using?
Thanks
Giuseppe

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Cyrus 2.3.8 to 2.5.6

2016-01-08 Thread Giuseppe Ravasio (LU) via Info-cyrus
Hi,
I'm testing the migration of a quite large IMAP server from 2.3.8 to the
latest version.

I'm syncing:
- mailboxes partitions
- sieve
- var/lib/imap/user
- var/lib/imap/quota
- var/lib/imap/annotations.db

After the sync:
- recompile sieve scripts
- ctl_mboxlist -u guid)

cyrus/master[5994]: process type:SERVICE name:imaps
path:/usr/local/lib/cyrus/bin/imapd age:43.479s pid:11803 exited, status 75

The files will be moved to the new folder and sometimes reappears in the
original folder, other times disappears whithout beeing shown with:
unexpunge -l $FOLDER

It's possible to insert expernal messages in thoose old mailbox but It's
not possible to delete because the message reappears and the error above
is shown in the logs.
If I try to delete with SHIFT-DEL the message disappears from
Thunderbird, the error is shown in the logs, the file is still on the
disk but "unexpunge -l" doesn't show the missing email.

It's a bug or I'm not supposed to open the service until the full
reconstruct?

Thanks
Giuseppe
it also get

deleted from the client (Thunderbird) from the original one, but thoose
mail aren't sown via IMAP until the reconstruct.


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: [POLL] Cyrus ACLs and group names

2015-11-18 Thread Giuseppe Ravasio (LU) via Info-cyrus
Same here
Giuseppe

On 11/17/2015 12:23 PM, Adam Tauno Williams via Info-cyrus wrote:
> On Tue, 2015-11-17 at 07:40 +1100, Bron Gondwana via Info-cyrus wrote:
>> For those of you using Cyrus with group ACLs, how are your groups
>> named?
>> I know with the auth_unix backend, they are
>> 'group:'.  What I've seen from CMU's groups is that they
>> are of the form ':'.
> 
> Ours are group:
> 

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus