Re: What is the state of Master-Master replication?

2017-07-28 Thread Michael Sofka

On 07/26/2017 04:54 PM, Michael Sofka wrote:
A while back there was some discussion of supporting Master-Master 
replication in Cyrus.  I'm busy updating from 2.4.17 to 3.0.2.  What is 
the state of Master-Master, as opposed to Master-Replica replications?


My current configuration is a Murder cluster with three front-end 
servers, two back-end servers, each with their own replication server. 
One pair of Master-Replica are empty of mailboxes at the moment, prior 
to upgrade.


Continuing my question, what I am thinking is:

   Create imap.conf files on each server:

 Server be1: partition-default /var/spool/imap1
 Server be2: partition-default /var/spool/imap2

  Create replication.conf files on each server:

 Server be1: partition-default /var/spool/imap2
 Server be2: partition-default /var/spool/imap1

replication.conf would be used for the syncserver process on each be server.

The idea is that the imap processes know of one set of partitions, and 
the replication process knows of the other.  Each mupdatepush process 
will only inform the Cyrus front-end master of its own master partition. 
 The IMAP processes will only place it's own partitions in the 
synchronization log.


Thoughts?

Mike

--
Michael D. Sofka   sof...@rpi.edu
ITI Sr. Systems Programmer,   Email, TeX, Epistemology
Rensselaer Polytechnic Institute, Troy, NY.  http://www.rpi.edu/~sofkam/

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: Sieve impersonate

2017-07-28 Thread Dan White

On 07/28/17 11:27 +0200, Gabriele Bulfon wrote:

Hi, is there any valid way to impersonate using authorization on timsieved?
I tried with:
AUTHENTICATE "PLAIN" "x"
creating the auth string with a perl script as:
encode_base64($authid."\x00".$username."\x00".$password."")
being :
authid="impersonatedu...@sonicle.com"
username="admin"
password="adminpass"
Doesn't work :(
Any help?


What error do receive? What does auth facility syslog report?

Use sivtest for a better test case, and verify your list of plugins with
pluginviewer.

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


Sieve impersonate

2017-07-28 Thread Gabriele Bulfon
Hi, is there any valid way to impersonate using authorization on timsieved?
I tried with:
AUTHENTICATE "PLAIN" "x"
creating the auth string with a perl script as:
encode_base64($authid."\x00".$username."\x00".$password."")
being :
authid="impersonatedu...@sonicle.com"
username="admin"
password="adminpass"
Doesn't work :(
Any help?
Gabriele
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon

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: 3.0.2: Typo in ltmain.sh

2017-07-28 Thread ellie timoney
Hi Stephan,

Did you mean this link? 
https://lists.gnu.org/archive/html/bug-libtool/2016-06/msg1.html

The ltmain.sh file in the release tarballs is generated by libtool --
it's not a file we maintain manually.  Looks like there's a bug in some
version of libtool that makes it generate the bad "func__fatal_error"
line, and I guess some of our releases were built with that version of
libtool.  (It's a shame the mailing list thread doesn't mention what
version...)

Looking deeper into the missing c++ compiler issue, I've found this
discussion thread:
https://lists.gnu.org/archive/html/bug-autoconf/2010-05/msg1.html

Our configure script already checks for AC_PROG_CXX, but it does so
after it checks for AC_PROG_CC.  I'm pushing up commits to change the
order of this in a moment, which will hopefully mean future releases
will be able correctly detect a missing c++ compiler at the configure
stage, instead of crashing out in ltmain.sh.

Cheers,

ellie

On Fri, Jul 28, 2017, at 06:07 PM, Stephan Lauffer wrote:
> ...sorry, link from gnu.org no longer valid... see for example this:
> 
> https://lists.andrew.cmu.edu/pipermail/info-cyrus/2017-January/039371.html
> 
> Zitat von Stephan Lauffer :
> 
> > HI!
> >
> > During packaging rpms for some suse distributions I found an old  
> > bug, a typo, see:
> >
> > bug report #23872,  
> > https://lists.gnu.org/archive/html/bug-libtool/2016-06/msg1.htm
> >
> > In my builds I added the patch...:
> >
> > https://build.opensuse.org/package/view_file/home:nixda:branches:home:nixda:devel/cyrus-imapd-3/cyrus-imapd-3.0.2-func__fatal_error.patch?expand=1
> >
> > Would you like fix this upstream?
> >
> > -- 
> > Liebe Gruesse, with best regards
> > Stephan Lauffer
> >
> > Pedagogical University Freiburg - Germany
> > http://www.ph-freiburg.de/zik/
> > Fon/ Fax: +49 761 682 -559/ -486
> 
> 
> 
> -- 
> Liebe Gruesse, with best regards
> Stephan Lauffer
> 
> Pedagogical University Freiburg - Germany
> http://www.ph-freiburg.de/zik/
> Fon/ Fax: +49 761 682 -559/ -486
> 
> 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
> Email had 1 attachment:
> + smime.p7s
>   8k (application/pkcs7-signature)

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: 3.0.2: Typo in ltmain.sh

2017-07-28 Thread Stephan Lauffer

...sorry, link from gnu.org no longer valid... see for example this:

https://lists.andrew.cmu.edu/pipermail/info-cyrus/2017-January/039371.html

Zitat von Stephan Lauffer :


HI!

During packaging rpms for some suse distributions I found an old  
bug, a typo, see:


bug report #23872,  
https://lists.gnu.org/archive/html/bug-libtool/2016-06/msg1.htm


In my builds I added the patch...:

https://build.opensuse.org/package/view_file/home:nixda:branches:home:nixda:devel/cyrus-imapd-3/cyrus-imapd-3.0.2-func__fatal_error.patch?expand=1

Would you like fix this upstream?

--
Liebe Gruesse, with best regards
Stephan Lauffer

Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486




--
Liebe Gruesse, with best regards
Stephan Lauffer

Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486


smime.p7s
Description: S/MIME-Signatur

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

3.0.2: Typo in ltmain.sh

2017-07-28 Thread Stephan Lauffer

HI!

During packaging rpms for some suse distributions I found an old bug,  
a typo, see:


bug report #23872,  
https://lists.gnu.org/archive/html/bug-libtool/2016-06/msg1.htm


In my builds I added the patch...:

https://build.opensuse.org/package/view_file/home:nixda:branches:home:nixda:devel/cyrus-imapd-3/cyrus-imapd-3.0.2-func__fatal_error.patch?expand=1

Would you like fix this upstream?

--
Liebe Gruesse, with best regards
Stephan Lauffer

Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486


smime.p7s
Description: S/MIME-Signatur

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