Reconstruct Syntax Help
Hello List, i am getting: IOERROR: opening /opt/foo/imap/spool/domain/foo/user/archive/2008/12/cyrus.header: No such file or directory What is the syntax for reconstruct to fix this? I tried: reconstruct -r [EMAIL PROTECTED] but i get Mailbox does not exist. Whats the syntax? Thanks, Mario Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Can i convert qpopper to cyrus?
Hello List, can i convert qpopper to cyrus somehow? Thanks, Mario Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Logging or verbose doesn't work
Hy all, I'm trying to get more verbose or more logging to solve an issue with TLS. I got problem on my Freebsd 6.2. If I set in my syslog.conf local6.* /var/log/imapd.log touch the imapd.log file and restart syslog, it doesn't write anything in it. If i set the envirronement variable CYRUS_VERBOSE=5 in my loader.conf or rc.conf or in /root/.profile , it also doesn't verbose more in my /var/log/messages or /var/log/maillog Can you help me please? Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
2.3.11 STARTTLS broken if tls_ca_file is defined
Hy all, I wish you an happy new year for 2k8. I've readden this bug on the mailing list, but could not reply cause i removed it. Since I upgraded to 2.3.11, It's seems i've got the same problem. I can use TLS via SSL via imaps on port 993 when i disable the tls_ca_file : imaps[45635]: TLS server engine: cannot load CA data Jan 2 17:34:47 imaptest imaps[45635]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits reused) no authentication Jan 2 17:34:47 imaptest imaps[45635]: login: [x.x.x.x] toto2 plain+TLS User logged in but I can't connect to TLS via imapd on port 143 : TLS server engine: cannot load CA data Jan 2 17:35:37 imaptest imap[45653]: TLS server engine: No CA file specified. Client side certs may not work Jan 2 17:35:37 imaptest imap[45653]: STARTTLS negotiation failed: [ x.x.x.x ] I use client certificate. What can i do to solve it? Thanks a lot. Best Regards. Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Automatic Sieve Script Subscription
Hy all, Do you know if there's a way for any mailboxes to subscribe automaticaly to a sieve script at creation of the mailbox? I would like for all users to transfert SPAM tagged subject to a SPAM folders, or mailling list mail to mailling list folder without having to explain all users to write it with avelsieve. I tought Autosieve patch was able to do it but it only creates folders if it doesn't exist. Thanks a lot. Thanks again for your good work on Cyrus! Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re:setaclmailbox: anyone: dcl: System I/O error
Problem was on file System and , Recreate in /var/spool/imap/user^toto25 and user^toto25^Trash change owner to cyrus:cyrus and reconstruct the mailboxes works. Then I was able to delete mailboxes with cyradm. But I still get the problems with Websieve.. it doesn't use the correct unixhierarshysep..! I someone use it with unixhiersep to yes!? can you give me your websieve.conf ? Thanks. -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus info-cyrus@lists.andrew.cmu.edu Copies : Date : Fri, 10 Aug 2007 12:15:17 +0200 Objet : setaclmailbox: anyone: dcl: System I/O error Hi all, I got a problem. I created mailboxes on cyrus with Websieve. On My cyrus, Unixhiersep is set to YES. I did it also on Websieve but it seems it doesn't respect it (i don't know how to solve it too!). Normal and working mailboxes looks like that : user/toto1/Sent (\HasNoChildren) Websieve created mailboxes looks like that : user.toto25 (\HasNoChildren) When i try to set Acl to delete it, I got such error : sam user.toto25 cyrus dcl setaclmailbox: cyrus: dcl: System I/O error ??? Strange. How can I delete this mailboxes? And maybe, how can i make Websieve mailboxes creation respect the unixhiersep I set? Thanks a lot for your help and for Cyrus! Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
setaclmailbox: anyone: dcl: System I/O error
Hi all, I got a problem. I created mailboxes on cyrus with Websieve. On My cyrus, Unixhiersep is set to YES. I did it also on Websieve but it seems it doesn't respect it (i don't know how to solve it too!). Normal and working mailboxes looks like that : user/toto1/Sent (\HasNoChildren) Websieve created mailboxes looks like that : user.toto25 (\HasNoChildren) When i try to set Acl to delete it, I got such error : sam user.toto25 cyrus dcl setaclmailbox: cyrus: dcl: System I/O error ??? Strange. How can I delete this mailboxes? And maybe, how can i make Websieve mailboxes creation respect the unixhiersep I set? Thanks a lot for your help and for Cyrus! Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Import Mailboxes from . to / unixhiersep
Hy all, I plan to transfer my old Cyrus server (2.1) to a brand fresh installed one on 2.3.8. I have Imap Mailboxes on the old server with unixhiersep set to no to the new one with unixhiersep set to yes (to enable my new server to use composed login with dot). For exemples, on the old server i get using lm : user.toto (\HasChildren) user.toto.Drafts (\HasNoChildren) user.toto.Sent (\HasNoChildren) On the new one, I wish to convert it to : user/toto (\HasChildren) user/toto/Drafts (\HasNoChildren) user/toto/Sent (\HasNoChildren) How can i reimport and convert the mailboxes? Thanks a lot! Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re:Import Mailboxes from . to / unixhiersep
Ok, I should have tried before ask! :D Simply done it with : Create a new mailbox on the new server. Transfert mail from /var/spool/imap/user/ to the new server users mailbox. As cyrus, run recontruct -r -f user/ Thanks for this helpful mailing list anyway! ;) -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus info-cyrus@lists.andrew.cmu.edu Copies : Date : Wed, 8 Aug 2007 11:40:07 +0200 Objet : Import Mailboxes from . to / unixhiersep Hy all, I plan to transfer my old Cyrus server (2.1) to a brand fresh installed one on 2.3.8. I have Imap Mailboxes on the old server with unixhiersep set to no to the new one with unixhiersep set to yes (to enable my new server to use composed login with dot). For exemples, on the old server i get using lm : user.toto (\HasChildren) user.toto.Drafts (\HasNoChildren) user.toto.Sent (\HasNoChildren) On the new one, I wish to convert it to : user/toto (\HasChildren) user/toto/Drafts (\HasNoChildren) user/toto/Sent (\HasNoChildren) How can i reimport and convert the mailboxes? Thanks a lot! Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
GSSAPI and replication problem
Cheers all, I tested replication between two computers without problems on FREEBSD 6.2 . Now I tried to move the replica on a good server I got problems with it... Master cannot synchronise on the new replica server. GSSAPI Error: Miscellaneous failure (see text) (No such file or directory) Jul 27 09:28:59 imaptest sync_client[13889]: couldn't authenticate to backend server: generic failure I have the same configuration in the two replica machines.. Just one things differ : When I telnet the old machine on 2005 I can't see GSSAPI (only SASL NTLM OTP DIGEST-MD5 CRAM-MD5). I can't remember how i disable it when i installed it. On the new server i have it... and i want to remove/disable this method. How to? I use Saslauthd for authentication. Thanks. Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Fatal error: can't open configuration file /etc/imapd.conf
Hello List, i am getting this error on Ubutu-Dapper: Jul 26 11:53:22 oxinstaller cyrus/notify[23686]: Fatal error: can't open configuration file /etc/imapd.conf: No such file or directory Jul 26 11:53:24 oxinstaller cyrus/master[23681]: process 23686 exited, status 75 Jul 26 11:53:24 oxinstaller cyrus/master[23681]: service notify pid 23686 in READY state: terminated abnormally Jul 26 11:53:24 oxinstaller cyrus/master[23689]: about to exec /usr/lib/cyrus/bin/notifyd Jul 26 11:53:24 oxinstaller cyrus/notify[23689]: Fatal error: can't open configuration file /etc/imapd.conf: No such file or directory $ ls -alh /etc/imapd.conf -rw--- 1 root root 13K 2007-07-26 11:21 /etc/imapd.conf Any idea whats wrong here or how to fix it? Do you need more infos? Thanks, Mario Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Fatal error: can't open configuration file /etc/imapd.conf
I kind of expected a Permisson denied or a chroot problem :). Quite strange that the permissons are broken out of the ubuntu box. Thanks, Mario Bob Bob schrieb: Hi Mario Cyrus runs under user cyrus but your imapd.conf perms are set so it cant read it.. chmod 644 /etc/imapd.conf will fix it Cheers Bob [EMAIL PROTECTED] wrote: $ ls -alh /etc/imapd.conf -rw--- 1 root root 13K 2007-07-26 11:21 /etc/imapd.conf Any idea whats wrong here or how to fix it? Do you need more infos? Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus replication problems
Hy all again! I get more information. In copying from my slave 2.3.8 the sync_client and sync_server files to the master in 2.3.7 I am now able to run sync_client -v -m user.toto2 on my master it works! I think there is an incompatibility between the two modules but i'm absolutely unable to read and understand any codes. Now seems to work fine, also when i do a rolling sync! -- Debut du message initial --- De : [EMAIL PROTECTED] A : dkirhlarov [EMAIL PROTECTED] Copies : info-cyrus info-cyrus@lists.andrew.cmu.edu Date : Thu, 1 Mar 2007 17:39:36 +0100 Objet : Re: Cyrus replication problems Does someone can help me with it? It seems replication is rely hard to get working? Thanks! I remove the line syncserver cmd=/usr/cyrus/bin/sync_server listen=csync from my cyrus.conf then i try to sync manually, it doesn't sync anything. If i make as cyrus a sync_client -u -v i will see on the replica : Imapreplica syncserver[1185]: login: [10.1.45.3] cyrus DIGEST-MD5 User logged in So it seems to talk between my two servers. But nothing is synchronize ... But on my master, i get nothing on the var/log/messages ... Sometimes and i do not know how, i get on the master : Feb 27 17:58:02 imaptest sync_client[1109]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:02 imaptest sync_client[1109]: Error in do_mailboxes(): bailing out! Feb 27 17:58:16 imaptest sync_client[]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:16 imaptest sync_client[]: Error in do_mailboxes(): bailing out! Feb 27 17:58:22 imaptest sync_client[1112]: CREATE received BAD response: Missing required argument to Create Feb 27 17:58:22 imaptest sync_client[1112]: Error in do_mailboxes(): bailing out! I can't reproduce it everytimes... What i would like to do is to synchronize the master on the replica to use the replica as a backup server not High availability. So do i need to make rolling (as i understood, i think no! ?) Do i must put parameters at sync_client -u -v or can it sync every users and mailboxes (with -m) automatically? Can someone helps me please? Thanks a lot! -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus@lists.andrew.cmu.edu Copies : Date : Mon, 26 Feb 2007 19:25:07 +0300 Objet : Re: Cyrus replication problems On Mon, Feb 26, 2007 at 02:35:05PM +0100, [EMAIL PROTECTED] wrote: I'm not able anymore to make as cyrus user a cyradm localhost I get : cyradm: cannot connect to server http://cyrusimap.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrusmsg=41779 You must start sync_client over different script AFTER starting cyrus imapd server. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED] Building Successful Supply Chains - One Solution At A Time. www.oilspace.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus replication problems
Hy all again! I get more information. In copying from my slave 2.3.8 the sync_client and sync_server files to the master in 2.3.7 I am now able to run sync_client -v -m user.toto2 on my master it works! I think there is an incompatibility between the two modules but i'm absolutely unable to read and understand any codes. Now seems to work fine, also when i do a rolling sync! -- Debut du message initial --- De : [EMAIL PROTECTED] A : dkirhlarov [EMAIL PROTECTED] Copies : info-cyrus info-cyrus@lists.andrew.cmu.edu Date : Thu, 1 Mar 2007 17:39:36 +0100 Objet : Re: Cyrus replication problems Does someone can help me with it? It seems replication is rely hard to get working? Thanks! I remove the line syncserver cmd=/usr/cyrus/bin/sync_server listen=csync from my cyrus.conf then i try to sync manually, it doesn't sync anything. If i make as cyrus a sync_client -u -v i will see on the replica : Imapreplica syncserver[1185]: login: [10.1.45.3] cyrus DIGEST-MD5 User logged in So it seems to talk between my two servers. But nothing is synchronize ... But on my master, i get nothing on the var/log/messages ... Sometimes and i do not know how, i get on the master : Feb 27 17:58:02 imaptest sync_client[1109]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:02 imaptest sync_client[1109]: Error in do_mailboxes(): bailing out! Feb 27 17:58:16 imaptest sync_client[]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:16 imaptest sync_client[]: Error in do_mailboxes(): bailing out! Feb 27 17:58:22 imaptest sync_client[1112]: CREATE received BAD response: Missing required argument to Create Feb 27 17:58:22 imaptest sync_client[1112]: Error in do_mailboxes(): bailing out! I can't reproduce it everytimes... What i would like to do is to synchronize the master on the replica to use the replica as a backup server not High availability. So do i need to make rolling (as i understood, i think no! ?) Do i must put parameters at sync_client -u -v or can it sync every users and mailboxes (with -m) automatically? Can someone helps me please? Thanks a lot! -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus@lists.andrew.cmu.edu Copies : Date : Mon, 26 Feb 2007 19:25:07 +0300 Objet : Re: Cyrus replication problems On Mon, Feb 26, 2007 at 02:35:05PM +0100, [EMAIL PROTECTED] wrote: I'm not able anymore to make as cyrus user a cyradm localhost I get : cyradm: cannot connect to server http://cyrusimap.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrusmsg=41779 You must start sync_client over different script AFTER starting cyrus imapd server. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED] Building Successful Supply Chains - One Solution At A Time. www.oilspace.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus replication problems
Does someone can help me with it? It seems replication is rely hard to get working? Thanks! I remove the line syncserver cmd=/usr/cyrus/bin/sync_server listen=csync from my cyrus.conf then i try to sync manually, it doesn't sync anything. If i make as cyrus a sync_client -u -v i will see on the replica : Imapreplica syncserver[1185]: login: [10.1.45.3] cyrus DIGEST-MD5 User logged in So it seems to talk between my two servers. But nothing is synchronize ... But on my master, i get nothing on the var/log/messages ... Sometimes and i do not know how, i get on the master : Feb 27 17:58:02 imaptest sync_client[1109]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:02 imaptest sync_client[1109]: Error in do_mailboxes(): bailing out! Feb 27 17:58:16 imaptest sync_client[]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:16 imaptest sync_client[]: Error in do_mailboxes(): bailing out! Feb 27 17:58:22 imaptest sync_client[1112]: CREATE received BAD response: Missing required argument to Create Feb 27 17:58:22 imaptest sync_client[1112]: Error in do_mailboxes(): bailing out! I can't reproduce it everytimes... What i would like to do is to synchronize the master on the replica to use the replica as a backup server not High availability. So do i need to make rolling (as i understood, i think no! ?) Do i must put parameters at sync_client -u -v or can it sync every users and mailboxes (with -m) automatically? Can someone helps me please? Thanks a lot! -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus@lists.andrew.cmu.edu Copies : Date : Mon, 26 Feb 2007 19:25:07 +0300 Objet : Re: Cyrus replication problems On Mon, Feb 26, 2007 at 02:35:05PM +0100, [EMAIL PROTECTED] wrote: I'm not able anymore to make as cyrus user a cyradm localhost I get : cyradm: cannot connect to server http://cyrusimap.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrusmsg=41779 You must start sync_client over different script AFTER starting cyrus imapd server. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED] Building Successful Supply Chains - One Solution At A Time. www.oilspace.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus replication problems
Thanks! I remove the line syncserver cmd=/usr/cyrus/bin/sync_server listen=csync from my cyrus.conf then i try to sync manually, it doesn't sync anything. If i make as cyrus a sync_client -u -v i will see on the replica : Imapreplica syncserver[1185]: login: [10.1.45.3] cyrus DIGEST-MD5 User logged in So it seems to talk between my two servers. But nothing is synchronize ... But on my master, i get nothing on the var/log/messages ... Sometimes and i do not know how, i get on the master : Feb 27 17:58:02 imaptest sync_client[1109]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:02 imaptest sync_client[1109]: Error in do_mailboxes(): bailing out! Feb 27 17:58:16 imaptest sync_client[]: MAILBOXES received BAD response: Missing required argument to Mailboxes Feb 27 17:58:16 imaptest sync_client[]: Error in do_mailboxes(): bailing out! Feb 27 17:58:22 imaptest sync_client[1112]: CREATE received BAD response: Missing required argument to Create Feb 27 17:58:22 imaptest sync_client[1112]: Error in do_mailboxes(): bailing out! I can't reproduce it everytimes... What i would like to do is to synchronize the master on the replica to use the replica as a backup server not High availability. So do i need to make rolling (as i understood, i think no! ?) Do i must put parameters at sync_client -u -v or can it sync every users and mailboxes (with -m) automatically? Can someone helps me please? Thanks a lot! -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus@lists.andrew.cmu.edu Copies : Date : Mon, 26 Feb 2007 19:25:07 +0300 Objet : Re: Cyrus replication problems On Mon, Feb 26, 2007 at 02:35:05PM +0100, [EMAIL PROTECTED] wrote: I'm not able anymore to make as cyrus user a cyradm localhost I get : cyradm: cannot connect to server http://cyrusimap.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrusmsg=41779 You must start sync_client over different script AFTER starting cyrus imapd server. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED] Building Successful Supply Chains - One Solution At A Time. www.oilspace.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Cyrus replication problems
Hy all, I get problems with replication. Once I enable replication on my imapd.conf with that options: # SYNC PARAMETERS sync_log: 1 sync_password: cyrus sync_host: imapreplica sync_realm: mydomain.com sync_authname: cyrus sync_machineid: 1 sync_repeat_interval: 3 Here is my full imapd.conf : configdirectory: /var/imap partition-default: /var/spool/imap allowplaintext: yes admins: cyrus reject8bit: no sieveusehomedir: false sievedir: /var/imap/sieve sasl_pwcheck_method: saslauthd tls_cert_file: /usr/local/etc/imaptest.cer tls_key_file: /usr/local/etc/imaptest.pem tls_ca_file: /usr/local/etc/ca.ca sync_log: 1 sync_password: cyrus sync_host: imapreplica sync_realm: netasq.com sync_authname: cyrus sync_machineid: 1 sync_repeat_interval: 3 I'm not able anymore to make as cyrus user a cyradm localhost I get : cyradm: cannot connect to server If i remove those lines in imapd.conf it works. The second problems is that replication doesn't works at all. I can on my first server make an : imtest -u cyrus -a cyrus -t -m PLAIN imapreplica and authenticate. If i run sync_client -u -v , i get : Can not connect to server 'imapreplica', retrying in 15 seconds Is there someone else who can help me please? Thanks, Nicolas. Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus Imapd shared folders question [auf Viren überprüft]
Hy all, I'm still trying to manage and configure authorization using ldap groups without success on cyrus 2.3.7 ... :( sasl authentication works fine with ldap and saslauthd. I've changed my groups on ldap to be easily configurated : dn: cn=mongroupe,ou=groups,o=mydomain,dc=fr objectClass: top objectClass: groupOfNames description: Test cn: mongroupe member: uid=toto1 member: uid=toto2 in my imapd.conf : If i use only it : sasl_pwcheck_method: saslauthd Authentication works. If I add it for authorization : auth_mech: pts pts_module: ldap ldap_sasl: 1 ldap_uri: ldap.mydomain.com ldap_mech: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN ldap_base: o=mydomain,dc=fr ldap_group_base: ou=groups,o=mydomain,dc=fr ldap_group_filter: cn=%U ldap_member_filter: uid=%U ldap_group_scope: sub ldap_member_method: filter I get problem to open cyradm : Feb 16 11:48:48 imaptest perl: GSSAPI Error: Miscellaneous failure (see text) (No such file or directory) Feb 16 11:48:50 imaptest imap[11070]: DBERROR db4: /var/imap/ptclient/ptscache.db: unexpected file type or format Feb 16 11:48:50 imaptest imap[11070]: DBERROR: opening /var/imap/ptclient/ptscache.db: Invalid argument Feb 16 11:48:50 imaptest imap[11070]: DBERROR: opening /var/imap/ptclient/ptscache.db: cyrusdb error Feb 16 11:48:50 imaptest imap[11070]: ptload completely failed: unable to canonify identifier: cyrus Feb 16 11:48:50 imaptest imap[11070]: badlogin: localhost.mydomain.com [::1] DIGEST-MD5 [SASL(-13): authentication failure: unable canonify user and get auxprops] Feb 16 11:48:53 imaptest perl: No worthy mechs found I don't get exactly what i need to be able to configure groups...!! Can someone help me, please? -- Debut du message initial --- De : [EMAIL PROTECTED] A : hans.moser [EMAIL PROTECTED] Copies : info-cyrus info-cyrus@lists.andrew.cmu.edu Date : Fri, 2 Feb 2007 09:56:14 +0100 Objet : Re: Cyrus Imapd shared folders question [auf Viren überprüft] Thanks! I will try with your configuration! ldapsearch -x -h ldap.mydomain.com -b ou=groups,o=mydomain,dc=fr cn=mongroupe Give me that result : # extended LDIF # # LDAPv3 # base ou=groups,o=mydomain,dc=fr with scope subtree # filter: cn=mongroupe # requesting: ALL # # mongroupe, groups, mydomain, fr dn: cn=mongroupe,ou=groups,o=mydomain,dc=fr objectClass: top objectClass: groupOfNames description: Test cn: mongroupe member: cn=toto,ou=users,o=mydomain,dc=FR member: cn=toto2,ou=users,o=mydomain,dc=fr # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 And ldapsearch -x -h ldap.mydomain.com -b ou=users,o=mydomain,dc=fr cn=toto2 # extended LDIF # # LDAPv3 # base ou=users,o=mydomain,dc=fr with scope subtree # filter: cn=toto2 # requesting: ALL # # toto2, users, mydomain, fr dn: cn=toto2,ou=users,o=mydomain,dc=fr o: mydomain initials: toto givenName: toto2 street: my street sn: TEST2 ou: mydomain l: there mail: [EMAIL PROTECTED] facsimileTelephoneNumber: 333 objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: Person uid: toto2 postalCode: 555658 cn: toto2 st: Nord # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 Here is the Ldif structure for my groups : dn: cn=mongroupe, ou=groups, o=mydomain,dc=fr description: Test objectClass: top objectClass: groupOfNames member: cn=toto,ou=users,o=mydomain,dc=FR member: cn=toto2,ou=users,o=mydomain,dc=fr cn: mongroupe So how can i make my filter on group and member? -- Debut du message initial --- De : Hans Moser [EMAIL PROTECTED] A : [EMAIL PROTECTED] [EMAIL PROTECTED] Copies : info-cyrus info-cyrus@lists.andrew.cmu.edu Date : Thu, 01 Feb 2007 18:30:53 +0100 Objet : Re: Cyrus Imapd shared folders question [auf Viren überprüft] [EMAIL PROTECTED] schrieb: Jan 31 17:59:37 imaptest ptloader[726]: ldap_sasl_interactive_bind() failed 16 (No such attribute). Jan 31 17:59:37 imaptest imap[727]: ptload(): bad response from ptloader server: ptsmodule_connect() failed Jan 31 17:59:37 imaptest imap[727]: ptload completely failed: unable to canonify identifier: toto2 Jan 31 17:59:37 imaptest imap[727]: badlogin: [10.1.45.1] plaintext toto2 invalid user Please show the toto2 entry from your ldap server. # ldapsearch -x -h ldap.mydomain.com -b ou=users,o=myorg,dc=fr uid=toto2 you must have anonymous read access to uid. I use this in imapd 2.2.12 (ldapdb and pts): sasl_log_level: 5 sasl_pwcheck_method: auxprob sasl_auxprob_plugin: ldapdb sasl_ldapdb_uri: ldap://foo sasl_ldapdb_id: human sasl_ldapdb_pw: pw sasl_ldapdb_mech: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN allowplaintext: yes sasl_minimum_layer: 0 sasl_ldapdb_starttls: Demand sasl_ldap_search_base: ou=humans,ou=bar sasl_ldap_search_filter: maildrop=%U tls_cert_file: foo.pem tls_key_file: foo6.pem
Re: Cyrus Imapd shared folders question [auf Viren überprüft]
Thanks! I will try with your configuration! ldapsearch -x -h ldap.mydomain.com -b ou=groups,o=mydomain,dc=fr cn=mongroupe Give me that result : # extended LDIF # # LDAPv3 # base ou=groups,o=mydomain,dc=fr with scope subtree # filter: cn=mongroupe # requesting: ALL # # mongroupe, groups, netasq, fr dn: cn=mongroupe,ou=groups,o=mydomain,dc=fr objectClass: top objectClass: groupOfNames description: Test cn: mongroupe member: cn=toto,ou=users,o=mydomain,dc=FR member: cn=toto2,ou=users,o=mydomain,dc=fr # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 And ldapsearch -x -h ldap.mydomain.com -b ou=users,o=mydomain,dc=fr cn=toto2 # extended LDIF # # LDAPv3 # base ou=users,o=mydomain,dc=fr with scope subtree # filter: cn=toto2 # requesting: ALL # # toto2, users, netasq, fr dn: cn=toto2,ou=users,o=mydomain,dc=fr o: mydomain initials: toto givenName: toto2 street: my street sn: TEST2 ou: mydomain l: there mail: [EMAIL PROTECTED] facsimileTelephoneNumber: 333 objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: Person uid: toto2 postalCode: 555658 cn: toto2 st: Nord # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 Here is the Ldif structure for my groups : dn: cn=mongroupe, ou=groups, o=mydomain,dc=fr description: Test objectClass: top objectClass: groupOfNames member: cn=toto,ou=users,o=mydomain,dc=FR member: cn=toto2,ou=users,o=mydomain,dc=fr cn: mongroupe So how can i make my filter on group and member? -- Debut du message initial --- De : Hans Moser [EMAIL PROTECTED] A : [EMAIL PROTECTED] [EMAIL PROTECTED] Copies : info-cyrus info-cyrus@lists.andrew.cmu.edu Date : Thu, 01 Feb 2007 18:30:53 +0100 Objet : Re: Cyrus Imapd shared folders question [auf Viren überprüft] [EMAIL PROTECTED] schrieb: Jan 31 17:59:37 imaptest ptloader[726]: ldap_sasl_interactive_bind() failed 16 (No such attribute). Jan 31 17:59:37 imaptest imap[727]: ptload(): bad response from ptloader server: ptsmodule_connect() failed Jan 31 17:59:37 imaptest imap[727]: ptload completely failed: unable to canonify identifier: toto2 Jan 31 17:59:37 imaptest imap[727]: badlogin: [10.1.45.1] plaintext toto2 invalid user Please show the toto2 entry from your ldap server. # ldapsearch -x -h ldap.mydomain.com -b ou=users,o=myorg,dc=fr uid=toto2 you must have anonymous read access to uid. I use this in imapd 2.2.12 (ldapdb and pts): sasl_log_level: 5 sasl_pwcheck_method: auxprob sasl_auxprob_plugin: ldapdb sasl_ldapdb_uri: ldap://foo sasl_ldapdb_id: human sasl_ldapdb_pw: pw sasl_ldapdb_mech: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN allowplaintext: yes sasl_minimum_layer: 0 sasl_ldapdb_starttls: Demand sasl_ldap_search_base: ou=humans,ou=bar sasl_ldap_search_filter: maildrop=%U tls_cert_file: foo.pem tls_key_file: foo6.pem tls_ca_file: foo06.pem tls_ca_path: ssl/ca # # ptloader ldap: ldap_id: human ldap_sasl: 1 ldap_password: pw ldap_uri: ldap://foo ldap_mech: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN ldap_start_tls: 1 ldap_tls_cacert_file: foo.pem ldap_tls_cert: foo6.pem ldap_tls_key: foo06.pem ldap_base: ou=humans,ou=bar ldap_group_base: ou=gruppen,ou=humans,ou=bar ldap_group_filter: ou=%U ldap_member_attribute: member ldap_group_scope: sub ldap_member_method: attribute Hans Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: Cyrus Imapd shared folders question
Well, nss_ldap seams a little bit hard fo me to understand Is there a way to use saslauthd for authentication and pts for authorization? Or is pts can do both? Or saslauthd both? Saslauthd works fine for authentication but i can't make pts working for authorization: I still got error like : Jan 31 17:59:37 imaptest ptloader[726]: ldap_sasl_interactive_bind() failed 16 (No such attribute). Jan 31 17:59:37 imaptest imap[727]: ptload(): bad response from ptloader server: ptsmodule_connect() failed Jan 31 17:59:37 imaptest imap[727]: ptload completely failed: unable to canonify identifier: toto2 Jan 31 17:59:37 imaptest imap[727]: badlogin: [10.1.45.1] plaintext toto2 invalid user Here is my imapd.conf configdirectory: /var/imap partition-default: /var/spool/imap allowplaintext: yes admins: cyrus reject8bit: no sieveusehomedir: false sievedir: /var/imap/sieve sasl_pwcheck_method: saslauthd auth_mech: pts pts_module: ldap ldap_start_tls: 0 ldap_base: ou=users,o=myorg,dc=fr ldap_uri: ldap://ldap.mydomain.com ldap_group_base: ou=groups,o=myorg,dc=fr ldap_group_filter: (cn=%u) ldap_filter: (uid=%u) ldap_member_filter: (member=%u) ldap_member_method: filter ldap_member_attribute: cn ldap_member_scope: sub ldap_group_scope: sub ptscache_timeout: 5 ptscache_db: skiplist ldap_size_limit: 1 ldap_scope: sub ptloader_sock: /var/imap/socket/ptsock tls_cert_file: /usr/local/etc/imaptest.cer tls_key_file: /usr/local/etc/imaptest.pem tls_ca_file: /usr/local/etc/toto.ca Can someone help me? Thanks. -- Debut du message initial --- De : Simon Matter [EMAIL PROTECTED] A : [EMAIL PROTECTED] [EMAIL PROTECTED] Copies : info-cyrus info-cyrus@lists.andrew.cmu.edu Date : Wed, 31 Jan 2007 07:34:51 +0100 (CET) Objet : RE: Cyrus Imapd shared folders question Ok! It's Working fine! Thanks! Another things i try to make: I'd like to create shared maillbox acl by group. for example sam maillist group:mygroup lprs it doesn't work. I use saslauthd to authenticate my user on the server. I also got group on my ldap server. Who can i make cyrus to check group on my ldap? Is it possible to make it with cyrus-saslauthd (as i'm using for my user) or do i have to use pts auxprop , ldap ptloader? where can i get more documentation about it? (man imapd.conf is not very expressive about it) saslauthd is not involved here. For what you want there are at least 2 ways: 1) You can use nss_ldap to map LDAP groups to Unix groups which can then be used by a group:name ACL. Please note that you may need some way of group caching for large groups, as those lookups are expensive on the LDAP side. For it you could use nss_db or the patches I use available here http://www.invoca.ch/pub/packages/cyrus-imapd/scripts/groupcache/. 2) As you mentioned, pts with it's ldap support should also work (I have never used it so I can't tell how exactly it works). Simon Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: Cyrus Imapd shared folders question
Ok! It's Working fine! Thanks! Another things i try to make: I'd like to create shared maillbox acl by group. for example sam maillist group:mygroup lprs it doesn't work. I use saslauthd to authenticate my user on the server. I also got group on my ldap server. Who can i make cyrus to check group on my ldap? Is it possible to make it with cyrus-saslauthd (as i'm using for my user) or do i have to use pts auxprop , ldap ptloader? where can i get more documentation about it? (man imapd.conf is not very expressive about it) I user cyrus-imapd 2.3.37 and cyrus-sasauthd 2.1.22 thanks. -- Debut du message initial --- De : [EMAIL PROTECTED] A : info-cyrus info-cyrus@lists.andrew.cmu.edu Copies : Date : Mon, 29 Jan 2007 10:33:36 +0100 Objet : RE: Cyrus Imapd shared folders question My user toto is able to subscride on it and read mail and also put mails in it if i put correct rights on it. My question is : is there a way to be able to send mail to [EMAIL PROTECTED] directly and then mail be stored on this shared folders? When i do that : i get this error messages : imaptest postfix/pipe[14141]: 13D3898041E: to=[EMAIL PROTECTED], relay=cyrus, delay=0, status=bounced (data format error. Command output: maillist: Mailbox does not exist ) Search for plus addressing. E.g. if you're using Postfix you can put: maillist +yourSharedFolder ... in virtual_alias. Make sure you've given anonymous p rights so that delivery can take place. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Cyrus Imapd shared folders question
Hy all, I m trying to configure shared folders on my cyrus imap server using for examples on cyradm : cm maillinglist sam maillinglist toto read My user toto is able to subscride on it and read mail and also put mails in it if i put correct rights on it. My question is : is there a way to be able to send mail to [EMAIL PROTECTED] directly and then mail be stored on this shared folders? When i do that : i get this error messages : imaptest postfix/pipe[14141]: 13D3898041E: to=[EMAIL PROTECTED], relay=cyrus, delay=0, status=bounced (data format error. Command output: maillist: Mailbox does not exist ) Of course this is not a mailbox... (and not created like cm user.toto) . But is there a way to consider this shared folders as a mailbox? Thanks Envoyez vos cartes de voeux depuis www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin ! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
cyrus rehash script: from basic to full hashing scheme
I work at a college where we have about 4500 student mail accounts. Our Xserve (Tiger 10.4.7) is bound to Active Directory where we're using the student id # as the username which always begins with a 0 or 1. This causes the basic hashing scheme to put the /var/imap/___ files in subfolder q of the respective directory (user, quota, ...). We are not using virtual domains. I would like to rehash to the full hashing scheme using the rehash script (/usr/bin/cyrus/tools/rehash). I'm neither a bash nor perl expert, but it appears the rehash script is not compatible with case INsensitive file systems (like our Mac OS Extended - Journaled). I've made some changes to the script's move_users subprocedure to create new dirs beginning with . (so it wouldn't remove valid dirs) and then after hashing rename all those . dirs back to their corresponding letters--just like the move_quotas and move_sieve subprocedures do. I'm hesitant to run my changes since there is no easy undo if it doesn't work. (Yes, I know I need a test box.) If any are interested in seeing my modified rehash script, let me know. (I've also added a bunch of print statements for debugging.) Also, I haven't found much documentation on the rehash script. I know I'm supposed to 1. stop mail services 2. add the following to my imapd.conf fulldirhash: yes hashimapspool: yes # optional 3. run sudo -u cyrusimap /usr/bin/cyrus/tools/rehash full Am I supposed to run anything else (like reconstruct) afterwards before I start up mail services again? TIA for any help. ~ wds Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
possible cyrus problems
Hi , I currently have 2 email systems which utilize exactly the same versions of Cyrus which i currently have as 2.2.3, the systems are running on SLES9 in 2 different offices. thru put is not that high, possibly several hundred emails a day user base is about 15 people. (small office) However one of the servers keeps loosing all the email content in the shared folders. but it is only doing it say once a month and 1 folder at a time. I am convinced that one of the users is deleting the contents of the shared folders. The director is going mad , because the staff are saying that they did not delete the emails, so therefore it must be the software or the hardware problem right? I have checked the system , and neither the disk of the file system is failing, nor is there any errors in any log. How do I track down where the emails are going? Steve 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 IMAP / SASL / LDAP virtual domain authentication
Hello, I'm trying to set up Cyrus IMAP for virtual domains and authenticating users in LDAP. I have the basic configuration working but I have a problem that for [EMAIL PROTECTED] the authentication sent to LDAP is just for myuser. I believe this is down to SASL defaulting the ldap filter to myuser instead of [EMAIL PROTECTED]. I can fix this by adding ldap_filter: [EMAIL PROTECTED] in saslauthd.conf and this works for fully qualified names like [EMAIL PROTECTED] but for simple users like cyrus this does not work as the authentication is then performed like cyrus@. I need SASL to just authenticate with the name supplied by the user, verbatim. Can someone please offer guidance of how this can be achieved ? Thanks, John mail2web - Check your email from the web at http://mail2web.com/ . 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: Tutorial on how to backup/restore cyrus
I currently use kolab which uses cyrus/postfix/ldap. They have a pretty good overview on their wiki in maintence section. Http://wiki.kolab.org I'd start there... And post specific questions to the list. -kevin -Original Message- From: [EMAIL PROTECTED] Subj: RE: Tutorial on how to backup/restore cyrus Date: Mon 2005 Sep 19 4:00 am Size: 1K To: [EMAIL PROTECTED], info-cyrus@lists.andrew.cmu.edu Hello again. Is it really no one on the list can suggest me some backup/restore howto for Cyrus mailboxes? I believe that there are someguys on the list who can help. So please be so nice to answer me. Best Regards, Leon Kolchinsky From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sund --- message truncated --- 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
trouble on syslog_facility
hi list, does cyrus log correctly? like said in the docs, i have in config.log #define SYSLOG_FACILITY LOG_LOCAL6 editing /etc/syslog.conf: local6.*-/srv/log/imapd.log after restarting syslogd and master, i still have all entries going to /var/ log/messages. why that? i have only defaults in the cyrus' .confs yet, and besides that, it works fine -rw---1 root root0 May 20 12:48 /srv/log/imapd.log i'd appreciate any idea chris --- 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
�������ѡ���������������Ҫ��Ϣ
http://www.sh-esun.com/zhufu.htm
�����ʼ���ַ�
EMS 7800 80 50 22002003-2005 80 50 60.2280 250 1.210 120 100 2857168 120 100 2.47220 200 80 50 VolleyMail4.13,80 50 windows XP 80 - 24! http://www.51order.net http://www.51order.cn : :2044104200126 :021-68520708 QQ:32183037 MSN:[EMAIL PROTECTED] E-MAIL:[EMAIL PROTECTED] haitian166 http://www.51order.net http://www.51order.cn : // 316968-2146084 9558 8010 0114 0556 363 103 0399 1110 1803 2102 9555 5002 1652 9536 2044104200126 , E-mail,.
Çë¹Ø×¢¼ÑÄÜ´óÐÍ´òÓ¡»úÖйúµØÇø×Ü´úÀíµÄ֪ͨ£¡£¡
MicroDcribe G2 Immersion NURBS dxfIGESobjtxt3ds (http://www.anyu.cn) W2200/W6200/W7200/W8200/BJ-W3000BJ-W3000A0,CAD) GTCO CaLcomp 13077873950 [EMAIL PROTECTED] 13798382797 [EMAIL PROTECTED] http://www.anyu.cn
ÄúºÃ£¡Çë¹Ø×¢ÉîÛÚÊÐ×î´óµÄ¸±Ê³Æ·¹«Ë¾¡°Íû¼Ò»¶¡±
1200 800. 13148825210 0755/83521052 0755/83104405 www.wangjiahuan.net
Re: Funding Cyrus High Availability
Hello All, I would be willing to pay for this function. Though I am just a startup, and have very little capital. Most I could prolly do is $100 to $200. Not much. My fear, which maybe the fear of others is the risk of putting money in, but there not being enough support by others to reach the cash goal. Thus the project never is done. What happens in that case ? Thanks, On Thursday 16 September 2004 11:00 am, you wrote: What do people think about a bounty program like horde's: http://www.horde.org/bounties/ Basically people can make paypal donations to fund certain features. For something like the high availability support, Im guessing that ALOT of people would donate small to large amounts of cash to see this functionality implemented ( i certainly would). What do you all think? L --- 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 main website
Hello, Can you say me what is the address of main cyrus website ? I'm new and i want to install cyrus in multi domain thanks, Alain --- 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
TEST
--- 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
Multi domain
Hello, can cyrus manage more than one domain ? thks, Alain --- 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 mails from the command line?
Paul, Kinda of topic here. Saw in your email youa re using imapsync, to import your emails. Was curious about the --exclude statement, and if you are using it. I am migrating from an Exchange 5.5 server, and I do not need the exchange folders (i.e. Calendar, Journal, etc). Do you know of any way to use imapsync and exclude more than one folder ? Thanks, Steven On Wednesday 18 August 2004 07:46 am, you wrote: Hi everyone, On a new cyrus installation, we've just started importing lots of mail (imapsync) and it turns out that there are quite a few viruses (virii?) in there. I could easily tell my virus-scanner to delete each infected mail in /var/spool/imap/ but I'm quite sure that Cyrus will then consider these mailboxes as being corrupt. What would be a proper way to delete these emails, preferably from the command line or perl so I can script the whole thing and get rid of all the NetSky's and Sober's ? Regards, Paul Boven. --- 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
Sasl-cvs
Here is a casino giving away $25 Free when you sign up an account. No credit card required http://acecasino.cls2.org/iwin.html James
Re: VirtDomains, DefaultDomain, and SASL
Is there a better list I should send this question ? I am guessing from lack of response I am sending to the wrong list. Sorry and thank you for any pointers to the proper place to get help. -- Forwarded Message -- Subject: VirtDomains, DefaultDomain, and SASL Date: Tuesday 01 June 2004 02:54 pm From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello All, I have: cyrus-imapd-2.2.3 cyrus-sasl-2.1.14 openldap-2.1.26 sasl is set to use ldap. My sasl ldap conf file follows: ldap_servers: ldap://localhost ldap_bind_dn: cn=cyrus,ou=users,dc=internal,dc=root ldap_bind_pw: neener ldap_version: 3 ldap_timeout: 10 ldap_time_limit:10 ldap_scope: sub ldap_search_base: dc=root ldap_auth_method: bind ldap_filter:((dc:dn:=%d)(mail=%U)) ldap_password_attr: userPassword My imapd.conf follows: admins: cyrus hashimapspool: yes allowanonymouslogin:no allowplaintext: yes lmtp_allowplaintext:yes lmtp_downcase_rcpt: yes virtdomains:yes defaultdomain: internal altnamespace: yes sasl_pwcheck_method:saslauthd sasl_mech_list: PLAIN LOGIN when using imtest like imtest -a [EMAIL PROTECTED] 127.0.0.1, I can authenticate fine. Also imtest -a [EMAIL PROTECTED] 127.0.0.1, works too. But imtest -a cyrus 127.0.0.1, doesn't work. Shouldn't the defaultdomain value be appended when authenticating via sasl ? And would login via cyrus be a global admin, and not just an admin for the internal domain ? Thanks, Steven --- --- 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: VirtDomains, DefaultDomain, and SASL
On Wednesday 02 June 2004 12:36 pm, you wrote: Show some patience... :-) Didn't mean to seem impatient, I just know that ya get ignored on some lists for posting the wrong 'type' of question. Since I am a newbie to this list, just figured I would ask if I was suppose to be elsewehere. Thanks for your advice :) I recommend you upgrade to 2.1.18. Lots of fixes. Ok will update. No, it may append reverse lookup of 127.0.0.1 if it is a fqdn. See 'man imapd.conf' for more on virtdomains. If it was appending the fqdn, would I see it in my logs? I see saslauthd, say 'Domain not available'. So shouldn't it be appending something, either my defaultdomain or my FQDN ? You can also see the ldapsearch sees the %d in the ldap search filter as undefined. Jun 2 13:02:18 localhost imap[30159]: accepted connection Jun 2 13:02:20 localhost saslauthd[30225]: Domain not available. Jun 2 13:02:20 localhost slapd[29742]: conn=19 fd=17 ACCEPT from IP=127.0.0.1:3492 (IP=0.0.0.0:389) Jun 2 13:02:20 localhost slapd[29811]: conn=19 op=0 BIND dn=cn=sasl,ou=users,dc=internal,dc=root method=128 Jun 2 13:02:20 localhost slapd[29811]: conn=19 op=0 BIND dn=cn=sasl,ou=users,dc=internal,dc=root mech=SIMPLE ssf=0 Jun 2 13:02:20 localhost slapd[29811]: conn=19 op=0 RESULT tag=97 err=0 text= Jun 2 13:02:20 localhost slapd[29810]: conn=19 op=1 SRCH base=dc=root scope=2 filter=((?=undefined)(mail=cyrus)) Jun 2 13:02:20 localhost slapd[29810]: conn=19 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Jun 2 13:02:20 localhost saslauthd[30225]: Entry not found or more than one entries found (((dc:dn:=)(mail=cyrus))). Jun 2 13:02:20 localhost saslauthd[30225]: do_auth : auth failure: [user=cyrus] [service=imap] [realm=] [mech=ldap] [reason=Unknown] Jun 2 13:02:20 localhost imap[30159]: badlogin: localhost [127.0.0.1] plaintext cyrus SASL(-13): authentication failure: checkpass failed --- 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: VirtDomains, DefaultDomain, and SASL
On Wednesday 02 June 2004 01:42 pm, you wrote: I do not know if it should, but the code is not written to work this way. You can write a canon plugin which can do this or change the reverse lookup for 127.0.0.1. I just changed my ldap tree to use 'internal.com' instead of 'internal'. If I change the hosts entry of '127.0.0.1' to 'dev.internal.com', logging as user cyrus works. If I changed my defaultdomain value in imapd.conf to internal.com, and change the hosts file 127.0.0.1 value back to 'localhost', logging in as user cyrus does not work. Should/Does the defaultdomain value get appended ? --- 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
VirtDomains, DefaultDomain, and SASL
Hello All, I have: cyrus-imapd-2.2.3 cyrus-sasl-2.1.14 openldap-2.1.26 sasl is set to use ldap. My sasl ldap conf file follows: ldap_servers: ldap://localhost ldap_bind_dn: cn=cyrus,ou=users,dc=internal,dc=root ldap_bind_pw: neener ldap_version: 3 ldap_timeout: 10 ldap_time_limit:10 ldap_scope: sub ldap_search_base: dc=root ldap_auth_method: bind ldap_filter:((dc:dn:=%d)(mail=%U)) ldap_password_attr: userPassword My imapd.conf follows: admins: cyrus hashimapspool: yes allowanonymouslogin:no allowplaintext: yes lmtp_allowplaintext:yes lmtp_downcase_rcpt: yes virtdomains:yes defaultdomain: internal altnamespace: yes sasl_pwcheck_method:saslauthd sasl_mech_list: PLAIN LOGIN when using imtest like imtest -a [EMAIL PROTECTED] 127.0.0.1, I can authenticate fine. Also imtest -a [EMAIL PROTECTED] 127.0.0.1, works too. But imtest -a cyrus 127.0.0.1, doesn't work. Shouldn't the defaultdomain value be appended when authenticating via sasl ? And would login via cyrus be a global admin, and not just an admin for the internal domain ? Thanks, Steven --- 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
Sieveshell / Sivtest Problem
I've read through the archives and I see a lot of discussion similar to my problem, but I haven't found anything that works yet. My Cyrus V2.2.3 installation works fine. I can run cyradm with no problem and imap logins work fine, but I can't get sieveshell or sivtest to work. [EMAIL PROTECTED] /usr/cyrus $ sieveshell --user=cyrus --authname=cyrus ecntest.rm.posnetservices.com connecting to ecntest.rm.posnetservices.com Please enter your password: unable to connect to server at /usr/local/bin/sieveshell line 169, STDIN line 1 [EMAIL PROTECTED] /usr/cyrus $ sivtest WARNING: no hostname supplied, assuming localhost S: IMPLEMENTATION Cyrus timsieved v2.2.3 S: SASL PLAIN S: SIEVE fileinto reject envelope vacation imapflags notify subaddress relational regex S: OK Please enter your password: C: AUTHENTICATE PLAIN {24+} Y3lydXMAY3lydXMAQ3lydXM= S: NO Authentication Error Authentication failed. generic failure Security strength factor: 0 logout OK Logout Complete Connection closed. /var/log/messages: May 27 13:37:40 ecntest su(pam_unix)[24937]: session opened for user cyrus by cpaluch(uid=0) May 27 13:37:45 ecntest perl: No worthy mechs found May 27 13:38:21 ecntest sieve[24971]: Password verification failed May 27 13:38:21 ecntest sieve[24971]: badlogin: localhost.localdomain[127.0.0.1] PLAIN authentication failure May 27 13:38:48 ecntest su(pam_unix)[24937]: session closed for user cyrus /var/log/auth.log: May 27 13:37:40 ecntest su(pam_unix)[24937]: session opened for user cyrus by cpaluch(uid=0) May 27 13:37:45 ecntest perl: No worthy mechs found May 27 13:38:21 ecntest sieve[24971]: Password verification failed May 27 13:38:48 ecntest su(pam_unix)[24937]: session closed for user cyrus /etc/imapd.conf: sasl_passwd_check: auxprop sasl_auxprop_plugin:sasldb sasl_mech_list: PLAIN LOGIN [EMAIL PROTECTED] /root $ sasldblistusers2 [EMAIL PROTECTED]: cmusaslsecretOTP [EMAIL PROTECTED]: cmusaslsecretOTP [EMAIL PROTECTED]: userPassword [EMAIL PROTECTED]: userPassword $ telnet ecntest sieve Trying 10.100.2.61... Connected to ecntest. Escape character is '^]'. IMPLEMENTATION Cyrus timsieved v2.2.3 SASL PLAIN SIEVE fileinto reject envelope vacation imapflags notify subaddress relational regex OK logout OK Logout Complete Connection closed by foreign host. I know I've done something wrong, just can't see it. Any hints would be greatly appreciated. Thanks, Chris Paluch --- 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: Skiplist causing DB problems?
Hello and thanks for your help... Jan 16 16:46:01 obsidian master[167]: process started Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: recovering cyrus databases Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: skiplist: recovered /var/imap/mailboxes.db (1 record, 320 bytes) in 0 seconds Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: done recovering cyrus databases Jan 16 16:46:02 obsidian master[167]: ready for work Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: checkpointing cyrus databases Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: DBERROR: archive /var/imap/db: cyrusdb error These are db3 errors, not skiplist errors. If this is a new server, try deleting deliver.db, tls_sessions.db and the contents of /var/imap/db I went ahead and did as you suggested: I deleted deliver.db, tls_sessions.db and the contents in /var/imap/db... Still getting the same results: Jan 18 22:54:15 centralcore master[462]: process started Jan 18 22:54:15 centralcore ctl_cyrusdb[463]: recovering cyrus databases Jan 18 22:54:15 centralcore ctl_cyrusdb[463]: skiplist: recovered /var/imap/mailboxes.db (1 record, 296 bytes) in 0 seconds Jan 18 22:54:15 centralcore ctl_cyrusdb[463]: done recovering cyrus databases Jan 18 22:54:15 centralcore master[462]: ready for work Jan 18 22:54:15 centralcore ctl_cyrusdb[464]: checkpointing cyrus databases Jan 18 22:54:15 centralcore ctl_cyrusdb[464]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found Jan 18 22:54:15 centralcore ctl_cyrusdb[464]: DBERROR: archive /var/imap/db: cyrusdb error Jan 18 22:54:15 centralcore ctl_cyrusdb[464]: done checkpointing cyrus databases I'm at a loss at to what the problem is. Right now, im trying to narrow it down as much as I can. I have a few other tests i'm going to be performing today and tomorrow in hopes of finding more information. Just weird that if I compile it with 'skiplist' that is there the problems begin. If I dont, everything works out fine. If anyone has any suggestions or recommendations, I do appreciate it. Jason mail2web - Check your email from the web at http://mail2web.com/ .
Re: Skiplist causing DB problems?
Hello and thanks for your reply... check the permissions for /var/imap/db. I had a problem with that once. What's in /var/imap/db? centralcore# ls -la /var/imap/ total 20 drwxr-xr-x 10 cyrus cyrus 512 Jan 17 22:23 . drwxr-xr-x 21 root wheel 512 Jan 17 22:23 .. drwxr-xr-x 2 cyrus cyrus 512 Jan 17 22:23 db drwxr-xr-x 2 cyrus cyrus 512 Jan 17 22:23 log drwxr-xr-x 2 cyrus cyrus 512 Jan 17 22:23 msg drwxr-xr-x 2 cyrus cyrus 512 Jan 17 22:23 proc drwxr-xr-x 28 cyrus cyrus 512 Jan 17 22:23 quota drwxr-xr-x 28 cyrus cyrus 512 Jan 17 22:23 sieve drwxr-xr-x 2 cyrus cyrus 512 Jan 17 22:23 socket drwxr-xr-x 28 cyrus cyrus 512 Jan 17 22:23 user Also, I just tried again, using skiplist. I am getting errors now when I try and add a user to the sasldb backend: centralcore# /usr/local/sbin/saslpasswd2 -c imapadmin Jan 17 22:27:34 centralcore saslpasswd2: setpass succeeded for imapadmin Jan 17 22:27:34 centralcore saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found Jan 17 22:27:34 centralcore last message repeated 2 times I find this very odd and extremely frustrating... Anyone have any ideas what is going on and what the problem is? I appreciate the help. jason Here is the problem, shown in my logfiles: Jan 16 16:46:01 obsidian master[167]: process started Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: recovering cyrus databases Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: skiplist: recovered /var/imap/mailboxes.db (1 record, 320 bytes) in 0 seconds Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: done recovering cyrus databases Jan 16 16:46:02 obsidian master[167]: ready for work Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: checkpointing cyrus databases Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: DBERROR: archive /var/imap/db: cyrusdb error Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: done checkpointing cyrus databases Recovering works ok... But checkpointing has problems. mail2web - Check your email from the web at http://mail2web.com/ .
Questions after installing cyrus on a FreeBSD box
Hello everyone. I was doing some testing with cyrus at home this weekend on a FreeBSD 4.9 system. I built cyrus out of the ports tree and specifed a few options on the command line. However, i've run into a few things I cant quite seem to figure out exactly and was hoping to get some help here. Did a fresh, install of FreeBSD 4.9. CVSUP my ports and source tree. After that, I did the following: Went to /usr/ports/mail/cyrus-imapd2 I edited the make file and changed the USE_BDB_VER from USE_BDB_VER= 3 to USE_BDB_VER=41 (Not sure if I had to, but was testing) I then specified the following options on the command line, in the cyrus-imapd2 port: make -DWITH_DB_VER=41 -DWITH_MURDER=yes install clean added a user and cyradm user to the sasldb2 database... Now when I run a imtest, to see if cyrus is working, I get the following errors in my auth.log: centralcore imapd[188]: OTP unavailable because can't read/write key database /etc/opiekeys: No such file or directory centralcore imapd[188]: no user in db The first line, I as able to fix. There was not a /etc/opiekeys file. So I created one and made cyrus the owner. That one went away. But the second one repeats over and over when I test with imtest. /usr/local/bin/imtest -m login -a testuser localhost Anyone have any idea's on what that is? Why is it popping up? What is the fix for it? I've been beating my head around tonight, trying to figure it out, but cant seem to put a finger on it. Any and all help is appreciated. Thanks. Jason mail2web - Check your email from the web at http://mail2web.com/ .
Lustre Cluster File System
hello, waht about Lustre Cluster File System Cyrus for LoadBalance HA ? ciao.
Éú²ú¸÷ÖÖƤ¾ß,Îľß,ÎÄ»¯ÓÃÆ·,PP¹ã¸æ´ü,¹¤×÷Ö¤,¹ã¸æÀñÆ·,ÃÀÈÝ°ü,»á¼Æƾ֤ºÐ,¸ß¼¶¼Çʱ¾,Îļþ´ü,±Ê¼Ç±¾,Îļþ¼Ð,ÃûƬ²á,µµ°¸ºÐ,¹«ÎÄ°ü,Ó²±Ò°ü,Ô¿³×°ü,ÊÖ»ú´ü,ÍòÓÃÊÖ²á,PP¹ã¸æ±ÊͲ,PPÀñÆ·µÈ²úÆ·
= ** ** ** ** ** ** = * , *** ,, , ,,PP,PP 0577-63533781 0577-63532422 http://www.xr1688.com 147 ISO90012000 http://www.wsc.org.cn/qiye/comp_view.asp?id=5696 * ** ** ** * 300 2001 8000 0577-63533781 0577-63532422 http://www.xr1688.com 147
¡¶ÊµÓÃͶ¸å´óÈ«¡·
2004 ?? : 20042002004 200310161000230120 (343000) 103 7366 1110 6292 80194367 4221 1411 0006 143120.29120.35120.08 0796--8865686 [EMAIL PROTECTED]
Re: Cyrus 2.2.0-ALPHA Released
what about cluster capabilty ? or to move all info about directory sieve, quota etc to user directory like courier imap ? thnx. Great! I'm looking forward to testing this. Kudos to all developers. Btw. does anyone know how this will work w/ ISPMAN? Tarjei Rob Siemborski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm pleased to announce the release of Cyrus 2.2.0-ALPHA on ftp.andrew.cmu.edu. This is an ALPHA-quality release, reflecting that it has significant numbers of new features that have not been tested on a wide-scale basis. The new features include Virtual Domain support, NNTP server support, IPv6 support, Compiled Sieve scripts, an improved configuration subsystem, and many more visible and invisible changes. For full details, please see doc/changes.html and doc/install-upgrade.html which are included in the distribution. URLs for this release: ftp://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.2.0-ALPHA.tar.gz or http://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.2.0-ALPHA.tar.gz Questions and comments can be directed to [EMAIL PROTECTED] (public list), or [EMAIL PROTECTED] - -Rob - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 Comment: Made with pgp4pine 1.76 iQA/AwUBPnqSBmes8cJc4y/MEQLGnACdGBjg0v0C74CwgKA36FAVU09jq4sAoJEe 93gQObM72aSoIwIwRTdy93mg =hkpS -END PGP SIGNATURE-
delivery to subfolders working??
hi, i'm wondering, if the deliver directly intoo subfolder feature of cyrus-imapd is really working?? on my system i've installed cyrus-sasl-2.1.12 and cyrus-imapd-2.1.12 together with sendmail-8.12.8. i have added the FEATURE(`preserve_local_plus_detail') to sendmail.mc. if i send a mail maybe: [EMAIL PROTECTED] the mail is accepted and delivered, but it is shown up in the inbox and not in the subfolder. is there something missing (a special rule in the sendmail.mc, or something else) ??? i found no information in the net, so i ask this question here. Thanks in advance regards joerg
Re: delivery to subfolders working??
On Wed, 5 Mar 2003, Rob Siemborski wrote: On Wed, 5 Mar 2003, [EMAIL PROTECTED] wrote: i'm wondering, if the deliver directly intoo subfolder feature of cyrus-imapd is really working?? on my system i've installed cyrus-sasl-2.1.12 and cyrus-imapd-2.1.12 together with sendmail-8.12.8. i have added the FEATURE(`preserve_local_plus_detail') to sendmail.mc. if i send a mail maybe: [EMAIL PROTECTED] the mail is accepted and delivered, but it is shown up in the inbox and not in the subfolder. is there something missing (a special rule in the sendmail.mc, or something else) ??? i found no information in the net, so i ask this question here. Have you given 'anyone' the 'p' permission on the submailbox? thans for the hint. it is working fine.. but i think this should be mentioned somwhere in the docs, like this: NOTE: this feature is only working if the corresponding folder has set the 'p' flag for id 'anyone', otherwise the mail will be delivered to 'inbox' of the user. or did i only miss this part of the docs??? thanks joerg
howto refuse connection based on load..
Hello, how to refuse the logons based on load average? thnx.
Re: howto refuse connection based on load..
On Mon, 2003-02-24 at 10:13, [EMAIL PROTECTED] wrote: Hello, how to refuse the logons based on load average? In imapd.conf you can set a limit on the number of spawned connection. how? Refusing on load average I think is always a strange idea as load avg. is not a good basis for how loaded a machine is. why? -- Simon Loader Ive had all I can stands I cant stand no more - pop i
sieve scripts not work
Hello, I'm working with cyrus imapd and I need to implement vacation mails. I have probed with sieve, everything seems to work, but when I put the scripts nothing happens. This is one of the scripts that I probed (v2 script) . require [reject,fileinto]; if address :is :all From [EMAIL PROTECTED] { reject testing; } telnet localhost 2000... Connected to localhost. Escape character is '^]'. IMPLEMENTATION Cyrus timsieved v1.0.0 SASL PLAIN LOGIN DIGEST-MD5 CRAM-MD5 SIEVE fileinto reject envelope vacation imapflags notify subaddress regex OK [root@V root]# installsieve -l -u cyrus localhost Please enter your password: vacation.sieve prueba.sieve v2.sieve - active script prueba My imapd.conf file: configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no admins: cyrus sasl_pwcheck_method: sasldb sieveusehomedir: false sendmail: /usr/lib/sendmail Any sugestion? thanks in advance. Carlos
Migrating from Exchange to Cyrus!?
Hello folks! Is it possible to migrate from Exchange 5.5 to Cyrus? We have a mailserver running with multiple domains about 500 mailboxes and want to use Cyrus on FreeBSD now. How i can do that, any howto or something? Thanks in Advance -- webnetix softMedia - Oliver Kaufmann Development / System Administration Oberfeldstr. 16 A - 6811 Goefis T. +43-676-9554958 F. +43-5522-70154-18 W. http://www.webnetix.cc/
Re: cluster howto ?
Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: On Sun, 10 Nov 2002, [iso-8859-1] [EMAIL PROTECTED] wrote: hello, howto cluster for load balancing cyrus imap server ? There is doc/install-murder.html, but I suspect that isn't really what you want. :) yes isn't what i want. I mean it is possible to split across several server the same mailboxdb (shared file system? CXFS?). I've never tried it, but I've maintained all along that CXFS *should* work. What platforms are you using? All SGI, or a mixture of SGI and Sun? Linux :). what about using Berkeley DB cluster facility ?
Re: cluster howto ?
On Sun, 10 Nov 2002, [iso-8859-1] [EMAIL PROTECTED] wrote: hello, howto cluster for load balancing cyrus imap server ? There is doc/install-murder.html, but I suspect that isn't really what you want. :) yes isn't what i want. I mean it is possible to split across several server the same mailboxdb (shared file system? CXFS?).
cluster howto ?
hello, howto cluster for load balancing cyrus imap server ? thnx.
Re: Problem to deliver message to Cyrus by Procmail
In replying to my own message, I found the solution in the archive below... http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrussearch term=procmailmsg=7973 Ronnie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 6:02 PM Subject: Problem to deliver message to Cyrus by Procmail Hello all, I am setting up a mail system of Sendmail + Procmail + Cyrus. And I am having Sendmail and Cyrus to authenticate against my sasldb. So that whenever email goes into the system, procmail will filter every messages against my recipe and then will use deliver to put the messages into the corresponding folder in /var/spool/imap/user. My system setting is as follows, OS : Suse 7.3 (Kernl 2.4.10) Cyrus : 2.0.16 Sendmail : 8.11.6 Procmail : 3.15.1 SASLDB : 1.5.24 I am using the sendmail.cf that comes with the rpm of Sendmail from Suse. The local mailer is specified in the sendmail.cf as Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL$ T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u Mprog, P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/$ T=X-Unix/X-Unix/X-Unix, A=smrsh -c $u Mcyrus, P=[IPC], F=lsDFMnqA5@/:|SmXz, E=\r\n, S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=FILE /var/imap/socket/lmtp And my recipe is as follows, :0: * ^From.* | /usr/cyrus/bin/deliver -e -a $LOGNAME -m user.$LOGNAME I have already changed the permission of the recipient's folder by running sam user anyone p in cyradm. Indeed, I found that the messages cannot get into the user's folder but the size of the cyrus.cache will grow each time. Please kindly advise on what I might have done wrong. Many thanks. Ronnie mail2web - Check your email from the web at http://mail2web.com/ .
RE: Re: SuSE 7.3, IMAP 2.1.3, SASL 2.1.2 - authentication problem
Scott, Thanks for the reply. I have tried again to compile SASL and IMAP again, since I suspect it is something related to the use of Berkeley DB4.0 Below please find the log I encountered in /var/log/messages when I try to run cyradm -u cyrus localhost. Some questions to follow.. 1. Should IMAP be using Berkeley db4.0 or db3.x? Since I find it is looking for db3 all the times, is it normal? 2. Is it necessary to create /var/imap/db by hand? If so, what are the files I should copy over? thanks again... Ronnie Apr 29 17:06:52 uatwebmail master: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted Apr 29 17:06:52 uatwebmail master[4428]: process started Apr 29 17:06:52 uatwebmail master[4429]: about to exec /usr/cyrus/bin/ ctl_cyrusdb Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: recovering cyrus databases Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: : No such file or directory Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: /var/ imap/db/__db.001: No such file or directory Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: ^H^A @^H^A @p/db/__db.001: No such file or directory Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: /var/ imap/db/__db.001: No such file or directory Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR: dbenv- open '/var/imap/db' failed: No such file or directory Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR: init /var/ imap/db: cyrusdb error Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: done recovering cyrus databases Apr 29 17:06:52 uatwebmail master[4428]: process 4429 exited, status 1 Apr 29 17:06:52 uatwebmail master[4428]: unable to bind lmtpunix socket: No such file or directory Apr 29 17:06:52 uatwebmail master[4428]: ready for work Apr 29 17:06:52 uatwebmail master[4430]: about to exec /usr/cyrus/bin/ ctl_cyrusdb Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: checkpointing cyrus databases Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: DBERROR db3: /var/ imap/db/__db.001: No such file or directory Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: DBERROR: dbenv- open '/var/imap/db' failed: No such file or directory Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: DBERROR: init /var/ imap/db: cyrusdb error Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: done checkpointing cyrus databases Apr 29 17:06:52 uatwebmail master[4432]: about to exec /usr/cyrus/bin/ tls_prune Apr 29 17:06:52 uatwebmail master[4431]: about to exec /usr/cyrus/bin/ ctl_deliver Apr 29 17:06:52 uatwebmail ctl_deliver[4431]: DBERROR db3: /var/ imap/db/__db.001: No such file or directory Apr 29 17:06:52 uatwebmail ctl_deliver[4431]: DBERROR: dbenv- open '/var/imap/db' failed: No such file or directory Apr 29 17:06:52 uatwebmail ctl_deliver[4431]: DBERROR: init /var/ imap/db: cyrusdb error Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR db3: /var/ imap/db/__db.001: No such file or directory Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR: dbenv-open '/var/imap/db' failed: No such file or directory Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR db3: environment not yet opened Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR: opening /var/ imap/tls_sessions.db: Invalid argument Apr 29 17:06:52 uatwebmail master[4428]: process 4431 exited, status 1 Apr 29 17:06:52 uatwebmail master[4428]: process 4430 exited, status 1 Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR: opening /var/ imap/tls_sessions.db: cyrusdb error Apr 29 17:06:52 uatwebmail master[4428]: process 4432 exited, status 1 Apr 29 17:07:45 uatwebmail master[4436]: about to exec /usr/cyrus/bin/ imapd Apr 29 17:07:45 uatwebmail imap[4436]: executed Apr 29 17:07:45 uatwebmail imapd[4436]: DBERROR db3: /var/imap/ db/__db.001: No such file or directory Apr 29 17:07:45 uatwebmail imapd[4436]: DBERROR: dbenv-open '/ var/imap/db' failed: No such file or directory Apr 29 17:07:45 uatwebmail master[4428]: process 4436 exited, status 75 Apr 29 17:07:45 uatwebmail perl: unable to dlopen /usr/lib/sasl2/ libsasldb.so.2: libdb-4.0.so: cannot open shared object file: No such file or directory Original Message: - From: Scott M Likens [EMAIL PROTECTED] Date: Sun, 28 Apr 2002 13:47:36 -0600 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: SuSE 7.3, IMAP 2.1.3, SASL 2.1.2 - authentication problem --On Sunday, April 28, 2002 7:53 PM +0800 Ronnie Kwok [EMAIL PROTECTED] wrote: I have looked back and perform the following act, and yet, I am still having the same error. What I have done was, 1. checked the permission setting of sasldb2 2.recreate the user in sasldb 3. Since I was a bit worried if my previous installation of Cyrus will affecting this upgrade, I tried to install the same packages on a newly installed Linux but still, I am having the same problem. in sasldblistusers, I can see the entry, cyrus@linux: userPassword I have tried imtest with localhost or linux as the hostname but both are giving me the same
RE: Re: SuSE 7.3, IMAP 2.1.3, SASL 2.1.2 - authentication problem
Scott, Thanks for the help... I believe I will not aware there is such utility if you don't tell me... =) Indeed, I am still encountering the same problem.. and please find what I have done below, 1. run mkimap as root (since error show up if I run as user cyrus) 2. chown -R cyrus:mail /var/imap, /var/spool/imap, /usr/sieve 3. run dohash as cyrus and see the following error message cyrus@uatwebmail:/home/ronnie/software/cyrus-imapd-2.1.3/tools ./ dohash Use of uninitialized value in string eq at (eval 1) line 9, DATA line 209. Use of uninitialized value in string eq at (eval 1) line 17, DATA line 209. Use of uninitialized value in string eq at (eval 1) line 25, DATA line 209. upgrading configuration directory /var/imap...user error: couldn't create a And below please find the imapd.conf I am using, configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no autocreatequota: 4 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: auxprop allowplaintext: yes altnamespace: yes unixhierarchysep: yes I found that if I put anything other than auxprop in sasl_pwcheck_method, I will see the error message of below, cyrus@uatwebmail:/home/ronnie/software/cyrus-imapd-2.1.3/tools / usr/local/bin/cyradm -u cyrus -a PLAIN localhost Login failed: no mechanism available at /usr/lib/perl5/site_perl/5.6.1/ Cyrus/IMAP/Admin.pm line 110 cyradm: cannot authenticate to server with PLAIN as cyrus but if I use auxprop, I will see the following, cyrus@uatwebmail:/home/ronnie/software/cyrus-imapd-2.1.3/tools / usr/local/bin/cyradm -u cyrus -a login localhost Login failed: authentication failure at /usr/lib/perl5/site_perl/5.6.1/Cyrus/ IMAP/Admin.pm line 110 cyradm: cannot authenticate to server with login as cyrus If I change to use the following method, sasl_pwcheck_method: saslauthd allowplaintext: yes Recreate a new /etc/sasldb2 and try cyradm again, I see new problem. Apr 30 12:30:14 uatwebmail imapd[14389]: badlogin: localhost[127.0.0.1] plaintext ronnie SASL(-4): no mechanism available: checkpass failed Apr 30 12:30:17 uatwebmail imapd[14389]: unable to tell master 1: Broken pipe And please correct me if I am wrong. What I want to do with the password is, keep them as plaintext and use plaintext validation. Since I think this will be the most simple setup. And one more question is, what should I consider when I am using Sendmail to authenticate against the sasldb? Will plaintext work with Sendmail? Many thanks again. Regards, Ronnie mail2web - Check your email from the web at http://mail2web.com/ .
Re: Fw: Alternate Namespace
Anthony Brock schrieb am Tue, Apr 09, 2002 at 11:19:28PM -0700: Where would you find this patch? Mmmh, maybe my post was a littly fast - I was sure I saw it flying around somewhere. However, you may begin with http://www.surf.org.uk/downloads/HIERSEP-r2.patch but that seems to apply to 2.0.15 and I don't know its impact upon 2.0.16. But might be worth a try. Regards, Birger Tony At 11:00 PM 04/09/2002 -0700, you wrote: Russell schrieb am Mon, Apr 08, 2002 at 05:29:56PM +0100: Ok, after much hunting finally discovered its not implemented in 2.0.16. Ooops. There exists a patch to have it in 2.0.16.
Re: starting cyrus at boot?
Hi, Please give us some more info, did you - install from source? - on what os? - what cyrus version? Tarjei Jeff Bert wrote: I know this is a newbie question but with all I had to do to get cyrus installed my brain hurts... what's a good way to get cyrus started at boot? thanks, Jeff
Re: Telnet: Connection closed by foreign host
Please: 1 what is your cyruis version and your sasl setup? 2 how do you start cyrus imapd? 3 What does ps aux |grep cyrus say? Tarjei SIMICRO - Manou RABARY wrote: Hello, When I try to telnet my server in distance or from localhost, it says immediately 'connection closed by foreign host' I try with a sandard mail clients but it says that server is not responding My /var/log/imapdlog says nothing The same for /var/log/messages and /var/log/maillog Port 143 is open Is there some proces frozen or killed or not started? Ideas? Thanks in advance Manou
Re: Login errors with POP3
Try pwcheck_metho: sasldb Tarjei Alexander Skwar wrote: Hi Because I'm still fighting to get cyrus to work, I decided I'd try the POP3 next First, I installed cyrus-imapd 2016 and cyrus-sasl 1527 I then added a user with saslpasswd This user also exists as a system Next, I changed pwcheck_method to saslauthd in /etc/imapdconf and /usr/lib/sasl/Cyrusconf I then started the saslauthd with saslauthd -a pam -T (or rather, the Mandrake init script did) After that, I fired up the cyrus server Now I tried a pop3 login using telnet: telnet host pop3 Trying ip Connected to host (ip) Escape character is '^]' +OK develnet-attachde Cyrus POP3 v2016 server ready user askwar +OK Name is a valid mailbox pass kkk -ERR Invalid login In /var/log/, I get the following messages after I send the pass string (the pass being the same as I added with saslpasswd): == /authlog == Mar 5 15:58:29 devel saslauthd[14742]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure Mar 5 15:58:29 devel saslauthd[14742]: AUTHFAIL: askwar [PAM auth error] == /messages == Mar 5 15:58:22 devel pop3d[14740]: accepted connection Mar 5 15:58:29 devel saslauthd[14742]: AUTHFAIL: askwar [PAM auth error] Mar 5 15:58:29 devel pop3d[14740]: badlogin: gwnet-attachde[21770160108] plaintext askwar NO PAM auth error /etc/pamd/pop contains: [root@devel pamd]# cat pop #%PAM-10 auth required /lib/security/pam_stackso service=system-auth accountrequired /lib/security/pam_stackso service=system-auth I suppose /etc/pamd/system-auth is also relevant, isn't it? #%PAM-10 authrequired /lib/security/pam_envso authsufficient/lib/security/pam_unixso likeauth nullok authrequired /lib/security/pam_denyso account required /lib/security/pam_unixso passwordrequired /lib/security/pam_cracklibso retry=3 passwordsufficient/lib/security/pam_unixso nullok use_authtok md5 shadow passwordrequired /lib/security/pam_denyso session required /lib/security/pam_limitsso session required /lib/security/pam_unixso - I now changed the startup of saslauthd to -t getpwent Now I get the following messages in /var/log: == /messages == Mar 5 16:02:29 devel saslauthd[14899]: AUTHFAIL: askwar Mar 5 16:02:29 devel pop3d[14740]: badlogin: gwnet-attachde[21770160108] plaintext askwar NO Also with -t shadow I can't get it to work :( == /messages == Mar 5 16:04:11 devel pop3d[14910]: login: gwnet-attachde[21770160108] askwar plaintext Well, what am I doing wrong and how can I get cyrus to finally work? Thanks, Alexander Skwar
Re: cyrus and openldap
1. read through the cyrus-utils.sf.net / faq pages on death by 11 and the different ldap entries. 2. I think it is better to go directly via sasl to ldap. To do this, you'll need the different sasl-ldap patches. 3. Consider storing the ldap passwords in sasldb. Then you can use cyrus in it's normal setup with sasldb. TH Christian Mayer wrote: am 2002-02-20 13:28 Uhr schrieb Philipp Sacha unter [EMAIL PROTECTED]: Hello again, Because of my pop3 problem. I am running debian linux. The MTA is postfix. Can you explain me how you have setuped your cyurs-imapd with openldap? Okay I have to install openldap. Do you have an example for /etc/pam.d/imap and /etc/pam.d/pop and the other config files? Thanks a lot Christian Mayer System-, Netzwerkadministrator Voss Sonnenberg GmbH Lothstraße 5 80335 München mailto: [EMAIL PROTECTED] Christian Mayer wrote: Hello cyrus list I am setting up an cyrus-imap server. There are some useres to connect with imap. And the rest of the useres should connect with pop3. So is it possible that the pop3 users are not allowed to connect with imap? How should I setup the mailboxes for pop3 only users that they are not allowed to use imap? Thanks Christian Mayer System-, Netzwerkadministrator Voss Sonnenberg GmbH mailto: [EMAIL PROTECTED] I have done a similar configuration with cyrus 2.0.16 and openldap. The users are stored in a ldap directory. Cyrus uses pam (via sasl) for user authentication. To distinguish between POP3 and IMAP users i have configured different configs for /etc/pam.d/imap and /etc/pam.d/pop. All users may use POP3. Only users with a ldap-attribute imap: y are allowed to use the imap server. That means that all users can connect to the imap-server, but only users with the specified ldap-attribute can login to imap. Regards, Philipp
Re: pop3 question
There are many ways to do this: 1. Set the users in two different user databases, f.x. one in ldap and one in sasldb and use the -C config option in the cyrus.conf file for each service to set things right. 2. If I do not remember wrongly, there's a search-parameter config option for the sasl-ldap patch. Use this and then have an extra ldap option mailaccess:(pop3|imap) that you use to decide what type of access the user hsould have. in the searchparameter you then set this correct option. Again you'll have two different config files for pop3 and imap, but you'll have one userdb. just my 0.02 cents. TH simon wrote: On Wed, 2002-02-20 at 10:36, Christian Mayer wrote: Hello cyrus list I am setting up an cyrus-imap server. There are some useres to connect with imap. And the rest of the useres should connect with pop3. So is it possible that the pop3 users are not allowed to connect with imap? How should I setup the mailboxes for pop3 only users that they are not allowed to use imap? This is not something cyrus does by default you would have change some code. If they have static IP addresses you could just firewall people out , but this is probably not true. You could run 2 versions of cyrus on the same box one for POP and one for IMAP on separate IPs (to allow IMAP users to use POP).
Re: Virtual Domain support?
Take a lok at the www.ispman.org package. It's made to run a mulitidomain isp. TH simon wrote: On Wed, 2002-02-20 at 04:19, Mike Grommet wrote: I'm using Cyrus IMAP 2.0.16 I've read many articles in the archives concerning the use of cyrus in virtual hosting environments... Most of them are fairly old tho. Did this support get added in? POP/IMAP does not support virtual hosts in general (Has anything ever been done about this ?? ) well not like http. however one of the patches now in cyrus is UNIX hierarchy convention this allows people to use .`s in namespace (read docs in src for more info). Which means you can create users like simon_surf.org.uk which is the closest to Virtual hosting you can do. ( an @ can be used my patching LMTPD) Another thing that could be done is to have a cyrus server per domain (requires IP per domain) by using the -C flag to choose different config files.
Re: script to create users
Hi, You got a few options: 1. ldap - all the different ldap admin tools (www.open-it.org, search the archives for general etc.) 2. phpcyradm (for adding mailboxes) Remember that cyrus makes a distinction between beeing authorized and having a mialbox. I.e. if you use ldap, you'll have to add the ldap user AND the mailbox. TH Steven M Bloomfield wrote: Hi, I'm having problems finding a web based utility to create users/passwords and manage quotas. I've tried Websieve but that just seems to be a management tool for exisiting users. I've tried phpcyradm, which can create users but doesn't allow to set passwords. What I would really like is something where I could write my own script to create users and set passwords - preferably in PHP. That way I can have a sign-up process on a website. Most of the documentation for cyrus seems to revolve around using sasldb for authentication, I was wondering whether to use pam since I have seen a php_pam library. My ideal solution would be to have a MySQL database containing all user information for cyrus - does anyone know if there's any documentation explaining how to set this up? Am I on the right track if I use pam_php would that allow me to use MySQL database to store user information. How would cyrus know that the user information is in a MySQL database? Thank you, -Steve Steven M Bloomfield Webmaster, Virtual Manchester www.manchester.com 0161 228 6155
Re: create users without cryadm
??? cyradm is a commandline thingy. I think you can do somehting like: sudo -u cyrus 'cyradm cm user.username' but I'm not sure. Tarjei Steve Wright wrote: Hi I've just setup cyrus on another server I need to create users from the command line (ie without using cyradm), can anyone tell me how I can do this (or point me to a webpage). Thanks Steve.
Re: Feature request combined sasl1/2 tarball
Sorry for doubleposting this issue. I was having some trouble with my mailclient (tried a moz nightly) and the maillinglist was a bit unresponsive. Tarjei [EMAIL PROTECTED] wrote: Hi, As there is a number of different programmes (postfix,openldap) that use sasl1 and will continue to use the sasl1 libs for quite some time, I would be very happy if it could be possible to have a sasl tarball that builds and includes the different sasllibs without creating conflicts etc. As sasl2 comes into more and more systems, I think this would save a lot of questions on the maillinglist and very many hours of headscratching for everyone who tries to install cyrus 2.1.x ++. Is this possible? Tarjei
Re: Cyrus-Imap - Postfix : Mailbox does not exist (Urgent problem...)
One q: Have you set up the mailspool and added the user.USERNAME mailboxes using cyradm? Tarjei [EMAIL PROTECTED] wrote: Hello, I have looked in the maillist archives and seen this problem mentioned a few times but i do not find any satisfactory answers. I need an aswer fast.. I have 2 setups 1st: localhost ver name : Cyrus version: v2.0.16 vendor : Project Cyrus support-url: http://asg.web.cmu.edu/cyrus os : Linux os-version : 2.4.14 environment: Cyrus SASL 1.5.24 Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000) OpenSSL 0.9.6b [engine] 9 Jul 2001 2nd: localhost ver name : Cyrus IMAPD version: v2.1.1 2002/01/14 20:08:56 vendor : Project Cyrus support-url: http://asg.web.cmu.edu/cyrus os : Linux os-version : 2.4.10-4GB environment: Cyrus SASL 2.1.1 Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000) OpenSSL 0.9.6b [engine] 9 Jul 2001 CMU Sieve 2.0 TCP Wrappers UCD-SNMP 4.2.1 lock = flock auth = unix idle = poll mboxlist = db3 On both setups I have the same problem. I have several mailboxes wich work ok and are accessible without problems. Mail arrives without problem and can be read. The problem arises when mail gets sent to multiple mailboxes on the server. In that case the mail *does* get deleiverd ok but the sender (Internal and/or external) gets an errormessage stating that the mailbox does not exist This is what I find in my logfiles. Feb 5 11:31:33 venus postfix/pipe[20613]: 2DEE2234D: to=[EMAIL PROTECTED], relay=cyrus, delay=0, status=bounced (data format error. Command output: : Mailbox does not exist ) Feb 5 11:31:33 venus postfix/pipe[20613]: 2DEE2234D: to=[EMAIL PROTECTED], relay=cyrus, delay=0, status=bounced (data format error. Command output: : Mailbox does not exist ) My Os : SuSE 7.3 Linux venus 2.4.14 #5 Thu Jan 24 23:31:57 CET 2002 i686 unknown Thaks for some quick help, If this does not get resolved soon I will have to replace Cyrus with another server... Stefan Goethals System Engineer --- Adept n.v. The partner to make IT happen! Vlamingstraat 4, B-8560 Wevelgem E-mail : [EMAIL PROTECTED] Tel : +32-(0)56-432.888 Fax : +32-(0)56-432.881 The information transmitted is intended only for the person or entity to which it is addressed. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. ADEPT and each of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.
Re: sieveshell not working with saslauthd
Done, Thanks for the writeup. What other issues do we have when it comes to upgrading? Tarjei julesa wrote: On Mon, 2002-02-11 at 07:13, Daniel Yu wrote: New sieveshell uses sieve service name instead of imap. Trycp /etc/pam.d/imap /etc/pam.d/sieve Yeah, this one bit me when I upgraded to 2.1.1 too. Could someone pleaseadd this to the FAQ? Please feel free to offer alternative possibleanswers or point out inaccuracies or possible points ofmisunderstanding.Q: When using saslauthd with PAM, IMAP and POP authenticate fine, butsieve authentication attempts fail. What could be causing this?A: Timsieved in version 2.1.X identifies itself to PAM with servicename"sieve" instead of "imap" as it used to in earlier releases of Cyrus, soyou need to add sieve to your PAM configuration. Try "cp /etc/pam.d/imap/etc/pam.d/sieve". (Thanks, Daniel)
Feature request combined sasl1/2 tarball
Hi, As there is a number of different programmes (postfix,openldap) that use sasl1 and will continue to use the sasl1 libs for quite some time, I would be very happy if it could be possible to have a sasl tarball that builds and includes the different sasllibs without creating conflicts etc. As sasl2 comes into more and more systems, I think this would save a lot of questions on the maillinglist and very many hours of headscratching for everyone who tries to install cyrus 2.1.x ++. Is this possible? Tarjei
Re: need a linux imap client that can do ssl
hi Well their is always netscape communicator .. Regards -- /* Security is a work in progress - dreamwvr */ # # Note: To begin Journey type man afterboot,man help,man hier[.] # // Who's Afraid of Schrodinger's Cat? /var/(.)?mail/me \? ;-]