Re: what does cyrus support through ldap?
On Wed, Apr 25, 2012 at 8:57 AM, Marc Patermann hans.mo...@ofd-z.niedersachsen.de wrote: I never used GOsa, but the documentation says it's for managing LDAP and has a plugin for managing cyrus IMAPd: https://oss.gonicus.de/labs/gosa/wiki/PluginInstallationMailCyrus Korreio is zero-install server software (run from sysadmin desktop) and work with LDAP and CYRUS. See screenshots: http://sourceforge.net/projects/korreio/ -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: How to remove permanently a user flag
What 'flag' we are talking about? []'s Reinaldo Sent from my iPhone Em 10/03/2012, às 04:01, Bron Gondwana br...@fastmail.fm escreveu: Actually, it is a Cyrus question - and the answer is... We don't have any way to remove a flag, sorry. Honestly the workaround is: a) create a new folder b) copy all the messages there c) delete the original folder d) rename the new folder back. The reconstruct will only work if you delete the cyrus.header file, which will be worse for IO anyway. Bron. On Sat, Mar 10, 2012, at 03:12 AM, Reinaldo de Carvalho wrote: You need understand the IMAP protocol and implement this with some language. This is not a cyrus question but IMAP operation. []'s Reinaldo Sent from my iPhone Em 10/03/2012, às 01:44, Fabio S. Schmidt fa...@improve.inf.br escreveu: Hi, first sorry for sending the same topic again, maybe I wasn't clear enough before. I need to remove permanently a user flag from a mailbox without reconstructing it, once Cyrus supports a maximum of 128 flags per folder sometimes the user may need to remove a flag to create another. How do I do it? Thanks ! -- My best regards, Fabio Soares Schmidt Linux Professional Institute - LPIC-3 Novell Certified Linux Administrator Novell Data Center Technical Specialist Microsoft Certified Technology Specialist: Active Directory Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: How to remove permanently a user flag
You need understand the IMAP protocol and implement this with some language. This is not a cyrus question but IMAP operation. []'s Reinaldo Sent from my iPhone Em 10/03/2012, às 01:44, Fabio S. Schmidt fa...@improve.inf.br escreveu: Hi, first sorry for sending the same topic again, maybe I wasn't clear enough before. I need to remove permanently a user flag from a mailbox without reconstructing it, once Cyrus supports a maximum of 128 flags per folder sometimes the user may need to remove a flag to create another. How do I do it? Thanks ! -- My best regards, Fabio Soares Schmidt Linux Professional Institute - LPIC-3 Novell Certified Linux Administrator Novell Data Center Technical Specialist Microsoft Certified Technology Specialist: Active Directory Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Questions around moving from 2.2.12 to 2.4.12
On Wed, Feb 29, 2012 at 2:25 PM, Stefan G. Weichinger li...@xunil.at wrote: Wouldn't that mean that I overwrite stuff with older files? rsync -av without --delete, correct? Don't forget -H to keep hard links from single instance store. Else destination disk usage will increase. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Questions around moving from 2.2.12 to 2.4.12
Migration from imap will grow used space because will ignore single instance store (hard links) and should be avoided. []'s Reinaldo Em 29/02/2012, às 08:48, Manel Gimeno Zaragozá magiz...@hotmail.com escreveu: Hello, I'm doing almost same migration, from old cyrus (2.2.12) to new version (2.4.13) and I'm using imapsync utility in Centos6 to copy all data. After some reading and attempts I have a fast sync method to copy the data from old server to new one. Regards. Manel Gimeno Zaragoza magiz...@hotmail.com Date: Wed, 29 Feb 2012 11:36:26 +0100 From: li...@xunil.at To: info-cyrus@lists.andrew.cmu.edu Subject: Questions around moving from 2.2.12 to 2.4.12 Hello, cyrus-imap-users (and -devs?), I subscribed to this list today because I am searching for some information around upgrading/migrating my cyrus-imap-server. Unfortunately I waited very long, hopefully not too long ... The old server runs Suse Linux 10.1 with these versions: # rpm -qa | grep cyrus cyrus-sasl-2.1.21-3 cyrus-sasl-devel-2.1.21-3 cyrus-imapd-2.2.12-13 I have a few hundred accounts within web-cyradm, which means their passwords are stored encrypted (so the imapsync-approach is problematic). My goal is to migrate things over to a newer server running gentoo linux, the maintained version of cyrus-imapd there is 2.4.12 (the older 2.2.13 from a separate gentoo-overlay didn't compile for me). Moving the mysql-DB shouldn't be much of a problem, the web-cyradm tool runs on gentoo already. So my question is: how to move things in the most stress-free way? Could I simply copy over /var/spool/imap etc, and start the newer version? Do I have to somehow convert things? If yes, is it problematic? I am thinking about just trying it for a test, but I would really feel much better with some competent feedback from the cyrus-imap-community. Thanks a lot in advance, Stefan. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus domain resolution
2011/3/24 Vilius Šumskas vil...@lnk.lt: Set sasl_default_realm and don't wonry about this. :) Still doesn't work. %r resolves to 'mail.example.com' With? virtdomains: yes Yes with. I have also tried virtdomains: yes, virtdomains: on and virtdomains: userid. Are you sure that default_realm option exist? It would help me a lot, however I didn't found anything in the docs or on the net. I remember now, sasl_default_realm is a old patch. Is based on ldap_default_realm that is a saslauthd option for ldap authentication mechanism. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus domain resolution
2011/3/23 Reinaldo de Carvalho reinal...@gmail.com: Set sasl_delfault_realm and don't wonry about this. :) sasl_default_realm -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus domain resolution
2011/3/23 Vilius Šumskas vil...@lnk.lt: Hello, I was running Cyrus 2.3.7 on RHEL 5 just fine for the past several years. Recently I upgraded from physical machine to virtual and from RHEL 5 to RHEL 6. Cyrus IMAPD was upgraded to the 2.3.16 which comes with RedHat. What needs to be noted that IP of the server have changed. I'm not sure if I'm missing something but domain resolution doesn't work as it worked before. %r always resolves to 'hostname.domain.tld'. This is my imapd.conf: virtdomains: on defaultdomain: example.com configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: false sasl_log_level: 9 sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sql sasl_password_format: crypt sasl_sql_user: aa sasl_sql_passwd: sasl_sql_hostnames: localhost sasl_sql_database: mail sasl_sql_select: select password from accountuser where username = '%u' and domain_name = '%r' sasl_mech_list: PLAIN LOGIN allowplaintext: yes tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt allowanonymouslogin: 0 autocreatequota: 512000 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 lmtp_downcase_rcpt: yes The things I tried: 1) Disable domain resolution according to IP (as per virtualdomains.html) with virtdomains: userid. %r still resolves to 'mail.example.com' even if in Outlook the user is as 'u...@example.com'. 2) Set virtdomains: on and configuring reverse record for an IP to 'mail.example.com'. %r still resolves to 'mail.example.com'. 3) Set virtdomains: on and configuring reverse record for an IP to 'example.com'. Strangely now %r resolves to 'com'. (??) The only thing that helps is setting servername: example.com in the config. But this is not what I want. My servername is 'mail.example.com'. Any ideas? A bug? Set sasl_delfault_realm and don't wonry about this. :) -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus + Sieve
On Sun, Mar 20, 2011 at 1:32 PM, Dominique Couot dco...@terra.es wrote: I looked into the cyrus.conf file and I do have an entry for sieve. It says: sieve cmd=timsieved listen=localhost:sieve prefork=0 maxchild=100 What do I have to change to get it to work, change localhost to the server IP or FQDN ? Open the firewall to admit connection to port 2000 ? sievecmd=timsieved listen=sieve prefork=0 -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: IMAP sync?
On Sat, Mar 19, 2011 at 11:51 AM, Lars Schimmer l.schim...@cgv.tugraz.at wrote: Hi! I try to setup a new cyrus server and want to migrate my old 2.2.x data on the new 2.4.6 server. Any tips on howto migrate data from old server to new server? Rsync and db updates? imapsync, which tool and howto sync the non-user-inboxes? The main problem is to preserve hardlinks to don't grow up used disk space, and isn't possible with IMAP migration. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Partition selection by domain?
On Wed, Jan 26, 2011 at 10:47 AM, Marco fa...@ruparpiemonte.it wrote: Hi Reinaldo, I understand your point of view. In my crazy factory they want terabytes of mail for each domain. I can't add only one partition per domain. A single fs could be too big to manage. I can choose partitions with a GUI, as you say. They don't want this. They want a self-create service without user admin interaction. If I choose to let Cyrus to balance among partitions, then I loose the ability to have only a domain into a known set of partition. The GUI may choose automatically the partition either by domain or number of mailboxes by partition. I hope to have better explained my problem... Thank you very much Regards Marco -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Headache moving from Cyrus 2.1 to 2.2
On Mon, Jan 24, 2011 at 8:19 AM, Raimund raim...@busy-byte.org wrote: Hi there, I am having a quite hard time moving my cyrus imapd installation away fom a SuSE 11.1 box (i586) to Ubuntu server 10.04 (x86_64). I have hopes that someone here might be able to help me?: IMHO, the better way is perform a migration by imap protocol. Search about imap-sync, commonly you need temporarily change user passwords to sync messages, and then restore this passwords. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Updated 2.4.6 with autocreate for those who need it
On Fri, Jan 21, 2011 at 10:22 AM, Mark Cave-Ayland mark.cave-ayl...@siriusit.co.uk wrote: On 20/01/11 18:53, Bron Gondwana wrote: I hope this is useful for those who want to upgrade to 2.4 and can't wait until the auto* feature is implemented upstream - Bron, thanks for looking into it _after_ moving your home and what else :) Out of interest, what are the objections to the current patch? And would it be applied to the 2.4.x series or wait until 2.5? A (commonly) bad MTA configuration that not reject unknown recipients, and try to deliver the message to cyrus will generate thounsands of mailboxes. If this feature will be implemented must have a option to disable it. And, IMHO autocreatemailbox should be disable by default. A (commonly) bad environment that lmtpd/cyrdeliver isn't not protected properly, a bad guy can take down the server with mass creating mailboxes (abstractly a DoS). This will be out-the-box failure, and is really bad. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Option singleinstancestore in imapd.conf
On Wed, Dec 22, 2010 at 11:00 PM, Lucas Zinato Carraro luca...@gmail.com wrote: singleinstancestore: 1 [...] This option works ? This option is supported when using lmtpproxyd( murder ) ? I dont see any difference when i enable this. Its works. But the MTA must send recipients in the same message. In other words, MTA can't split recipient creating multiples messages. You can use tcpdump to confirm this behavour. In postfix, setting mydestination domain and mailbox_transport enforce this behavour, try use transport_maps. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: migration from 2.1.x to 2.4.5
On Wed, Dec 1, 2010 at 11:40 AM, Ron Vachiyer prout...@hotmail.com wrote: I am open to any ideas should I be looking at this migration the wrong way. I read about using rsync to copy the files directly, however I am wondering if the jump between 2.1 and 2.4 might be too large and cause unforseen issues. Imap migration don't preserve messages hardlinks and used space will grow up. But is a safe way. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Bugzilla does not handle locales well
On Mon, Nov 15, 2010 at 10:56 AM, Michal Hlavinka mhlav...@redhat.com wrote: Hi all, I have prefered language in firefox set to 'cs' so I get czech localized bugzilla pages. These pages use utf-8 encoding but page headers nor server itself do not mention any information about encoding so default content encoding iso-8859-1 is used, which is wrong and results in broken and hard to read text. Could you fix that? HTTP header [1] has priority to set codification, page headers [2] is last option to detect codification. I think that web server is enforcing ISO-8859-1 (AddDefaultCharset), and application wasn't setting appropriately. (webserver will set only if application don't do it) [1] Content-Type: text/html; charset=UTF-8 [2] meta http-equiv=content-type content=text/html; charset=UTF-8 / -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus Add-ons
On Sun, Oct 17, 2010 at 6:23 AM, Jeroen van Meeuwen (Kolab Systems) vanmeeu...@kolabsys.com wrote: Reinaldo de Carvalho wrote: No reason. Can you point me a git howto? I would love to help you developing / maintaining the Python Cyrus package you did as well. We have some infrastructure on cyrusimap.org which we could use, too, if desirable (wiki, bugzilla, git repo, web browsing, email notifications for commits, and of course a number of contributors already known/authorized). Will be great, can you create a git account for python-cyrus and korreio projects? Korreio must be rewrited on QT4, and python-cyrus need support to XFER. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus Add-ons
On Sat, Oct 16, 2010 at 11:36 AM, Jeroen van Meeuwen (Kolab Systems) vanmeeu...@kolabsys.com wrote: Reinaldo de Carvalho wrote: I'am using RCS (newest SCCS). Can you tell us where the repository is? RCS is local version control, isn't a network service. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus Add-ons
On Sat, Oct 16, 2010 at 2:11 PM, Henrique de Moraes Holschuh h...@debian.org wrote: On Sat, 16 Oct 2010, Reinaldo de Carvalho wrote: RCS is local version control, isn't a network service. It is also per-file. Think CVS with even less features. I also have some stuff in RCS, mostly LyX documents without any external material. Reinaldo, any reason why you don't use git or mercurial? That would make it much easier for cooperative work. sf.net supports git, and it will NOT increase your dependency on the network even a bit, as it is fully distributed. No reason. Can you point me a git howto? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Cyrus Add-ons
Hi Guys, Can you add reference to Korreio on new cyrus website? Korreio provide a GUI for cyrus, like a cyradm. If possible add a link to Korreio, the URL is: http://korreio.sf.net (the Cyrus Admin GUI), Thanks. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus Add-ons
On Fri, Oct 15, 2010 at 11:12 AM, Jeroen van Meeuwen (Kolab Systems) vanmeeu...@kolabsys.com wrote: Hi Reinaldo, You have an interesting project going on there. One question; where is the source code repository? Hi Jeroen, Source code is the program code (is python). []'s -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Cyrus Add-ons
On Fri, Oct 15, 2010 at 2:20 PM, Henrique de Moraes Holschuh h...@debian.org wrote: On Fri, 15 Oct 2010, Reinaldo de Carvalho wrote: On Fri, Oct 15, 2010 at 11:12 AM, Jeroen van Meeuwen (Kolab Systems) vanmeeu...@kolabsys.com wrote: Hi Reinaldo, You have an interesting project going on there. One question; where is the source code repository? Source code is the program code (is python). I think he meant where is the version-control repository (i.e. git, subversion, mercurial, bazaar, or whatever you use for version control). I'am using RCS (newest SCCS). -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works (myself) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: setquota in Python
On Wed, Jul 14, 2010 at 7:57 AM, Marc Patermann hans.mo...@ofd-z.niedersachsen.de wrote: Hi, for my migration purposes (2.2.12 - 2.3.16) I'm experimenting with python (2.4.2) to transfer the quota information from the old to the new server. ... What am I doing wrong? Marc Look http://python-cyrus.sf.net -- Reinaldo de Carvalho http://korreio.sf.net 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: very long cyr_expire at startup and no mail delivery
On Thu, Jun 24, 2010 at 6:38 PM, Marcus li...@localguru.de wrote: Hi, because of a kernel update I had to restart my server. After the restart cyrmaster was running, but I couldn't connect to imap or pop3 port and sendmail couldn't communicate via socket with cyrus. A ps ax showed a running cyr_expire process for about 20 minutes. After the cyr_expire process finished everything worked fine again. Question now: is there a way to avoid such long cyr_expire checks at startup or how to do a check by hand before shutting down the cyrus so a startup would become quicker? System: Debian/lenny Cyrus: 2.2.13-14+lenny3 Sendmail: 8.14.3-5+lenny1 From Korreio README: 6.4 After set expire values cyrus starter is slower *** By default cyrus is configured in cyrus.conf to run delprune to remove expired messages at startup (START). Then messages will be processed before listen for connections. You should disable delprune at startup and add it to EVENTS: delprune cmd=/usr/sbin/cyr_expire -E 3 at=0100 So messages will be expired at 1pm. all days. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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 via NFS
2010/5/12 Agustín Eijo ague...@gmail.com: Hello, Thanks for the reply. I set noatime option and I'll try setting it to NFSv4 in order to avoid problems with File Locking You may convert cyrus db's to flatfile to avoid lock problems. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: cyradm lm wildcard and the @ sign
On Wed, May 12, 2010 at 3:34 PM, Berend de Boer ber...@pobox.com wrote: Hi people, I'm looking for a way to list all mailboxes for a given domain, i.e. in cyradm: lm *...@example.com* This does not return anything. lm *example.com* does though. It appears the @ sign screws up the wildcard matching. But what I really really need is the ability to list the mailboxes of a given user, i.e.: lm user.j...@example.com* but this does not work. Is there any workaround or fix? Maybe the authenticated user isn't global admin. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: cyradm lm wildcard and the @ sign
On Wed, May 12, 2010 at 4:04 PM, Berend de Boer ber...@pobox.com wrote: Clearly I can get the mailboxes to list if I don't use the @ sign so doesn't that indicate I am indeed the global admin? The user I'm logged in at can change the acl on all mailboxes for example, so that indicates to me it is a global admin as wel. I agree. Try: # all mailboxes $ nc server 143 * OK maindeua Cyrus IMAP4 [...] server ready . LOGIN admin password . OK User logged in . LIST * *...@example.com # user top folders $ nc server 143 * OK maindeua Cyrus IMAP4 [...] server ready . LOGIN admin password . OK User logged in . LIST * user/%...@example.com -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: cyradm lm wildcard and the @ sign
On Wed, May 12, 2010 at 4:51 PM, Andrew Morgan mor...@orst.edu wrote: Use imtest instead of nc. imtest can do all the SASL login magic and still gives you raw access to the connection for sending commands. Or use 'openssl s_client -host server -port 143 -starttls imap' -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Inconsistent cyradm/telnet mailbox description
On Sat, May 8, 2010 at 7:12 AM, Manu Chaput m...@manu-chaput.net wrote: [...] 1 OK User logged in 2 lsub INBOX.* ... * LSUB () . INBOX.Enseignements.DeptIMA * LSUB (\HasChildren) . INBOX.Enseignements.DeptTR ... LSUB list subscribed mailboxes. Try: . LIST * * r...@albert:~# cyradm --user chaput albert Password: albert lm ... lm call LIST imap method, not LSUB. INBOX.Enseignements.DeptIMA (\HasChildren) INBOX.Enseignements.DeptIMA.2eme_annee (\HasChildren) ... INBOX.Enseignements.DeptTR (\HasChildren) INBOX.Enseignements.DeptTR.1ere_annee (\HasChildren) ... albert ACLs, file properties, ... are the sames for DepTR and DepIMA. And the problem is still there after a reboot, so there is no cache side effect. Do you subscribe all mailboxes with setacl? (thunderbird have setacl/subscribe interface in menu) -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: postuser doesn't work?
On Tue, May 4, 2010 at 6:27 PM, Diego Woitasen di...@woitasen.com.ar wrote: Hi. I've created a shared folder in my Cyrus server and I want to enable message posting using LMTP to that folder. My configuration has postuser: kolab and the folder has post permission enabled for kolab user. Commonly LMTP isn't authenticated connection, so you must set post permission to everyone (anyone). This is not working. The only way that I got this working in setting anyone p permission. As I understand the kolab user should be used to post messages if I have postuser: kolab in imapd.conf. postuser is a prefix to shared folders, so you need sent email to kolab+sharedfoldern...@example.com. postuser isn't authentication dependent, acl is. Also I tried with postman p permission but nothing. Any ideas? Regards, Diego -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: postuser doesn't work?
On Tue, May 4, 2010 at 8:18 PM, Diego Woitasen di...@woitasen.com.ar wrote: ok. Any security issue about setting anyone p on shared folders. I think no but let me know if I am wrong. No. But you may restrict lmtp port to the MTA (firewall) and require smtp authentication to accept messages to postuser on MTA. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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 + postfis admin tools
On Sat, May 1, 2010 at 3:06 PM, Diego Ventrice fordcar...@googlemail.com wrote: Guys, Is anyone using any good administration tool for both cyrus+postfix. With both using openldap http://korreio.sf.net -- Reinaldo de Carvalho http://python-cyrus.sf.net http://korreio.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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 imap quota
On Wed, Apr 7, 2010 at 11:55 AM, Holm Kapschitzki h...@x-provi.de wrote: thx for answer. But i had to change over 5 thousend mailboxes. so its impossible to change this boxes step by step. Thats the reason, i asked for changing directly in the textfile. But you say thats impossible cause it can be stores in other database formats. Do i have another possibility? http://python-cyrus.sf.net # for all for mbx in imap.lm(user/%): if mbx not in ['user/rei', 'user/boss']: imap.sq(mbx, 102400) -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: IOERROR fstating sieve
On Sat, Apr 3, 2010 at 3:39 AM, Nybbles2Byte nybbles2b...@gmail.com wrote: Hello Reinaldo, I'm not having any success with removing this error. If create the file that it says is missing I get this error: lmtpunix[8901]: sieve runtime error for mydomain.com id 20100403063500.97552a0...@mail.mydomain.com: Run error Do you used sieveshell or korreio to put script? Sieve daemon run at port 2000. You don't need touch /var/spool/mail/sieve directly. I created the file with: sudo -u cyrus touch defaultbc If I restart cyrus with sieve commented out I still get the errors plus: lmtpunix[6938]: IOERROR: mapping /var/spool/mail/sieve/domain/K/mydomain.com/C/cron/defaultbc file for sievescript: No such device -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: IOERROR fstating sieve
On Sat, Apr 3, 2010 at 7:00 PM, Nybbles2Byte nybbles2b...@gmail.com wrote: Hello Reinaldo, I don't use either nor do I know what these are. My limit of knowledge about sieve is that it came as part of cyrus but I have never used it. Sieve is a server side mail filter. Cyrus has a sieved that listen at port 2000 and receive the user script. When user save the first script 'defaultbc' is created. I have installed horde and it has a program called ingo that filters email and uses sieve to do it. However, that is not the source of the errors as I haven't got to trying that out yet. These errors just come when an email is delivered. Ingo is a sieve client that create a sieve script and post to sieve daemon that save is spool directory to procces at message arrival time. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Deleting messages
On Fri, Apr 2, 2010 at 9:30 PM, Nybbles2Byte nybbles2b...@gmail.com wrote: Hello, Okay, I am sure this is stupid question but how do you really delete messages. When I delete messages in my email client and then log in to see the mailbox through a web program I see that the message are marked as deleted but still there. To remove a message the email client should use delete and expunge. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: imaps[26710]: SQUAT failed to open index file
On Fri, Apr 2, 2010 at 9:40 PM, Nybbles2Byte nybbles2b...@gmail.com wrote: Hello, I'm getting this error and not sure what to do (like the previous issue I just posted). This is a new install setup with virtual domains and everything works just fine except for a couple of minor issues, these errors being one of them. imaps[26710]: SQUAT failed to open index file imaps[26710]: SQUAT failed imaps[26710]: SQUAT failed to open index file imaps[26710]: SQUAT failed ... Uncomment squatter process to build index files if you want full text search support. EVENTS { #... squatter_1 cmd=/usr/bin/nice -n 19 /usr/sbin/squatter -s at=0100 #... } -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: IOERROR fstating sieve
On Fri, Apr 2, 2010 at 9:36 PM, Nybbles2Byte nybbles2b...@gmail.com wrote: Hello, I'm getting this error and not sure what to do. This is a new install setup with virtual domains and everything works just fine except for a couple of minor issues, this being one of them. lmtpunix[27869]: IOERROR: fstating sieve script /var/spool/mail/sieve/domain/K/mydomain.com/C/cron/defaultbc: No such file or directory I don't actually use sieve so I could just disable it but it would be nice to fix this for future use. 1. Just ignore message. 2. Put a empty sieve script for all accounts (this is simple with Korreio). -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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 partition test failed
On Tue, Mar 16, 2010 at 2:08 PM, Diego Ventrice fordcar...@googlemail.com wrote: Tried the following with no success, hope someone could guide me. Created /home/cyrus/ (same physical partition as the default , just for testing) Added to imapd.conf: partition-mail1: /home/cyrus/ allowusermoves:yes When I try: renamemailbox user.foo user.foo partifion-mail1 renamemailbox user.foo user.foo mail1 Look the Korreio; -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Using xfer to migrate mailboxes to a new server
On Thu, Feb 18, 2010 at 7:40 AM, Per-Olov Sjöholm p...@incedo.org wrote: It's resonalbe fast The bad thing is that you need all passwords. No, use cyrus global admin. So this is not an ideal solution, but for sure it works great when you don't have all the time you would like to dig for a better solution. I did this for only 20-30 persons and could therefor live with the password issue. A few of them had mailboxes of 3-6 GB each. Hope it could be of any help -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Autocreate patch for 2.3.15?
On Thu, Nov 26, 2009 at 1:32 PM, LALOT Dominique dom.la...@gmail.com wrote: same for us. I vote for inclusion I agree, but must be disabled by imapd.conf configuration. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: VMware for Cyrus?
On Mon, Nov 9, 2009 at 8:23 AM, Sebastian Hagedorn haged...@uni-koeln.de wrote: Hi, today I've learned that the Dell hardware our mail servers run on is out of support, because it's more than 5 years old (time flies ...). We were planning an upgrade from RHEL 3 to RHEL 5 anyway, but now we will try to accelerate that procedure somewhat. Our systems group is pushing VMware ESX on all levels. Previously VMware was not recommended for IO-heavy tasks, but apparently that's not the case anymore. Currently we have an ESX 3.5 environment, but that will be upgraded to ESX 4 by the end of January. My question is if there have been recent experiences running a Cyrus server with up to 2,500 concurrent IMAP connections under VMware ESX? I've found some posts in the archives, e.g. You need analyse the I/O consumition. # iostat -d 1 -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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 Mailboxes
On Mon, Oct 5, 2009 at 3:52 PM, Matt Ingram ming...@cbnco.com wrote: Hi All. I have a user who wants to give another employee access to his mailbox, without sharing his password. I believe Cyrus can do this, but I'm not sure on the best practice and exactly how to do it - a link to some good documentation on this would be great.. I've found a few documents but not highlighting exactly what I'm trying to do. I'm using cyrus-imapd-2.2.12-27.8 on SLES 10.1 Thanks in advance for any help. http://python-cyrus.sf.net http://korreio.sf.net Cyrus Manager on your Desktop: http://sourceforge.net/project/screenshots.php?group_id=206408ssid=104818 -- Reinaldo de Carvalho Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Why cannot create a user with name u...@mydomain.tld ?
On Sat, Oct 3, 2009 at 5:17 PM, Ali Nebi an...@iguanait.com wrote: Hi, i have installed ispman and it is a frontend for cyrus-imap. When i try to create a user, the ispman tries to create it in this format user.u...@mydomain.tld and i get this error: IMAP::Admin [ create ]: couldn't create user.u...@domain.tld : try NO Permission denied You aren't global admin. Try Korreio frontend (korreio.sf.net) Does cyrus allows to create a user in this format? Yes if i try to create it this way: user_mydomain_tld, then everything is ok. Is there any workaround for this or i need to use something different than user.u...@mydomain.tld? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Ptloader configuration in Cyrus IMAP
On Wed, Aug 19, 2009 at 9:33 AM, Evgeniy Arbatovarbatovevge...@gmail.com wrote: Via cyradm I add needed permissions for admins group: sam user/postmaster admins lrswipkxte Then I successfully authenticate using earbatov UID, but shared folders are not visible in the Thunderbird. Do you subscribe mailbox? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Ptloader configuration in Cyrus IMAP
On Wed, Aug 19, 2009 at 10:02 AM, Evgeniy Arbatovarbatovevge...@gmail.com wrote: On Wed, Aug 19, 2009 at 3:45 PM, Reinaldo de Carvalhoreinal...@gmail.com wrote: On Wed, Aug 19, 2009 at 9:33 AM, Evgeniy Arbatovarbatovevge...@gmail.com wrote: Via cyradm I add needed permissions for admins group: sam user/postmaster admins lrswipkxte Then I successfully authenticate using earbatov UID, but shared folders are not visible in the Thunderbird. Do you subscribe mailbox? I can not yet subscribe in the Thunderbird, since I do not see the mailbox in the subscription list. One more note: if I configure shared access locally via cyradm interface, without using the ptloader and LDAP - everything works as expected. Evgeniy auth_mech: pts -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Parameters password in Cleartext using ldap as backend for for authentication
On Thu, Aug 6, 2009 at 11:16 PM, Lucas Zinato Carraroluca...@gmail.com wrote: Hello, I have a mail cluster with cyrus murder (imap agreggator ) . In some machines imapd.conf has some passwords parameters in clear text . mail1_password: secret mail2_password: secret mupdate_password: topsecret ... I use ldap as backend for cyrus sasl and I have murder user and backends users defined in ldap. Exist anyway to encrypt this parameters ?? This is a chicken or the egg problem. In my architeture actually is inpossible to use kerberos :-( Thanks in advance Lucas Zinato Carraro DATAPREV -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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 administration problem
On Thu, Aug 6, 2009 at 3:34 PM, Nybbles2Bytenybbles2b...@gmail.com wrote: Thanks but I am not sure how you are getting that conclusion from this wording in the manual. As far as I can see it almost (but not quite) the reverse of what you are saying. # man imapd.conf virtdomains: off Enable virtual domain support. If enabled, the user’s domain will be determined by splitting a fully qualified userid at the last �...@’ or ’%’ symbol. userid refer to login user not reverse DNS. fully qualified userid = john...@example.org (no dns lookup) unqualified userid = johndoe (no dns lookup if sasl_ldap_default_domain* or sasl_ldap_default_realm* and defaultdomain is set) * without sasl_ prefix at saslauthd.conf . With saslauthd.conf: ldap_default_realm: default.example.org ldap_filter: ((objectClass=inetOrgPerson)(mail...@%d)) Login with unqualified userid root makes query to ((objectClass=inetOrgPerson)(mail=r...@default.example.org)) With admins: root root become global admin. This example is to salsauthd with LDAP backhend. -- Configuring Virtual Domains Introduction Virtual domains is the practice of hosting a service for more than one domain on one server. Cyrus IMAP has the ability to host IMAP/POP mailboxes for multiple domains (e.g. t...@example.com and t...@example.net) on a single server or Murder. In order to accomplish this, Cyrus needs to know which domain to look in when a mailbox is accessed. There are two ways in which Cyrus can determine the domain: * Fully qualified userid - the client logs in with a userid containing the domain in which the user belongs (e.g t...@example.com or test%example.net) * IP address - the server looks up the domain based on the IP address of the receiving interface (useful for servers with multiple NICs or using IP aliasing) Both of these methods are active if the virtdomains option is set to on (or yes, 1, true) and can be used in conjunction with one another. If the virtdomains option is set to userid, then only the first method is used. Note that a fully qualified userid takes precedence over a domain obtained from the IP address. -- -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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 administration problem
On Wed, Aug 5, 2009 at 5:27 PM, Nybbles2Bytenybbles2b...@gmail.com wrote: Hello , I'm getting a little desperate here so I'm hoping someone can answer these two question for me. I originally asked them as How to use global admin. virtual domains? but no-one responded and I have no answers myself, so please, even if this seems like a stupid question because I am missing the obvious, please let me know! With ldap beckhend the secret is sasl_ldap_default_realm (or ldap_default_realm in saslauthd.conf) this is the domain to no-domain user like root (login with no-domain user is the global admin). sasl_ldap_default_realm should be equal defaultdomain to work like a cham. ;) I don't know if sasl_sql_default_realm exist. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: how to exclude subfolder from expiration using annotations?
On Mon, Jul 20, 2009 at 5:33 AM, Carsten Hoegerchoe...@open-xchange.com wrote: Hi, I'm currently trying to find out how to use cyr_expire in combination with annotations exluding one single subfolder per mailbox. I'm running RHEL5 with v2.3.7-Invoca-RPM-2.3.7-2.el5_3.2. What I did: . setannotation user/test1001 /vendor/cmu/cyrus-imapd/expire (value.shared 1) . OK Completed . getannotation user/test1001 /vendor/cmu/cyrus-imapd/expire value.shared * ANNOTATION user/test1001 /vendor/cmu/cyrus-imapd/expire (value.shared 1) . OK Completed Now I want to exclude the Sent Items folder from expiring, so I did . setannotation user/test1001/Sent Items /vendor/cmu/cyrus-imapd/expire (value.shared NIL) . OK Completed But that does not work: $ su - cyrus -c '/usr/lib/cyrus-imapd/cyr_expire -E 3 -v' expiring messages in user.test1001 older than 1 days expiring messages in user.test1001.Drafts older than 1 days expiring messages in user.test1001.Junk older than 1 days expiring messages in user.test1001.Sent Items older than 1 days expiring messages in user.test1001.Trash older than 1 days expiring messages in user.test1001.confirmed-ham older than 1 days expiring messages in user.test1001.confirmed-spam older than 1 days expiring messages in user.test1001.subfolder older than 1 days expiring messages in user.test1001.subfolder.subsubfolder older than 1 days expiring messages in user.test1001.subfolder.subsubfolder.subsubsubfolder older than 1 days In the cyr_expire manpage I read: [...] The value of the /vendor/cmu/cyrus-imapd/expire annotation is inherited by all children of the given mailbox, so an entire mailbox tree can be expired by seting a single annotation on the root of that tree. If a mailbox does not have a /vendor/cmu/cyrus-imapd/expire annotation set on it (or does not inherit then no messages are expired from the mailbox. [...] I found no further resources describing how to achieve what I want. Is that possible at all? Don't set expire for user (root) mailbox, only to user/test1001/Sent Items. If you really want expire anothers mailbox with 1 day, then the easy way is set high value to user/test1001/Sent Items. Read the cyr_expire man to learn the option to enable annotation flag. By default expire annotation is ignored. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: how to exclude subfolder from expiration using annotations?
On Mon, Jul 20, 2009 at 9:54 AM, Carsten Hoegerchoe...@open-xchange.com wrote: On Mon, Jul 20, Reinaldo de Carvalho wrote: I'm currently trying to find out how to use cyr_expire in combination with annotations exluding one single subfolder per mailbox. [...] Don't set expire for user (root) mailbox, only to user/test1001/Sent Items. I want to _EXCLUDE_ user/test1001/Sent Items and not the other way around. Do you try set annotattion for user/test1001/Sent Items with high value (not to be reached)? I want to expire everything BUT user/test1001/Sent Items. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: Security impact of lmtpd with pre-auth
On Thu, Jul 9, 2009 at 2:05 AM, Pascal Giengerpascal.gien...@uni-konstanz.de wrote: Imagine a Cyrus Box only accepting LMTP connections, no sendmail, no Postfix, no other SMTP MTA running on it. Then imagine a frontend smtp relay delivering directly via LMTP over TCP to your Cyrus box. You can use lmtp auth then to prevent other machines from directly delivering mails via lmtp. Pascal Set a firewall. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net If !programmer, then don't try to adapt the software to the way you work, but rather yourself to the way the software works (myself) 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: shared folders permissions from ldap
On Thu, May 14, 2009 at 7:21 AM, Jure Pečar pega...@nerv.eu.org wrote: Hello, I find myself playing with cyrus again after a few years, this time in a bit different role. I'm setting up a company internal mail system with a central point of management. I chose ldap for auth, mail routing and antispam info. Now I'm looking at shared folders and find them very useful for what I want to do. My only problem is that their permissions need to be set within cyrus (as they are basically imap permissions), which means another admin interface for that. Do you look Korreio? http://korreio.sf.net So I'm looking for ideas on how to integrate the two. Does anyone know a web ui of some sort that would integrate editing ldap and imap flags? Before we start writing our own ... -- Jure Pečar http://jure.pecar.org -- Reinaldo de Carvalho 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: searching for a 25 seconds delay
On Wed, May 13, 2009 at 6:14 PM, Iv Ray po...@verysmall.org wrote: 1. All operations that I could try using imtest respond immediately (including initial login). 2. However the initial login of cyradm is delayed exactly 25 seconds. It would be great if someone could help me analyze the reason for this difference, which might bring me closer to the issue. Check delay reason: tcpdump -n -i lo -s 0 -A port 143 -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: AW: Username with @ sign at login possible?
On Tue, May 12, 2009 at 12:45 PM, Helmut Weigel helmut.wei...@dfbnet.de wrote: Hi! yess your right. more specified ist like we have a lot (~30.000) of users e.g. n...@domaina.tld in the default domain (postfix). In cyrus they are just user.name Then we have several users in the postfix virtual table e.g. someone_e...@domainb.tld They are mapped to cyrus users user.someone_else_domainb The mapping ist done in the ldapmap in postfix. the ldap maps email to uid. Regards Helmut The first question is if you want login only with u...@domaina.tld or with user too, on cyrus and postfix. Sasl related, you need match ldap_filter with johndoe and john...@domaina.tld usernames. Cyrus related, you need set defaultdomain: domaina.tld on imapd.conf for cyrus map username john...@domaina.tld to mailbox johndoe. For suport multdomains is another question, and is required use 'mail' attribute for all autentication queries, enable virtdomains and create mailbox with domain: user/john...@example.net user/johndoe/s...@example.net user/johndoe/dra...@example.net user/john...@example.org user/johndoe/s...@example.org user/johndoe/dra...@example.org -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: reading seen state as cyrus priviledged user
On Mon, May 11, 2009 at 11:37 AM, Dan White dwh...@olp.net wrote: LALOT Dominique wrote: Hello, I would like to run scripts for deleting unread old mails. But using the imap API, I can only read the good seen status if I logged as the user. Checking as cyrus tells me, that nothing has been read. Is there an su option for imap? How can I do that? You can authenticate as an admin, and authz as the user you wish to see seen state for. E.g.: imtest -m DIGEST-MD5 -a cyrus -u dwh...@olp.net localhost Depending on your environment, the '/vendor/cmu/cyrus/imapd/sharedseen' annotation may be useful. See the 'cyradm' man page for details. Where can I find (not in the code) all supported annotations by cyrus? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: reading seen state as cyrus priviledged user
On Mon, May 11, 2009 at 12:08 PM, Dan White dwh...@olp.net wrote: The doc/changes.html file is the only place I know of, but I don't think it's comprehensive. Thanks, don't wonry, I wrote a cyradm-like with python/qt (Korreio). perl/imap/IMAP/Shell.pm implies that the following are supported: [\_sc_mboxcfg, 'mailbox [comment|condstore|expire|news2mail|sharedseen|sieve|squat] value', - Dan I'd like a documentation prior another code, to see cyradm code, better to see cyrus code. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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
LIST and GETANNOTATTION divergence
Hi, I'd like show this (cyrus 2.2.13-14 - debian lenny): LBFH6 LIST * user/re% 17:05:12.057484 IP 192.168.0.2.143 192.168.0.2.42666: P 703:974(271) ack 152 win 512 nop,nop,timestamp 19718395 19718395 e.@.@..z.c...Z.h... .,...,..* LIST (\HasChildren) / user/reinaldo.carva...@example.com * LIST (\HasChildren) / user/renata.l...@example.org * LIST (\HasChildren) / user/resana@example.net * LIST (\HasChildren) / user/rei LBFH6 OK Completed (0.000 secs 21 calls) LBFH8 GETANNOTATION user/re% /vendor/cmu/cyrus-imapd/partition value.shared 17:10:15.367304 IP 192.168.0.2.143 192.168.0.2.42666: P 1007:1115(108) ack 250 win 512 nop,nop,timestamp 19794223 19794223 e.@.@c...Z. .. /.. /* ANNOTATION user/rei /vendor/cmu/cyrus-imapd/partition (value.shared default) LBFH8 OK Completed I'd like suggest a improvement. Getannotation could search all domains, and not only default domain. To get partition for all users, currently is required LIST user/% and get annotation foreach mailbox. If getannotation results like LIST will be more fast retrive many informations. Thranks, -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: sendmail and cyrus-imap - delivery problem
On Sun, Mar 22, 2009 at 6:36 AM, Mario Pavlov free...@abv.bg wrote: # grep -v ^# /usr/local/etc/imapd.conf configdirectory: /var/imap partition-default: /var/imap/spool unixhierarchysep: yes admins: cyrus ad...@yo.com if virtdomains is no then logon is by user, like cyrus. else virtdomains is yes then logon is by email, like ad...@yo.com sieveusehomedir: false sievedir: /var/imap/sieve sasl_pwcheck_method: auxprop defaultdomain: yo.com loginrealms: yo.com gg.com In any case you should create mailbox with cm user/boo because domain is detected by admin logon. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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
Log message deletion
Hi, If is possible, how to do cyrus log when user delete a message? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: Log message deletion
On Wed, Mar 18, 2009 at 9:50 PM, Bron Gondwana br...@fastmail.fm wrote: On Wed, Mar 18, 2009 at 04:02:52PM -0300, Reinaldo de Carvalho wrote: Hi, If is possible, how to do cyrus log when user delete a message? At FastMail we have the an auditlog patch that does this, but it's not in core cyrus. It also logs all message creation. Bron. Hi Bron, please try post the patch to developer list to be commited. Is important code read the configuration like loglevel to be possible enable/disable. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: Bulk installation of sieve filters
2009/3/16 Andres Tarallo atara...@acm.org: I have an installation with about 2000 mailboxes. Now we want to send all the mails tagged as SPAM (by spamassassin) to the spam folder. I'm trying to automate the process of doing that job. I know how to create in bulk the spam folder. But I can't find if it's possible to do such work with sieve. Andrés Tarallo You can use Korreio (korreio.sf.net) or write your program with sievelib of python-cyrus package (python-cyrus.sf.net). -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: Announcing cyrus-user-map, a local recipient map generator for Postfix
On Mon, Mar 9, 2009 at 8:25 PM, Farzad FARID ffa...@pragmatic-source.com wrote: Hi, Having just deployed a Cyrus Imap server with Postfix, with only virtual users and no Unix or LDAP based imap accounts, I needed a way to generate a local recipient map for Postfix. This map is used by Postfix to identify existing email accounts and correctly reject incoming mail received for unknown recipients (as in http://www.postfix.org/LOCAL_RECIPIENT_README.html). So I wrote a little tool that generates and update this map automatically, with the help of cron. You can download the script and documentation from my website http://www.pragmatic-source.com/en/opensource/source-code/cyrus-user-map-generate-cyrus-user-map-postfix or from GitHub: http://github.com/Farzy/cyrus-user-map Regards Its not necessary use ruby (or another language) merely to call shell commands, do it on pure (ba|c|k)sh. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net 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: How to copy messages between mailboxes?
On Thu, Feb 26, 2009 at 11:42 AM, Jason Voorhees jvoorhe...@gmail.com wrote: Unfortunately, I know almost nothing about programming :( It doesn't seem a good idea to learn programming now just to solve this little issue. Anyway I know that programming is necessary to me so I'll learn as soon as I have enough free time. If you don't want write a code, configure a MUA with cyrus user admin (at admins:) and drag and drop message. Cyrus admin see all messages for all users. -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net 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