[PATCH] New release of the autocreate inbox patch

Mike O'Rourke morourke at opsouth.org
Tue Jan 18 09:51:23 EST 2005

Christos Soulios 01/12/05 10:57pm
>Hello and happy new year from Athens - Greece.
>I am pleased to announce the new releases of the autocreate inbox patch
>for cyrus-imapd 2.1.17 and 2.2.10.
>Patches can be downloaded from their homepage :
>     http://email.uoa.gr/projects/cyrus/autocreate 
>Both patches contain the autosubscribe_all_sharedfolders config option and
>the much wanted autocreate sieve script feature.
>Autocreate sieve script feature enables cyrus admins to define a sieve
>script that will be automatically become the user's default sieve filter
>upon INBOX creation.
>Special thanks go to Simon Matter for his invaluable contribution in
>testing and submitting some critical bugs.
>For anything related to the patches please contact the developers through :
>    http://email.uoa.gr/contact 
>Did you visit http://email.uoa.gr? 
Hello Christos,

First of all, thank you for the auto* patches, I just started using them and they are great!

I applied the new release mentioned above to the source tree and tried compiling on Solaris9, gcc 3.4.2 (from sunfreeware) with auth=pts (and pts=ldap).

The compile ends in an error of "incompatible types in return" at line 356 in auth_pts.c in the function auth_canonuser. The function declares a return type char*, and it returns a structure with members of types unsigned and char. Not being a C wiz, I tried a few things to remedy this incompatibility to no good end (like trying to return just the "id" portion of the "userid" member of the "auth_state" structure and declaring the return type of the function to be "auth_ident").

Any suggestions? Find a compiler (or OS) that is not so particular, maybe!

Mike O'Rourke

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

More information about the Info-cyrus mailing list