Re: cyrus-imapd build dependencies

2019-03-18 Thread Anatoli via Info-cyrus

Hi Ellie,

> The Cyrus httpd provides DAV services (which use the HTTP protocol).  
If you want the Cyrus httpd to support HTTP/2, you will need 
libnghttp2.  Otherwise it will only support HTTP/1.


Always wanted to ask what the nghttp2 dependency was for. From what you 
say I infer that it's only needed for HTTP/2. But what DAV service could 
benefit from this? Are there DAV clients that know HTTP/2?


And speaking about the SNMP agent, are there any plans to complete the 
transfer of its code from the master process to an independent daemon, 
issue #1765 ? (It 
needs to be moved out to implement efficient chroot)


Regards,
Anatoli

*From:* Ellie Timoney 
*Sent:* Monday, March 18, 2019 21:55
*To:* Info-cyrus 
*Subject:* Re: cyrus-imapd build dependencies

Hi Patrick,

On Mon, Mar 18, 2019, at 11:33 PM, Patrick Goetz wrote:


This page on compiling cyrus-imapd:

https://www.cyrusimap.org/imap/developer/compiling.html


This page is in the developer section, so its context is for people who are 
Cyrus developers (especially for new contributors needing to get rolling 
quickly).  Expect a certain amount of detail to be glossed over on the 
assumption that it's already known and/or reasonably documented elsewhere.


shows a number of build dependencies; however I was just able to compile
cyrus-imapd without these installed:

 gperf
 libbsd


Are these actually necessary?


Probably depends on which features you enable.  If you run './configure' 
without arguments, a number of large features won't be enabled, so any 
libraries they depend on won't be used.  Some of these features are important 
enough that we (developers) kind of think of them as being 
probably-always-included even if they default to not.


Later in the page, under "Alternate database formats" it shows the
configure flags to use in order to use mysql/mariadb as a backend for
cyrus databases.  I think this is needed if one plans to use virtual
domains, but I couldn't get a confirmation on this.


These are literally just "alternate database formats" -- maybe you already have 
extensive expertise in some other database and would rather use that than one of the 
builtin ones.  It has nothing to do with virtual domains.  Documentation about the 
databases used by Cyrus are here: 
https://www.cyrusimap.org/imap/concepts/deployment/databases.html


In any case, the
configure options are given as
   --with-mysql, --with-mysql-incdir, --with-mysql-libdir

with no clear indication of what each of these does.  For example, is
the --with-mysql all inclusive, or does one need to set all 3?


The canonical source of information on configure options is the output from 
'./configure --help'.  It's kind of assumed that a developer will look there to 
find this information.


Finally a couple of items in the "Other" category are a real head
scratcher.  For example, what is the purpose of net-snmp?


You can click on any of those package names to go to the website for that 
package and get a description of what it does.  For example,


Simple Network Management Protocol (SNMP) is a widely used
protocol for monitoring the health and welfare of network equipment
  (eg. routers), computer equipment and even devices like UPSs.
Net-SNMP is a suite of applications used to implement SNMP v1,
SNMP v2c and SNMP v3 using both IPv4 and IPv6.


 


libnghttp2 is listed as needed for "HTTP/2 support for httpd" -- what's
using httpd?  Is this to faciliate CalDAV/CardDAV?


The Cyrus httpd provides DAV services (which use the HTTP protocol).  If you 
want the Cyrus httpd to support HTTP/2, you will need libnghttp2.  Otherwise it 
will only support HTTP/1.

Hope this helps :)

ellie

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

Re: cyrus-imapd build dependencies

2019-03-18 Thread ellie timoney
Hi Patrick,

On Mon, Mar 18, 2019, at 11:33 PM, Patrick Goetz wrote:
> This page on compiling cyrus-imapd:
> 
>https://www.cyrusimap.org/imap/developer/compiling.html

This page is in the developer section, so its context is for people who are 
Cyrus developers (especially for new contributors needing to get rolling 
quickly).  Expect a certain amount of detail to be glossed over on the 
assumption that it's already known and/or reasonably documented elsewhere.

> shows a number of build dependencies; however I was just able to compile 
> cyrus-imapd without these installed:
> 
> gperf
> libbsd
> 
> 
> Are these actually necessary?

Probably depends on which features you enable.  If you run './configure' 
without arguments, a number of large features won't be enabled, so any 
libraries they depend on won't be used.  Some of these features are important 
enough that we (developers) kind of think of them as being 
probably-always-included even if they default to not.

> Later in the page, under "Alternate database formats" it shows the 
> configure flags to use in order to use mysql/mariadb as a backend for 
> cyrus databases.  I think this is needed if one plans to use virtual 
> domains, but I couldn't get a confirmation on this.  

These are literally just "alternate database formats" -- maybe you already have 
extensive expertise in some other database and would rather use that than one 
of the builtin ones.  It has nothing to do with virtual domains.  Documentation 
about the databases used by Cyrus are here: 
https://www.cyrusimap.org/imap/concepts/deployment/databases.html

> In any case, the 
> configure options are given as
>   --with-mysql, --with-mysql-incdir, --with-mysql-libdir
> 
> with no clear indication of what each of these does.  For example, is 
> the --with-mysql all inclusive, or does one need to set all 3?

The canonical source of information on configure options is the output from 
'./configure --help'.  It's kind of assumed that a developer will look there to 
find this information.

> Finally a couple of items in the "Other" category are a real head 
> scratcher.  For example, what is the purpose of net-snmp?

You can click on any of those package names to go to the website for that 
package and get a description of what it does.  For example,

> Simple Network Management Protocol (SNMP) is a widely used 
> protocol for monitoring the health and welfare of network equipment
>  (eg. routers), computer equipment and even devices like UPSs. 
> Net-SNMP is a suite of applications used to implement SNMP v1, 
> SNMP v2c and SNMP v3 using both IPv4 and IPv6. 
 
> libnghttp2 is listed as needed for "HTTP/2 support for httpd" -- what's 
> using httpd?  Is this to faciliate CalDAV/CardDAV?

The Cyrus httpd provides DAV services (which use the HTTP protocol).  If you 
want the Cyrus httpd to support HTTP/2, you will need libnghttp2.  Otherwise it 
will only support HTTP/1.

Hope this helps :)

ellie

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: script to check quota failed

2019-03-18 Thread Simon Matter via Info-cyrus
> Hi,
>
> seems that there is a problem with your cyrus quota tree
> (/var/lib/cyrus/quota) or at least some of its files.

In the case of RHEL6 this will be /var/lib/imap/quota/.

I suggest to look at the quota files there, they have names like
user. and are text files with two lines. Should be easy to find
the broken file.

Regards,
Simon

>
> Maybe strace command may help you find which files are corrupt:
> su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user"
>
> Anthony Prades
>
> On 3/18/19 2:32 PM, Stephane Branchoux wrote:
>> Hello,
>>
>> We run cyrus-imapd-2.3.16-6 on a Red Hat Enterprise Linux Server
>> release 6.10.
>>
>> 2 days ago, a power crash occured in our Datacenter.
>>
>> After reboot of cyrus imap, all seems ok except our script to check
>> quota :
>>
>> su - cyrus -c "/usr/lib/cyrus-imapd/quota user"
>> failed building quota list for 'user': System I/O error: %m
>>
>> I tried :
>>
>>  su - cyrus -c "/usr/lib/cyrus-imapd/quota -f"
>> failed building quota list for '*': System I/O error: %m
>>
>> Any idea ?
>>
>> Many thanks in advance
>>
>>
>> 
>> 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



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: script to check quota failed

2019-03-18 Thread Anthony Prades via Info-cyrus
Hi,

seems that there is a problem with your cyrus quota tree
(/var/lib/cyrus/quota) or at least some of its files.

Maybe strace command may help you find which files are corrupt:
su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user"

Anthony Prades

On 3/18/19 2:32 PM, Stephane Branchoux wrote:
> Hello,
>
> We run cyrus-imapd-2.3.16-6 on a Red Hat Enterprise Linux Server
> release 6.10.
>
> 2 days ago, a power crash occured in our Datacenter.
>
> After reboot of cyrus imap, all seems ok except our script to check
> quota :
>
> su - cyrus -c "/usr/lib/cyrus-imapd/quota user"
> failed building quota list for 'user': System I/O error: %m
>
> I tried :
>
>  su - cyrus -c "/usr/lib/cyrus-imapd/quota -f"
> failed building quota list for '*': System I/O error: %m
>
> Any idea ?
>
> Many thanks in advance
>
>
> 
> 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

Re: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Simon Matter via Info-cyrus
> Hi,
>
> seems that there is a problem with your cyrus quota tree
> (/var/lib/cyrus/quota) or at least some of its files.

In the case of RHEL6 this will be /var/lib/imap/quota/.

I suggest to look at the quota files there, they have names like
user. and are text files with two lines. Should be easy to find
the broken file.

Regards,
Simon

>
> Maybe strace command may help you find which files are corrupt:
> su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user"
>
> Anthony Prades
>
>
> On 3/18/19 10:13 AM, Marco wrote:
>> Il 18/03/2019 08:25, Thomas Cataldo ha scritto:
>>> Hi,
>>>
>>> On cyrus 2.4.x we used to run
>>> A1 RENAME mbox1 mbox2 our_partition
>>>
>>> When we run that on cyrus 3.0.8 we get :
>>> A1 NO Cross-server or cross-partition move w/rename not supported
>>>
>>> Is there a way to do this rename with one command with cyrus3.
>>> If we run A1 RENAME mbox1 mbox2
>>> the mailbox is renamed as expected but it moves from our_partition to
>>> default which is not what we want.
>>>
>>> Any suggestion ?
>>
>> Hello, no suggestions, I verified too. :( But if you have a mailbox
>> with:
>>
>> folder1 --> part1
>> folder2 --> part2
>>
>> then you can do:
>>
>> A1 RENAME folder1 folder2/folder1
>>
>> and folder1 is now on part2. So, under some circumstances, a cross
>> partition rename seems to be still supported...
>>
>> Bye
>> Marco
>>
>> Ps: on the above example unixhierarchysep: 1
>> 
>> 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
>



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: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Anthony Prades via Info-cyrus
Sorry, bad thread...

On 3/18/19 4:49 PM, Anthony Prades via Info-cyrus wrote:
> Hi,
>
> seems that there is a problem with your cyrus quota tree
> (/var/lib/cyrus/quota) or at least some of its files.
>
> Maybe strace command may help you find which files are corrupt:
> su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user"
>
> Anthony Prades
>
>
> On 3/18/19 10:13 AM, Marco wrote:
>> Il 18/03/2019 08:25, Thomas Cataldo ha scritto:
>>> Hi,
>>>
>>> On cyrus 2.4.x we used to run
>>> A1 RENAME mbox1 mbox2 our_partition
>>>
>>> When we run that on cyrus 3.0.8 we get :
>>> A1 NO Cross-server or cross-partition move w/rename not supported
>>>
>>> Is there a way to do this rename with one command with cyrus3.
>>> If we run A1 RENAME mbox1 mbox2
>>> the mailbox is renamed as expected but it moves from our_partition to
>>> default which is not what we want.
>>>
>>> Any suggestion ?
>> Hello, no suggestions, I verified too. :( But if you have a mailbox with:
>>
>> folder1 --> part1
>> folder2 --> part2
>>
>> then you can do:
>>
>> A1 RENAME folder1 folder2/folder1
>>
>> and folder1 is now on part2. So, under some circumstances, a cross
>> partition rename seems to be still supported...
>>
>> Bye
>> Marco
>>
>> Ps: on the above example unixhierarchysep: 1
>> 
>> 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

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: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Anthony Prades via Info-cyrus
Hi,

seems that there is a problem with your cyrus quota tree
(/var/lib/cyrus/quota) or at least some of its files.

Maybe strace command may help you find which files are corrupt:
su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user"

Anthony Prades


On 3/18/19 10:13 AM, Marco wrote:
> Il 18/03/2019 08:25, Thomas Cataldo ha scritto:
>> Hi,
>>
>> On cyrus 2.4.x we used to run
>> A1 RENAME mbox1 mbox2 our_partition
>>
>> When we run that on cyrus 3.0.8 we get :
>> A1 NO Cross-server or cross-partition move w/rename not supported
>>
>> Is there a way to do this rename with one command with cyrus3.
>> If we run A1 RENAME mbox1 mbox2
>> the mailbox is renamed as expected but it moves from our_partition to
>> default which is not what we want.
>>
>> Any suggestion ?
>
> Hello, no suggestions, I verified too. :( But if you have a mailbox with:
>
> folder1 --> part1
> folder2 --> part2
>
> then you can do:
>
> A1 RENAME folder1 folder2/folder1
>
> and folder1 is now on part2. So, under some circumstances, a cross
> partition rename seems to be still supported...
>
> Bye
> Marco
>
> Ps: on the above example unixhierarchysep: 1
> 
> 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


script to check quota failed

2019-03-18 Thread Stephane Branchoux

Hello,

We run cyrus-imapd-2.3.16-6 on a Red Hat Enterprise Linux Server release 
6.10.


2 days ago, a power crash occured in our Datacenter.

After reboot of cyrus imap, all seems ok except our script to check quota :

su - cyrus -c "/usr/lib/cyrus-imapd/quota user"
failed building quota list for 'user': System I/O error: %m

I tried :

 su - cyrus -c "/usr/lib/cyrus-imapd/quota -f"
failed building quota list for '*': System I/O error: %m

Any idea ?

Many thanks in advance

--
Stephane BRANCHOUX
Centre de Ressources Informatiques de l'Université de Perpignan.
Systèmes/Réseaux - RSSI
mailto:stephane.branch...@univ-perp.fr
04 68 66 21 24 / 07 60 73 38 42




smime.p7s
Description: Signature cryptographique S/MIME

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

IP based Authentication

2019-03-18 Thread Christian Fontana
Hi All,

I'm trying to configure Cyrus IMAP so that some user account can ne read
only from fixed IP. The scenario is this:

* there are two employees group
* the first one are mobile employees who access mails from mobile phones
* the second group of employees are person who works in the office and
access the most critical mailboxes.

I want to restrict the access for this second group only from the public IP
address of the office.

The mail domain has to be the same for both groups.

How can I proceed?

thanks in advance
Chris

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-imapd build dependencies

2019-03-18 Thread Patrick Goetz

This page on compiling cyrus-imapd:

  https://www.cyrusimap.org/imap/developer/compiling.html

shows a number of build dependencies; however I was just able to compile 
cyrus-imapd without these installed:


   gperf
   libbsd


Are these actually necessary?

Later in the page, under "Alternate database formats" it shows the 
configure flags to use in order to use mysql/mariadb as a backend for 
cyrus databases.  I think this is needed if one plans to use virtual 
domains, but I couldn't get a confirmation on this.  In any case, the 
configure options are given as


 --with-mysql, --with-mysql-incdir, --with-mysql-libdir

with no clear indication of what each of these does.  For example, is 
the --with-mysql all inclusive, or does one need to set all 3?


Finally a couple of items in the "Other" category are a real head 
scratcher.  For example, what is the purpose of net-snmp?


libnghttp2 is listed as needed for "HTTP/2 support for httpd" -- what's 
using httpd?  Is this to faciliate CalDAV/CardDAV?



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: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Ken Murchison
I will take look as to how/why this restriction was put into place.  At 
the very least, renaming a top-level mailbox and keeping it on the same 
partition should be allowed.



On 3/18/19 4:57 AM, Thomas Cataldo wrote:

Well yes, the case you describe are working.

As a workaround we do :
A1 RENAME old1 new1
A2 RENAME new1 new1 our_partition

But this is bothering us as our software works as a cyrus replication 
protocol endpoint and we don't want to receive :

APPLY RENAME (old1 new1 partition default)
as default is not a usual partition that our software can handle.



On Mon, Mar 18, 2019 at 9:31 AM Michael Menge 
> wrote:


Hi,

Quoting Sebastian Hagedorn mailto:haged...@uni-koeln.de>>:

> Hi,
>
>> On cyrus 2.4.x we used to run
>> A1 RENAME mbox1 mbox2 our_partition
>>
>> When we run that on cyrus 3.0.8 we get :
>> A1 NO Cross-server or cross-partition move w/rename not supported
>>
>> Is there a way to do this rename with one command with cyrus3.
>> If we run A1 RENAME mbox1 mbox2
>> the mailbox is renamed as expected but it moves from
our_partition to
>> default which is not what we want.
>>
>> Any suggestion ?
>
> I have no idea, because we're not far enough along in our migration
> to Cyrus 3, but this is troubling me. We currently use RENAME
> specifically for moving users cross-partition. If that isn't
> supported anymore, is there a new alternative in Cyrus 3?


I have not tested this, but I think you can move cross-partition
without rename
and rename without move cross-partition.

A1 RENAME mbox1 mbox1 our_partition
A2 RENAME mbox1 mbox2


     Michael Menge




M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:
michael.me...@zdv.uni-tuebingen.de

Wächterstraße 76
72074 Tübingen


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


--
Ken Murchison
Cyrus Development Team
FastMail US LLC

<>
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: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Marco

Il 18/03/2019 08:25, Thomas Cataldo ha scritto:

Hi,

On cyrus 2.4.x we used to run
A1 RENAME mbox1 mbox2 our_partition

When we run that on cyrus 3.0.8 we get :
A1 NO Cross-server or cross-partition move w/rename not supported

Is there a way to do this rename with one command with cyrus3.
If we run A1 RENAME mbox1 mbox2
the mailbox is renamed as expected but it moves from our_partition to 
default which is not what we want.


Any suggestion ?


Hello, no suggestions, I verified too. :( But if you have a mailbox with:

folder1 --> part1
folder2 --> part2

then you can do:

A1 RENAME folder1 folder2/folder1

and folder1 is now on part2. So, under some circumstances, a cross 
partition rename seems to be still supported...


Bye
Marco

Ps: on the above example unixhierarchysep: 1

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: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Sebastian Hagedorn

Hi,


I have no idea, because we're not far enough along in our migration
to Cyrus 3, but this is troubling me. We currently use RENAME
specifically for moving users cross-partition. If that isn't
supported anymore, is there a new alternative in Cyrus 3?



I have not tested this, but I think you can move cross-partition without
rename
and rename without move cross-partition.

A1 RENAME mbox1 mbox1 our_partition
A2 RENAME mbox1 mbox2


thanks for the clarification! I misunderstood the scenario.
--
Sebastian Hagedorn - Weyertal 121, Zimmer 2.02
Regionales Rechenzentrum (RRZK)
Universität zu Köln / Cologne University - Tel. +49-221-470-89578

pgpujmnxea0P2.pgp
Description: PGP 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: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Thomas Cataldo
Well yes, the case you describe are working.

As a workaround we do :
A1 RENAME old1 new1
A2 RENAME new1 new1 our_partition

But this is bothering us as our software works as a cyrus replication
protocol endpoint and we don't want to receive :
APPLY RENAME (old1 new1 partition default)
as default is not a usual partition that our software can handle.



On Mon, Mar 18, 2019 at 9:31 AM Michael Menge <
michael.me...@zdv.uni-tuebingen.de> wrote:

> Hi,
>
> Quoting Sebastian Hagedorn :
>
> > Hi,
> >
> >> On cyrus 2.4.x we used to run
> >> A1 RENAME mbox1 mbox2 our_partition
> >>
> >> When we run that on cyrus 3.0.8 we get :
> >> A1 NO Cross-server or cross-partition move w/rename not supported
> >>
> >> Is there a way to do this rename with one command with cyrus3.
> >> If we run A1 RENAME mbox1 mbox2
> >> the mailbox is renamed as expected but it moves from our_partition to
> >> default which is not what we want.
> >>
> >> Any suggestion ?
> >
> > I have no idea, because we're not far enough along in our migration
> > to Cyrus 3, but this is troubling me. We currently use RENAME
> > specifically for moving users cross-partition. If that isn't
> > supported anymore, is there a new alternative in Cyrus 3?
>
>
> I have not tested this, but I think you can move cross-partition
> without rename
> and rename without move cross-partition.
>
> A1 RENAME mbox1 mbox1 our_partition
> A2 RENAME mbox1 mbox2
>
>
>  Michael Menge
>
>
>
> 
> M.MengeTel.: (49) 7071/29-70316
> Universität Tübingen   Fax.: (49) 7071/29-5912
> Zentrum für Datenverarbeitung  mail:
> michael.me...@zdv.uni-tuebingen.de
> Wächterstraße 76
> 72074 Tübingen
>
> 
> 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

Re: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Michael Menge

Hi,

Quoting Sebastian Hagedorn :


Hi,


On cyrus 2.4.x we used to run
A1 RENAME mbox1 mbox2 our_partition

When we run that on cyrus 3.0.8 we get :
A1 NO Cross-server or cross-partition move w/rename not supported

Is there a way to do this rename with one command with cyrus3.
If we run A1 RENAME mbox1 mbox2
the mailbox is renamed as expected but it moves from our_partition to
default which is not what we want.

Any suggestion ?


I have no idea, because we're not far enough along in our migration  
to Cyrus 3, but this is troubling me. We currently use RENAME  
specifically for moving users cross-partition. If that isn't  
supported anymore, is there a new alternative in Cyrus 3?



I have not tested this, but I think you can move cross-partition  
without rename

and rename without move cross-partition.

A1 RENAME mbox1 mbox1 our_partition
A2 RENAME mbox1 mbox2


Michael Menge



M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de

Wächterstraße 76
72074 Tübingen


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: Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Sebastian Hagedorn

Hi,


On cyrus 2.4.x we used to run
A1 RENAME mbox1 mbox2 our_partition

When we run that on cyrus 3.0.8 we get :
A1 NO Cross-server or cross-partition move w/rename not supported

Is there a way to do this rename with one command with cyrus3.
If we run A1 RENAME mbox1 mbox2
the mailbox is renamed as expected but it moves from our_partition to
default which is not what we want.

Any suggestion ?


I have no idea, because we're not far enough along in our migration to 
Cyrus 3, but this is troubling me. We currently use RENAME specifically for 
moving users cross-partition. If that isn't supported anymore, is there a 
new alternative in Cyrus 3?

--
Sebastian Hagedorn - Weyertal 121, Zimmer 2.02
Regionales Rechenzentrum (RRZK)
Universität zu Köln / Cologne University - Tel. +49-221-470-89578

pgpnOIcFu8pDj.pgp
Description: PGP 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

Which imap command to rename a root mailbox while maintaining its partition

2019-03-18 Thread Thomas Cataldo
Hi,

On cyrus 2.4.x we used to run
A1 RENAME mbox1 mbox2 our_partition

When we run that on cyrus 3.0.8 we get :
A1 NO Cross-server or cross-partition move w/rename not supported

Is there a way to do this rename with one command with cyrus3.
If we run A1 RENAME mbox1 mbox2
the mailbox is renamed as expected but it moves from our_partition to
default which is not what we want.

Any suggestion ?

Regards,
Thomas.

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