Re: How to use backup/replica

2018-05-16 Thread Niels Dettenbach (Syndicat IT & Internet) via Info-cyrus
Am 16. Mai 2018 22:08:53 MESZ schrieb Albert Shih :
>When it's working, I would like to know ... how to use the backup.
>
>The question maybe sound totaly stupid, but well, with dovecot I know
>how
>to use the backup. But with cyrus imap ... I don't know.
>
>Three cases :
>
>1/ What should I do if someone loose a mail and warn me long after
>delayed
>delete time. But If I got the file on the backup (cheat disk so can
>keep
>  the much longer deleted mail).
>
> 2/ What should I do if I got a corruption a database, how should I fix
>  that with the backup.
>
>  3/ What should I do if my server loose everything.

Hi Albert,


if not yet done, i would recommend to read this (depending from if you use 2.x 
or 3.x be aware of the new backup features in 3.x) to get a first overview:

https://www.cyrusimap.org/imap/reference/manpages/systemcommands/restore.html

https://www.cyrusimap.org/imap/concepts/overview_and_concepts.html#mail-directory-recovery

https://www.cyrusimap.org/imap/concepts/overview_and_concepts.html#mail-directory-recovery


hth a bit.

good luck,


Niels.
-- 
Niels Dettenbach
Syndicat IT & Internet
http://www.Syndicat.com

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


Archive over NFS.

2018-05-16 Thread Albert Shih
Hi everyone.

I would like to know if it's possible to put the archive partition over
NFS.

Same question about "DELETED", for example can I make

  /MAIL_BOX_DIR/DELETED as a mountpoint for a NFS partition.

If it's yes do I have to take extra precaution about the something (sync,
async, etc..)

Regards

JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Wed May 16 22:48:56 CEST 2018

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


How to use backup/replica

2018-05-16 Thread Albert Shih
Hi everyone.

Currently I'm trying to use replication to do the backup.

When it's working, I would like to know ... how to use the backup.

The question maybe sound totaly stupid, but well, with dovecot I know how
to use the backup. But with cyrus imap ... I don't know.

Three cases :

  1/ What should I do if someone loose a mail and warn me long after delayed
  delete time. But If I got the file on the backup (cheat disk so can keep
  the much longer deleted mail).

  2/ What should I do if I got a corruption a database, how should I fix
  that with the backup.

  3/ What should I do if my server loose everything.

Regards

--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Wed May 16 21:56:19 CEST 2018

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


[Murder issue] Connection closed

2018-05-16 Thread Jean-Christophe Delaye
Hello,

I'm currently trying to setup a running murder Cyrus configuration.

I'm using a frontend (which is also the master mupdate) and a backend.
Imapd process seems ok, i'm able to connect and authenticate.

imap.eurecom.fr> ver
name   : Cyrus IMAPD
version: 3.0.6
vendor : Project Cyrus
support-url: https://www.cyrusimap.org
os : SunOS
os-version : 5.11
environment: Built w/Cyrus SASL 2.1.27
 Running w/Cyrus SASL 2.1.27
 Built w/OpenSSL 1.0.2n  7 Dec 2017
 Running w/OpenSSL 1.0.2n  7 Dec 2017
 Built w/zlib 1.2.11
 Running w/zlib 1.2.11
 CMU Sieve 3.0
 mmap = shared
 lock = fcntl
 nonblock = fcntl
 idle = idled

But, I have an issue with mupdate part.
It's running on the frontend/master side, but I can't connect from the
backend (trying with ctl_mboxlist or even mupdatetest).

mupdatetest can authenticate with the murder user but immediatly closed
the connection (I can't run any command).

postman@ipso:~$ /opt/cyrus-imapd_3.0.6-cyrus1-g/bin/mupdatetest -u
postman -m plain -v imap
S: * AUTH "PLAIN"
S: * STARTTLS
S: * COMPRESS "DEFLATE"
S: * PARTIAL-UPDATE
S: * OK MUPDATE "imap.eurecom.fr" "Cyrus IMAP" "3.0.6" "(master)"
Please enter your password: x
C: A01 AUTHENTICATE "PLAIN" {32+}
cG9zdG1hbgBwb3N0#bWFuAG9yYWNsZTE=
S: A01 OK "Authenticated"
Authenticated.
Security strength factor: 0
Connection closed.

Any ideas ? I tried to increase the debug level (and snoop the network),
but without success.

Thank you.



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