Re: Berkeley DB detection problems

2005-12-19 Thread Adrian Buciuman
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2187

This bugzilla entry is similar to what I've reported:
configure finds the header of some 3.x version of Berkeley DB, but
linking is tried with db-4.0.

Can this be fixed in a way that will allow linking with db3.x ?


Thank you,
Adrian Buciuman

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


Re: Auto responders and Folder Auto creation

2005-12-19 Thread Craig White
On Mon, 2005-12-19 at 07:41 +0100, Simon Matter wrote:
> > Hi
> >
> > I am quite new to Cyrus and Linux. Could some one please guide me how can
> > I
> > do a vacation message with Cyrus, Postfix setup?. I am using cyrus 2.2.12.
> 
> You can use some nice frontends to create sieve rules. I suggest using
> squirrelmail with avelsieve plugin, or something similar.
> 
> > I
> > am using CentOS4.1 (Equal to RHEL 4)  Also if I need to Auto create
> > folders
> > do I need to update the patches?.  Any sample configuration and links
> 
> in /etc/imapd.conf
> autocreatequota: -1
> createonpost: yes
> 

and to further amplify Simon's comments, I use...

autocreateinboxfolders: Sent Items|SPAMBOX|VIRUSBOX|Drafts|Deleted Items
autosubscribeinboxfolders: Sent Items|SPAMBOX|VIRUSBOX|Drafts|Deleted
Items
autosubscribesharedfolders: public

Craig


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


RE: Auto responders and Folder Auto creation

2005-12-19 Thread Rajeev
Hi 

Thanks for your e-mail. But some how it is not working. I have virtual users
in ldap directory. 
Do I need to add the patch?. (I think the Cyrus Version 2.2.12 don't need
the patch ... is that correct?. )

Apart from that I think everything is as per your e-mail 
 

Thanks

Rajeev



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig White
Sent: Monday, December 19, 2005 5:37 PM
To: info-cyrus@lists.andrew.cmu.edu
Subject: Re: Auto responders and Folder Auto creation

On Mon, 2005-12-19 at 07:41 +0100, Simon Matter wrote:
> > Hi
> >
> > I am quite new to Cyrus and Linux. Could some one please guide me how
can
> > I
> > do a vacation message with Cyrus, Postfix setup?. I am using cyrus
2.2.12.
> 
> You can use some nice frontends to create sieve rules. I suggest using
> squirrelmail with avelsieve plugin, or something similar.
> 
> > I
> > am using CentOS4.1 (Equal to RHEL 4)  Also if I need to Auto create
> > folders
> > do I need to update the patches?.  Any sample configuration and links
> 
> in /etc/imapd.conf
> autocreatequota: -1
> createonpost: yes
> 

and to further amplify Simon's comments, I use...

autocreateinboxfolders: Sent Items|SPAMBOX|VIRUSBOX|Drafts|Deleted Items
autosubscribeinboxfolders: Sent Items|SPAMBOX|VIRUSBOX|Drafts|Deleted
Items
autosubscribesharedfolders: public

Craig


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


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


RE: Auto responders and Folder Auto creation

2005-12-19 Thread Craig White
Virtual users doesn't matter - in essence, all cyrus-imapd users are
virtual.

To check the various autocreate features that are available to you,
see...

ls -l /usr/share/doc/cyrus-imapd-2.2.12/README.auto*

FWIW, I actually don't use the RHEL or CentOS distribution rpms but
build from Simon's rpm's which have additional 'auto' patches - which is
why I have a hard time telling you which features you can use. I know
for sure that autosieve isn't part of the RHEL/CentOS cyrus-imapd
package.

Simon's rpm's are located at...

http://www.invoca.ch/pub/packages/cyrus-imapd/

Craig

On Sun, 2005-12-18 at 19:15 +0400, Rajeev wrote:
> Hi 
> 
> Thanks for your e-mail. But some how it is not working. I have virtual users
> in ldap directory. 
> Do I need to add the patch?. (I think the Cyrus Version 2.2.12 don't need
> the patch ... is that correct?. )
> 
> Apart from that I think everything is as per your e-mail 
>  
> 
> Thanks
> 
> Rajeev
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Craig White
> Sent: Monday, December 19, 2005 5:37 PM
> To: info-cyrus@lists.andrew.cmu.edu
> Subject: Re: Auto responders and Folder Auto creation
> 
> On Mon, 2005-12-19 at 07:41 +0100, Simon Matter wrote:
> > > Hi
> > >
> > > I am quite new to Cyrus and Linux. Could some one please guide me how
> can
> > > I
> > > do a vacation message with Cyrus, Postfix setup?. I am using cyrus
> 2.2.12.
> > 
> > You can use some nice frontends to create sieve rules. I suggest using
> > squirrelmail with avelsieve plugin, or something similar.
> > 
> > > I
> > > am using CentOS4.1 (Equal to RHEL 4)  Also if I need to Auto create
> > > folders
> > > do I need to update the patches?.  Any sample configuration and links
> > 
> > in /etc/imapd.conf
> > autocreatequota: -1
> > createonpost: yes
> > 
> 
> and to further amplify Simon's comments, I use...
> 
> autocreateinboxfolders: Sent Items|SPAMBOX|VIRUSBOX|Drafts|Deleted Items
> autosubscribeinboxfolders: Sent Items|SPAMBOX|VIRUSBOX|Drafts|Deleted
> Items
> autosubscribesharedfolders: public
> 
> Craig
> 
> 
> 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
> 


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


Re: Problem creating mailboxes

2005-12-19 Thread david
>> localhost> cm info
>
>Shouldn't that be:
>
>  localhost> cm user.info
>
>or user/info if you're using unixhierarchysep?

Thanks, I turned off unixhierarchysep and tried using "cm user.info" instead. 
Unfortunately I still have the same issue. The cyradm app dies shortly after 
running the cm command and when I go back in the mailbox shows as /noselect 
/hasnochildren. 

#cyradm -u mailadm localhost
Password:
localhost> lm
localhost> cm user.info
createmailbox:
localhost> lm

localhost> lm
#  <--- This is where it crashes back to the command line

Going back in:
#cyradm -u mailadm localhost
Password:
localhost> lm
user.info (\Noselect \HasNoChildren)
localhost> quit
#

What would cause mailbox creation to fail? Should I be using something other 
than cyradm to create the mailboxes?

-Dave
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

Re: Problem creating mailboxes

2005-12-19 Thread david
I noticed this error as well that appears when I run the "cm" command:

Dec 19 09:18:52 messenger1 master[5730]: [ID 970914 local6.error] process 5740 
exited, signaled to death by 10

So something is definitely crashing. I'm running Berkeley DB 4.4.16. Is that a 
problem?

-Dave

-Original Message-
From: [EMAIL PROTECTED]
Sent: Mon, 19 Dec 2005 09:10:36 -0600 (CST)
Subject: Re: Problem creating mailboxes


>> localhost> cm info
>
>Shouldn't that be:
>
>  localhost> cm user.info
>
>or user/info if you're using unixhierarchysep?

Thanks, I turned off unixhierarchysep and tried using "cm user.info" instead. 
Unfortunately I still have the same issue. The cyradm app dies shortly after 
running the cm command and when I go back in the mailbox shows as /noselect 
/hasnochildren. 

#cyradm -u mailadm localhost
Password:
localhost> lm
localhost> cm user.info
createmailbox:
localhost> lm

localhost> lm
#  <--- This is where it crashes back to the command line

Going back in:
#cyradm -u mailadm localhost
Password:
localhost> lm
user.info (\Noselect \HasNoChildren)
localhost> quit
#

What would cause mailbox creation to fail? Should I be using something other 
than cyradm to create the mailboxes?

-Dave

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

Re: Problem creating mailboxes

2005-12-19 Thread david
Well, it's not DB 4.4.16. I just tried DB 3.3.11 and the same thing happens. 

-Dave

-Original Message-
From: [EMAIL PROTECTED]
Sent: Mon, 19 Dec 2005 09:17:47 -0600 (CST)
Subject: Re: Problem creating mailboxes


I noticed this error as well that appears when I run the "cm" command:

Dec 19 09:18:52 messenger1 master[5730]: [ID 970914 local6.error] process 5740 
exited, signaled to death by 10

So something is definitely crashing. I'm running Berkeley DB 4.4.16. Is that a 
problem?

-Dave

-Original Message-
From: [EMAIL PROTECTED]
Sent: Mon, 19 Dec 2005 09:10:36 -0600 (CST)
Subject: Re: Problem creating mailboxes


>> localhost> cm info
>
>Shouldn't that be:
>
>  localhost> cm user.info
>
>or user/info if you're using unixhierarchysep?

Thanks, I turned off unixhierarchysep and tried using "cm user.info" instead. 
Unfortunately I still have the same issue. The cyradm app dies shortly after 
running the cm command and when I go back in the mailbox shows as /noselect 
/hasnochildren. 

#cyradm -u mailadm localhost
Password:
localhost> lm
localhost> cm user.info
createmailbox:
localhost> lm

localhost> lm
#  <--- This is where it crashes back to the command line

Going back in:
#cyradm -u mailadm localhost
Password:
localhost> lm
user.info (\Noselect \HasNoChildren)
localhost> quit
#

What would cause mailbox creation to fail? Should I be using something other 
than cyradm to create the mailboxes?

-Dave

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

autocreate inbox patch on 2.3

2005-12-19 Thread Patrice

Hi,

I would like to know if I can use the autocreate inbox patch for 
cyrus-imap 2.2.12 on cyrus-imap 2.3 without breaking anything.


thank you

Patrice


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


Problem Compiling imapd 2.3.0 Solaris cc Studio 10

2005-12-19 Thread Jean-Christophe Delaye
I'm trying to compile the new 2.3.0 release with Sun cc (studio10) and 
get the following error.



"../sieve/sieve_err.h", line 19: warning: dubious tag declaration: 
struct et_list


cc -c -I.. -I./../lib -I../et -I./../sieve -I/opt/db_4.2.52/include 
-I/usr/sfw/include -I/opt/openssl_0.9.7d/include 
-I/opt/cyrus-sasl_2.1.18/include -DHAVE_CONFIG_H  -g \

mbdump.c
"imap_err.h", line 67: warning: dubious tag declaration: struct et_list
"mbdump.c", line 152: an address is not allowed in a constant 
initializer for an integral type whose size is smaller than the size of 
a pointer
"mbdump.c", line 153: an address is not allowed in a constant 
initializer for an integral type whose size is smaller than the size of 
a pointer
"mbdump.c", line 154: an address is not allowed in a constant 
initializer for an integral type whose size is smaller than the size of 
a pointer

cc: acomp failed for mbdump.c
make[1]: *** [mbdump.o] Error 2


Any ideas on this problem?
It worked before with this compiler with Imapd 2.2.5

Thanks.



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


idled vs. poll vs. no

2005-12-19 Thread Karl Boyken
What are the advantages and disadvantages of the different --with-idle 
methods?  Are there any rules of thumb on when one would be more 
advisable to use than the others?  Thanks.


Karl Boyken

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


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


why does cyrus have to have a password

2005-12-19 Thread Ralph Blach

When I want to use cyradm, I have to give cyrus a password, or else I
cannont use cyradm.  Is there a way around this problem?

I would really not like people to be able to ssh into the cyrus account.

Chip

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


Re: why does cyrus have to have a password

2005-12-19 Thread Andreas Haase

Ralph,

On Mon, 19 Dec 2005, Ralph Blach wrote:

When I want to use cyradm, I have to give cyrus a password, or else I
cannont use cyradm.  Is there a way around this problem?


Would it be better to have access from the web to your cyrus without any 
restriction?



I would really not like people to be able to ssh into the cyrus account.


set the login shell of your cyrus admin user to /bin/false or something 
similiar.


Regards,

Andreas Haase

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


RE: Re: Problem creating mailboxes

2005-12-19 Thread david
Here's the last part of a truss on cyradm showing the crash. Any ideas on how 
to fix this? 

open("/dev/random", O_RDONLY)   = 6
read(6, " i\b9BB9 Z\b", 6)  = 6
close(6)= 0
times(0xFFBFF308)   = 106022148
ioctl(1, TCGETA, 0xFFBFF12C)= 0
fstat64(1, 0xFFBFF048)  = 0
write(1, " P a s s w o r d :  ", 10)= 10
open("/dev/tty", O_RDONLY)  = 6
fstat64(6, 0xFFBFF188)  = 0
sigaction(SIGINT, 0xFFBFF220, 0xFFBFF2A0)   = 0
ioctl(6, TCGETA, 0xFFBFF344)= 0
ioctl(6, TCSETAF, 0xFFBFF344)   = 0
fstat64(2, 0xFFBFF030)  = 0
write(2, 0xFF0DBE58, 0) = 0
read(6, 0xFF1BFD5C, 1)  (sleeping...)
read(6, " J", 1)= 1
read(6, " e", 1)= 1
read(6, " x", 1)= 1
read(6, " 4", 1)= 1
read(6, " ~", 1)= 1
read(6, " M", 1)= 1
read(6, " o", 1)= 1
read(6, " r", 1)= 1
read(6, "\n", 1)= 1
ioctl(6, TCSETAW, 0xFFBFF344)   = 0
write(2, "\n", 1)   = 1
sigaction(SIGINT, 0xFFBFF220, 0xFFBFF2A0)   = 0
close(6)= 0
write(4, " d X N l c m 5 h b W U 9".., 354) = 354
poll(0xFFBFE428, 1, -1) = 1
read(4, " +   c n N w Y X V 0 a D".., 4096) = 60
fstat(5, 0xFFBFF170)= 0
time()  = 1135026415
getpid()= 27957 [27956]
putmsg(5, 0xFFBFE828, 0xFFBFE81C, 0)= 0
open("/var/run/syslog_door", O_RDONLY)  = 6
door_info(6, 0xFFBFE760)= 0
getpid()= 27957 [27956]
door_call(6, 0xFFBFE748)= 0
close(6)= 0
write(4, "\r\n", 2) = 2
poll(0xFFBFE428, 1, -1) = 1
read(4, " 3   O K   S u c c e s s".., 4096) = 35
write(4, "\0\0\01F h # yA4 \ } 0 ,".., 35)  = 35
poll(0xFFBFE728, 1, -1) = 1
read(4, "\0\0\0 PF2FACB GFEE9B102".., 4096) = 84
stat64("/usr/local/etc/cyradmrc.pl", 0x00125848) Err#2 ENOENT
stat64("//.cyradmrc.pl", 0x00125848)Err#2 ENOENT
stat64("/usr/local/lib/perl5/5.8.4/sun4-solaris/Term/Cap.pmc", 0xFFBFF7F0) 
Err#2 ENOENT
open64("/usr/local/lib/perl5/5.8.4/sun4-solaris/Term/Cap.pm", O_RDONLY) Err#2 
ENOENT
stat64("/usr/local/lib/perl5/5.8.4/Term/Cap.pmc", 0xFFBFF7F0) Err#2 ENOENT
open64("/usr/local/lib/perl5/5.8.4/Term/Cap.pm", O_RDONLY) = 6
brk(0x0035F960) = 0
brk(0x00361960) = 0
fstat64(6, 0xFFBFD028)  = 0
brk(0x00361960) = 0
brk(0x00363960) = 0
fstat64(6, 0xFFBFCED0)  = 0
ioctl(6, TCGETA, 0xFFBFCFB4)Err#25 ENOTTY
read(6, " p a c k a g e   T e r m".., 8192) = 8192
brk(0x00363960) = 0
brk(0x00365960) = 0
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
brk(0x00365960) = 0
brk(0x00367960) = 0
read(6, " e   ( $ _   = ~   s / \".., 8192) = 8192
brk(0x00367960) = 0
brk(0x00369960) = 0
brk(0x00369960) = 0
brk(0x0036B960) = 0
brk(0x0036B960) = 0
brk(0x0036D960) = 0
brk(0x0036D960) = 0
brk(0x0036F960) = 0
brk(0x0036F960) = 0
brk(0x00371960) = 0
brk(0x00371960) = 0
brk(0x00373960) = 0
brk(0x00373960) = 0
brk(0x00375960) = 0
brk(0x00375960) = 0
brk(0x00377960) = 0
read(6, " e n   a r g s\n".., 8192) = 1020
fcntl(6, F_SETFD, 0x0001)   = 0
stat64("//.termcap", 0x00125848)Err#2 ENOENT
stat64("/etc/termcap", 0x00125848)  = 0
stat64("/usr/share/misc/termcap", 0x00125848)   Err#2 ENOENT
open64("/etc/termcap", O_RDONLY)  

Re: why does cyrus have to have a password

2005-12-19 Thread Chris Hilts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Haase wrote:
>> I would really not like people to be able to ssh into the cyrus account.
> 
> set the login shell of your cyrus admin user to /bin/false or something
> similiar.

Specifically, check the AllowGroups/AllowUsers and DenyGroups/DenyUsers
parameters for sshd. (man 5 sshd_config)


- --
Chris Hilts
[EMAIL PROTECTED]
Say it with flowers -- Send them a triffid!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDpyNy98ixrK2vMtARAhetAJ4maBMr9SFTx2THR4RRczkhd4JUJwCfQPB4
P7NXFej9hquGhQsE9akpb08=
=co7S
-END PGP SIGNATURE-

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


deleting a "roughe mailbox"

2005-12-19 Thread Ralph Blach

upI accidentially created a mailbox called users.x
and now I want to delete it.

I added delete capabailty to it so now its

listacl users.rcblach
cyrus d
cyrusadm d
anyone lrs

But I still can seem to delete it.

any ideas?

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


Re: deleting a "roughe mailbox"

2005-12-19 Thread Andrew Morgan

On Mon, 19 Dec 2005, Ralph Blach wrote:


upI accidentially created a mailbox called users.x
and now I want to delete it.

I added delete capabailty to it so now its

listacl users.rcblach
cyrus d
cyrusadm d
anyone lrs

But I still can seem to delete it.


You want the "c" permission instead of the "d" permission.

Andy

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


Re: why does cyrus have to have a password

2005-12-19 Thread Bill Kearney
> I would really not like people to be able to ssh into the cyrus account.

Look into how your OS restricts logins.  No doubt pam or whatever can be
configured to specifically deny non-localhost logins to that account.  Most
handle root this way too.

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