fetching user_deny.db entry for ...

2012-02-02 Thread Marten Lehmann
Hello, since my upgrade from cyrus-imapd 2.3.x to 2.4.x mail maillog gets cluttered by entries like this: Feb 2 14:18:07 g112 cyrus/imap[16836]: fetching user_deny.db entry for 'u...@mailbox.com' I have absoletely no use for this user_deny.db stuff. Before I created an empty user_deny.db I g

Re: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb

2012-01-13 Thread Marten Lehmann
roduction code of cyrus-imapd. Kind regards Marten On 08.01.2012 05:58, Marten Lehmann wrote: > Hello, > > I configured cyrus to use saslauthd for authentication. The related > lines in /etc/imapd.conf are as follows: > > sasl_mech_list: PLAIN > allowapop: no > sasl_pwchec

_sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb

2012-01-07 Thread Marten Lehmann
Hello, I configured cyrus to use saslauthd for authentication. The related lines in /etc/imapd.conf are as follows: sasl_mech_list: PLAIN allowapop: no sasl_pwcheck_method: saslauthd sasl_auto_transition: no Now, everything works fine, SASL-Authentication, LMTP, POP3, IMAP, with just one probl

Re: anysievefolder and autosievefolders gone in 2.4?

2012-01-06 Thread Marten Lehmann
Hello, > Sorry - I've been planning to do it for ages, and it just hasn't happened > due to other things always being more pressing. It's on the "MUST HAVE" > list for 2.5. ok, but where can I find a patch for the current 2.4.9 release of Ubuntu 11.10? The latest release I can find at http://e

Re: anysievefolder and autosievefolders gone in 2.4?

2012-01-06 Thread Marten Lehmann
ted and merged into the main tree of cyrus? Kind regards Marten Lehmann Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

anysievefolder and autosievefolders gone in 2.4?

2012-01-04 Thread Marten Lehmann
Hello, in my 2.3 setup I'm using anysievefolder: yes because if a message es detected as spam, a special mail header is added to the message and if the sieve filter sees it, it automatically stores the message into the subfolder "Junk" of the users mailbox. Since users might accidentally dele

ldap auth through saslauthd through cyrus

2012-01-03 Thread Marten Lehmann
Hello, I have a working installation of cyrus-imapd-2.3.7 on CentOS 5 and now I'm trying to apply the configuration to 2.4.9 on Ubuntu 11.10. I have a setup with virtualdomains, ie. I'm using userp...@domain.com to login. Tests with testsaslauthd like testsaslauthd -u userp...@domain.com -p 12

Re: Auto-deletion of messages in Junk-folder after a certain time

2008-07-15 Thread Marten Lehmann
mind a slow perl script that does its job one by one as long as I get logs. @Bron: I don't want to delete all messages, but all messages older than 60 days. Instead of flagging messages, I thing UIDEXPUNGE might be an option. Kind regards Marten Lehmann Cyrus Home Page: http://cyrusim

Auto-deletion of messages in Junk-folder after a certain time

2008-07-14 Thread Marten Lehmann
Hello, we have a virtual domain configuration and I want to remove all messages within the folder user/@/Junk/* I don't want to mark old messages as deleted and expunge them, because then maybe I'm expunging messages, that haven't been flagged as deleted by me but the owner of the mailbox and

Cyrus and PHP imap_mail_move

2008-06-26 Thread Marten Lehmann
Hello, I noticed, that imap_mail_move() does not move the message(s) on our cyrus-imapd-2.2.12-8.1.RHEL4, while imap_mail_copy() works fine. When I'm requesting the capabilities, then cyrusd announces NO_ATOMIC_RENAME. Does this mean, that it is not possible to move a message from one folder

Re: after crash: new messages are marked as \Seen

2007-03-29 Thread Marten Lehmann
By the way: The maillog doesn't show any errors on the seen db. Is there only one seen-db for all folders of one mailbox? How does cyrus decide how to flag new messages? Is there any possibility to reset the seen db (besides of deleting it)? Regards Marten Cyrus Home Page: http://cyrusi

after crash: new messages are marked as \Seen

2007-03-29 Thread Marten Lehmann
Hello, at this moment we have the problem, that new messages for the INBOX are marked as \Seen, while messages that are moved to the Junk-folder by a sieve script are correctly marked as \Unseen. And at the same time, UIDs seem to be reused, so POP3 clients are deleting messages on the serve

what is the "stage." directory for?

2007-03-07 Thread Marten Lehmann
f them are several months old, but there are also files from today. What are they used for? Is it safe to delete them (shutting down cyrus first)? Regards Marten Lehmann Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/

cyrus cuts away the realm on the admin user

2007-03-05 Thread Marten Lehmann
Hello, I want to authenticate the admin user against ldap as all other users in our setup. Our admin user is something like [EMAIL PROTECTED] whereby "server" is set as defaultdomain in imapd.conf. When I login with a usual account it looks like this: Mar 5 22:09:58 vmx saslauthd[27772]: do

Re: load balancing at fastmail.fm

2007-02-12 Thread Marten Lehmann
Hello, Why do you need NFS? because NFS is the only standard network file protocol. I don't want to load a proprietary driver into the kernel to access a SAN device. The whole point of a SAN is distributed access to storage after all :). So where's the point? SANs usually have redundant

Re: load balancing at fastmail.fm

2007-02-12 Thread Marten Lehmann
Hello, what do you think about moving the mailspool to a central SAN storage shared via NFS and having several blades to manage the mmapped files like seen state, quota etc.? So still only one server is responsible for a certain set of mailboxes, but these SAN boxes have nice backup and redun

Re: sieve autocreate

2007-01-15 Thread Marten Lehmann
Hello, Perhaps this patch may be useful for you. http://email.uoa.gr/projects/cyrus/autosievefolder/ thanks! Regards Marten 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.htm

load balancing at fastmail.fm

2007-01-12 Thread Marten Lehmann
Hello, as fastmail.fm seems to be a very big setup of cyrus nodes, I would be interested to know how you organized load balancing and managing disk space. Did you setup servers for a maximum of lets say 1000 mailboxes and then you use a new server? Or do you use a murder installation so you c

sieve autocreate

2007-01-12 Thread Marten Lehmann
Hello, does sieve include any form of autocreating a "fileinto"-folder? I know that there's an option in Cyrus, but that doesn't help me in this case. Each user shall be able to define a name for a Junk-folder. Usually this is "Junk" (in Thunderbird), but in other Applications it might be cal

Re: [ Re: why does salspasswd2 always append a realm?]

2007-01-08 Thread Marten Lehmann
Hello, I'm sorry, but this statement parses as nonsense. You have saslauthd running but it isn't used, and you have auxprop listed even though you don't have an auxprop. How exactly are you being authenticated? there seems to be a default auxprop, because saslauthd was configured to use pa

Re: [ Re: why does salspasswd2 always append a realm?]

2007-01-05 Thread Marten Lehmann
Hello, I think I have the _exactly_ same problem as Mr. Gruber. This is my setup: hey, originally it was _my_ problem :-) (important part of) imapd.conf: virtdomains: userid defaultdomain: mail.internal.ejibe.net servername: mail.internal.ejibe.net admins: cyrus sasl_pwcheck_method: auxprop

example for ldap options in imapd.conf?

2007-01-04 Thread Marten Lehmann
Hello, the manpage for imapd.conf shows a lot of options for ldap but I cannot find an example configuration using these in the Cyrus documentation or wiki. Is anyone aware of such examples and can point me to related websites? Thanks in advance. Regards Marten Cyrus Home Page: http:/

Re: ldap lookup with different search_base' s? [auf Viren überprüft]

2007-01-04 Thread Marten Lehmann
Hello, >> What do I have to enter at "admins" in /etc/imapd.conf? Something that matches your special regexp. In my following example it is cyrus. I.e. authz-regexp uid=cyrus,cn=[^,]*,cn=auth dn:cn=admin,dc=mailservices authz-regexp uid=([^,]*),cn=[^,]*,cn=auth dn.regex:cn=$

Re: why does salspasswd2 always append a realm?

2007-01-04 Thread Marten Lehmann
Hello, So I really need to login without a realm. Wrong. You need a login where the realm matches the hostname of the machine, which will solve the problem for you. Even while using "virtdomains: userid"? If you check the sasl debug, you'll see that "no realm" becomes the result of get

Re: why does salspasswd2 always append a realm?

2007-01-03 Thread Marten Lehmann
Hello, Use a defaultdomain (man imapd.conf). that doesn't solve the problem. As soon as an admin-user contains a realm (e.g. not just "admin" but "[EMAIL PROTECTED]") this admin-user can only manage accounts for mydomain.com. But I need an admin-user that can create and manage users for arb

ldap lookup with different search_base's?

2007-01-03 Thread Marten Lehmann
Hello, for common email users, I have a path like this: [EMAIL PROTECTED],ou=users,dc=mailservices so the search base is ou=users,dc=mailservices. Using this, authentication works fine. But I would like to include the admin user into the ldap lookup as well. How can I manage this? I planned

why does salspasswd2 always append a realm?

2007-01-03 Thread Marten Lehmann
Hello, I would like to insert an admin-user without a domain/realm into an sasldb2. But saslpasswd2 always appends the hostname to the userid I provide. Example: echo "test" | saslpasswd2 -c admin sasldblistusers2 [EMAIL PROTECTED]: userPassword How can I avoid this? I have "virtdomains: us

Re: IMAP sync tool (rsync for IMAP)

2006-12-25 Thread Marten Lehmann
Hello, Downside: If you have very large messages on the source IMAP servers, you better run the script on a machine with lots of RAM. On my system it died repeatedly with "out of memory" when it was hitting a 32MB message (on-disk size), and the system has 1GB RAM. strange, I didn't experien

Re: user and realm splitting in cyrus/ldap

2006-12-25 Thread Marten Lehmann
Hello, In my case it is: ldap_filter: (&(umMailObjectStatus=enabled)(umCyrusStatus=enabled)(umLogin=%u%R)) So that it looks for [EMAIL PROTECTED] thanks. I'm using saslauthd with the -r option now as Simon adviced but your combination with the "enabled" status is interesting. I also plann

Re: user and realm splitting in cyrus/ldap

2006-12-25 Thread Marten Lehmann
Hello, Did you check the "-r" switch of saslauthd? no. I used a filter like (|([EMAIL PROTECTED])(cn=%u)) instead but using "-r" is the better way which I'm using now. Thanks! Regards Marten Lehmann Cyrus Home Page: http://cyrusimap.web.cmu.

user and realm splitting in cyrus/ldap

2006-12-22 Thread Marten Lehmann
Hello, I'm using Cyrus with saslauthd using ldap. When I am testing the setup with testsaslauthd it works fine. But when I am authenticating through cyrus (imap login) then I notice in the saslauthd logs, that cyrus seems to split the credentials. I'm using virtual domains, so a login looks l

Cyrus::IMAP::Admin with SSL?

2006-11-28 Thread Marten Lehmann
Hello, how can I connect to the Cyrus-Server with Cyrus::IMAP::Admin through SSL? Currently I am using Cyrus::IMAP::Admin->new($server, $port); Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.w

Re: flags on backuped mails

2006-11-14 Thread Marten Lehmann
Hello, (1) That doesn't allow for per-user flags, only global flags. Shared folders. ok, good point. I haven't worked with Shared Folders yet, but how and where are flags stored then? Isn't the global flag what you want? If I'm sharing a folder then I probably don't want to work on an e

flags on backuped mails

2006-11-14 Thread Marten Lehmann
Hello, to backup a mailbox, I would simply have to tar and gzip it. Mails are stored in the numbered files and flags are stored in the cyrus-files. But restoring these mails including flags is very complicated. I would have to renumber them so they don't conflict with existing messages and a

Re: problems on folders containing @

2006-11-12 Thread Marten Lehmann
Hello, Escape the @ sign: create [EMAIL PROTECTED] this doesn't work either: x create [EMAIL PROTECTED] x NO Invalid mailbox name Regards Marten 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/

problems on folders containing @

2006-11-10 Thread Marten Lehmann
Hello, why does this give an error? x create [EMAIL PROTECTED] x NO Invalid mailbox name Why isn't it allowed at Cyrus that folders contain an @-sign? It was allowed with dovecot and courier-imap and it is possible to create folders with several other characters like Umlauts and spaces. Why i

Re: performance on large inboxes

2006-11-09 Thread Marten Lehmann
Hello, I did play with ext2 dir_hash, but didn't find it helping me much (it would help lookups sometimes, but slowed file creation significantly on my tests). I've also heard people praise reiserfs for it's performance under these conditions (personally I don't trust it, but some of that is

Re: performance on large inboxes

2006-11-08 Thread Marten Lehmann
Hello, That was merged a long time back. doc/text/changes: is it enabled by default? Or do I have to specify which headers in particular shall be cached? We are using 2.2.12, so then the patch be already included. Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wik

Re: performance on large inboxes

2006-11-08 Thread Marten Lehmann
Hello, What is fetched depends upon the client software and what it asks for. yes, but that may very extremely. If Cyrus only caches lets say "X-Spam" and there is no such header in the email and thus not in the cache, will Cyrus look into the file then? Or will the cache contain an empty he

descriptive process titles

2006-11-08 Thread Marten Lehmann
Hello, is it possible to let cyrus set descriptive process titles? Currently I'm only seeing dozends of imapd or pop3d processes, but it is very cumbersome to extract what a process is doing from the logs in the cyrus proc-directory. It would be nice to have fancy titles like "imapd [test.de]

limit of connections and auto-logout?

2006-11-08 Thread Marten Lehmann
Hello, is it possible to set a limit of connections per user and an auto-logout? Regards Marten 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

performance on large inboxes

2006-11-08 Thread Marten Lehmann
Hello, from time to time we have users with a very large inbox, which means it contains 20.000 messages or even more. My quite general question is: What is cyrus doing once a user logs in through imap or pop3? It seems, that it is parsing the directory, which takes very long. But what does it

Re: SQUAT failed

2006-11-03 Thread Marten Lehmann
Hello, Everytime you open a folder it looks for SQUAT index file. If the SQUATTER isn't running with master (cyrus.conf) you will get "No such file". I would first like to try this with a view mailboxes. In the squatter manpage I found this: -a Only create indexes for mailboxes which have

Re: SQUAT failed

2006-11-03 Thread Marten Lehmann
> or change the cyrus loglevel to disable the "No such file". How? I looked through the manpages, but there is no loglevel or syslog-threshold in cyrus. Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: ht

Re: SQUAT failed

2006-11-02 Thread Marten Lehmann
Hello, Decrease your logging level from debug to info where do I change it? It seems that this is the default level in Redhat Enterprise Linux 4. Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://

Re: SQUAT failed

2006-11-02 Thread Marten Lehmann
Hello, There will also be an entry in your cyrus.conf, EVENTS section, which is starting these processes. I cannot see such an entry in cyrus.conf: EVENTS { # this is required checkpointcmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression,

SQUAT failed

2006-11-02 Thread Marten Lehmann
Hello, what is "SQUAT"? I have several lines like this in my logfile: Nov 2 15:03:39 vm27 imap[14376]: SQUAT failed to open index file Nov 2 15:03:41 vm27 imap[14376]: SQUAT failed And for some reason there has been a process that repeated these lines at least 30 times. Regards Marten

Re: Cyrus, clusters, GFS - HA yet again

2006-10-27 Thread Marten Lehmann
Hello, maybe I have understood GFS wrong, but isn't it ment to stripe data of several servers instead of mirroring them but make it accessable from several servers? If one server goes down, then you can only access the metadata from the GFS metadata server, but not the file itself from the se

Re: Message contains invalid header

2006-10-27 Thread Marten Lehmann
Hi, case IMAP_MESSAGE_BADHEADER: prot_printf(pout, "554 5.6.0 Message contains invalid header\r\n"); break; what can I do to fix these headers? I have one message (which appears to be spam, but that is not the point), where I cannot find any problem. No 8bit characters, n

Re: Message contains invalid header

2006-10-27 Thread Marten Lehmann
Hello, case IMAP_MESSAGE_CONTAINSNULL: prot_printf(pout, "554 5.6.0 Message contains NUL characters\r\n"); break; especially this appears very often. Does Cyrus actually mean the whole message, or message body or header? What can I do with existing messages? Regards Mart

Re: Message contains invalid header

2006-10-27 Thread Marten Lehmann
Hello, But your Cyrus IMAPd has to work with these headers! It has to be able to sort by date, search for message ID, index the body, search for any header field! So you cannot just ignore errors in Cyrus. yes, I understand. But I don't know which characters are problematic for Cyrus. I just

Re: Message contains invalid header

2006-10-26 Thread Marten Lehmann
Hello, What MTA do you use? exim. It can handle even emails with NUL characters and 8bit headers, but I guess all up2date MTAs (like postfix or sendmail) are capable of this. Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twik

Re: Message contains invalid header

2006-10-26 Thread Marten Lehmann
Hello, If it's mails from the broken Lotus Notes client that's the problem (and they're the only ones we saw here), it's caused by a null Message-ID header; just have your SMTP server remove those. no, it is not just at mails from Notes clients. I also get this error on messages with correct

Re: LMTP timeout?

2006-10-26 Thread Marten Lehmann
Hello, That's an Exim complaint. The receiver didn't respond within Exim's time limit. The default is 5 minutes, you can change it with the "timeout" option on the transport (the one you've called mailbox_lmtpunix). is there a timeout at lmtpd or will it deliver a message no matter how much

LMTP timeout?

2006-10-26 Thread Marten Lehmann
Hello, right now I'm receiving a lot of lines like this in my exim log: 2006-10-26 20:08:09 1Gd9YI-0004rv-FN == [EMAIL PROTECTED] R=mailbox_cyrus T=mailbox_lmtpunix defer (-1): LMTP timeout after end of data (20671 bytes written) 2006-10-26 20:08:09 1Gd9Xx-0004lb-1g == [EMAIL PROTECTED] R=mail

Re: CREATE INBOX/attention: NO Invalid mailbox name

2006-10-25 Thread Marten Lehmann
Hello, Why? If the problem is that Dovecot uses the folders below inbox, then do the migration and *THEN* enable altnamespace. Simple! :-) the problem is, that dovecot allows both: at the same level of INBOX and subfolders of INBOX. Cyrus only supports on of both at the same time. So I ch

Re: Too slow

2006-10-25 Thread Marten Lehmann
Hello, I turned the mail partition now to xfs and it's terribly fast. WOW!!! did you use an ext3 partition with dir_index before? I'm just asking because we are at a similar point and need to make a decision. All benchmarks I know of don't show that XFS actually performs faster than a moder

question on poptimeout

2006-10-25 Thread Marten Lehmann
Hello, some of our users are grumping that they get the pop3 error: -ERR [IN-USE] Unable to lock maildrop: Mailbox is locked by POP server I know where it comes from and I understand that there must be a sort of locking for pop3. But sometimes users seem to get an authentication error and are

Re: Message contains invalid header

2006-10-25 Thread Marten Lehmann
Hello, sorry, but I'm not looking for a way to change anything in an email, I am looking for a way so that Cyrus doesn't check for such errors and simply ignores them. Even if I would remove the according message ids in new messages, I still have to migrate the old mailboxes and IMAP is givi

Message contains invalid header

2006-10-25 Thread Marten Lehmann
Hello, from time to time we are getting this message in our exim logs: LMTP error after end of data: 554 5.6.0 Message contains invalid header I have also experienced this error while I'm syncing emails from an old server to our new cyrus mailserver. I have munge8bit: false in my imapd.conf

Re: STARTTLS available?

2006-10-23 Thread Marten Lehmann
Hello, Good, now show us your imapd.conf and any tls errors that appear in your log. configdirectory: /cyrus/config partition-default: /cyrus/spool admins: cyrus sievedir: /cyrus/config/sieve sendmail: /usr/sbin/sendmail altnamespace: true hashimapspool: true unixhierarchysep: true virtdomain

Re: STARTTLS available?

2006-10-23 Thread Marten Lehmann
Hello, So, as Andreas indicated, configuring TLS should be enough to offer STARTTLS. The only configuration I needed to do was to add something like this to imapd.conf (Cyrus-IMAPD 2.3.7): again: TLS/SSL works! But Cyrus doesn't offer STARTTLS (using cyrus-imapd-2.2.12-3.RHEL4.1). $ telnet

Re: STARTTLS available?

2006-10-22 Thread Marten Lehmann
Hello, Configure TLS. "man imapd.conf", ./doc/(text/)install-configure(.html), ... I already have TLS resp. SSL (on separate ports)! But STARTTLS is an extension so you can use SSL through the common pop3 or imap port (not the special SSL one), because with STARTTLS you can open a SSL conne

Re: very slow syncing, any ideas?

2006-10-21 Thread Marten Lehmann
Hello, i had much better performance with mailutil from UW-Imapd. It uses the IMAP-protocol like imapscyn but is not a scipt but a binary program and uses the imap APPEND command and does noe checks to see wich E-Mails are on the new server. and I hope it only deletes messages from the ol

STARTTLS available?

2006-10-21 Thread Marten Lehmann
Hello, I have some users that are used to use POP3 and IMAP with STARTTLS. It was available in dovecot but it doesn't seem to be available in Cyrus by default. Can it be enabled somehow? Or isn't it implemented for certain reasons? Regards Marten Cyrus Home Page: http://cyrusimap.web.cm

Re: CREATE INBOX/attention: NO Invalid mailbox name

2006-10-20 Thread Marten Lehmann
Hello, ok, then I have to rename them manually. Rename what manually? Seriously, are you considering the problem correctly? I mean that I have to rename the INBOX/* folders before the migration. Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyr

Re: CREATE INBOX/attention: NO Invalid mailbox name

2006-10-19 Thread Marten Lehmann
Hello, I think it's one way or the other, not both. With "altnamespace: 0", all folders are under INBOX. With "altnamespace: 1", no folders are under INBOX. ok, then I have to rename them manually. Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cy

CREATE INBOX/attention: NO Invalid mailbox name

2006-10-19 Thread Marten Lehmann
Hello, I have the combination of the following in my imapd.conf: altnamespace: true unixhierarchysep: true That way folders can be created on the same level as INBOX. But I didn't understood this the way, that one cannot have folders below INBOX then. 173 CREATE INBOX/attention 173 NO Invali

Re: very slow syncing, any ideas?

2006-10-19 Thread Marten Lehmann
Hello, Looking at taht i'd say you're VERY badly CPU bound. a simple dd/cp doesn't do anything to the mail but IMAP ops will require some CPU workCyrus also will probably be forcing syncs but your I/O load doesn't look that high (my mfe's run more I/O and they're not storing any mail, ju

Re: very slow syncing, any ideas?

2006-10-19 Thread Marten Lehmann
Hello, Uhm... LA of 30 is very high. What OS? I assume Linux, vmstat 5 will tell you where you're hitting the wall, but unless you've got an 8 CPU machine LA 30 is rather quite high. Linux LA is a measurement of processes blocked on I/O, processes running and processes waiting to run on a

migrating mailboxes by copying files?

2006-10-19 Thread Marten Lehmann
Hello, since imapsync sessions take to long for our several thousand mailbox setup (although it's still running in the background while I'm writing this) I'm asking myself, if there isn't another way to migrate the messages. Maildir does store each message in a separate file and same does cyr

Re: very slow syncing, any ideas?

2006-10-19 Thread Marten Lehmann
Hi, What is I/O load on the new server? on the old server? Was your test set representative of your production system? the test system has much older hardware than the pretty new production server (Xeon 3.4 with RAID5 and SCSI HDs). Old and new server are the same from the hardware side, we

very slow syncing, any ideas?

2006-10-19 Thread Marten Lehmann
Hello, I'm about to migrate several thousand mailboxes from Maildir to Cyrus using the tool imapsync. It does its job very well and when I tested the migration on a small development server it was very fast. But now on the production system the synchronisation is very slow with a maximum of

Re: renaming a mailbox fails

2006-10-19 Thread Marten Lehmann
Hello, Set 'allowusermoves' to '1' in imapd.conf? However, I still get "renamemailbox: Operation is not supported on mailbox" as soon as I try to rename out of the "user/" prefix. Is there Did you restart cyrus after changing the config? yes. Renaming users works, but only within "user/",

defer (110): Connection timed out

2006-10-19 Thread Marten Lehmann
Hello, in my exim logs I can see a lot of lines like R=mailbox_cyrus T=mailbox_lmtp defer (110): Connection timed out I have set a maximum of 30 concurrent deliveries using lmtp over tcp. What is the limit for lmtpd? How can I increase it? What else could have caused this message? Regards M

Re: renaming a mailbox fails

2006-10-17 Thread Marten Lehmann
Hello, Set 'allowusermoves' to '1' in imapd.conf? thanks. However, I still get "renamemailbox: Operation is not supported on mailbox" as soon as I try to rename out of the "user/" prefix. Is there any possibility to rename a mailbox to something like "backup/[EMAIL PROTECTED]"? Regards Ma

Re: different certs for pop3 and imap

2006-10-17 Thread Marten Lehmann
Hello, imap_tls_cert_file: /etc/ssl/certs/cyrus-imap.pem imap_tls_key_file: /etc/ssl/private/cyrus-imap.key pop3_tls_cert_file: /etc/ssl/certs/cyrus-pop3.pem pop3_tls_key_file: /etc/ssl/private/cyrus-pop3.key thanks for your help. I just want to add that you have to write pop3s_ and imaps_,

renaming a mailbox fails

2006-10-17 Thread Marten Lehmann
Hello, within cyradm I'm trying to rename a folder. My goal would be to rename a mailbox from user/[EMAIL PROTECTED] to backup/2006-10-17/[EMAIL PROTECTED] or backup/2006-10-17/[EMAIL PROTECTED] But renaming always fails, even with really simple renames: rename user/[EMAIL PROTECTED] user/[

changed delivery to subfolder?

2006-10-10 Thread Marten Lehmann
Hello, the documentation says, that one should use an address like [EMAIL PROTECTED] to delivery a message directly into the Junk-folder of [EMAIL PROTECTED] I noticed that this doesn't work and the mail is delivered to INBOX instead. However, I found out that I have to deliver messages to

Re: lmtp through tcp doesn't find the mailbox

2006-10-10 Thread Marten Lehmann
a sub folder cm user/[EMAIL PROTECTED]/Sent Btw.: I found out that subfolders are appended before the domain part, thus "cm user/test/[EMAIL PROTECTED]". Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.c

Re: lmtp through tcp doesn't find the mailbox

2006-10-10 Thread Marten Lehmann
Hello, unixhierarchysep: true so you need to use slashes instead of "."s. e.g cm user/test thanks. I was treating "user." as a fixed prefix until now, not as a folder. I now successfully created a mailbox: > lm user/[EMAIL PROTECTED] (\HasNoChildren) > lam user/[EMAIL PROTECTED] [EMAIL PR

lmtp through tcp doesn't find the mailbox

2006-10-09 Thread Marten Lehmann
Hello, I tried to create mailboxes with cyradm ([EMAIL PROTECTED] and [EMAIL PROTECTED]). But when I'm doing a lmtp-session to deliver a message to [EMAIL PROTECTED] and come to the rcpt-to point, I always get: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or

folder confusion

2006-10-09 Thread Marten Lehmann
Hello, I have created the user "[EMAIL PROTECTED]". Why isn't there a INBOX? Where does the shared folder come from and why does it appear twice? There is no other mailbox created in this setup. x list "" "*" * LIST (\HasNoChildren) "/" "Shared Folders/user.test" * LIST (\HasNoChildren) "/" "

"user." in mailbox names

2006-10-09 Thread Marten Lehmann
Hello, we are currently using dovecot for IMAP and POP3 and we would like to migrate to Cyrus. The email-address is the login, e.g. [EMAIL PROTECTED] When I'm creating accounts in cyrus, I have to prepend "user." to the mailbox names (thus [EMAIL PROTECTED]). But when a user logs in with [EMA

Re: no mailbox associated?

2006-10-09 Thread Marten Lehmann
Hello, I tried this now, but it didn't get me any further. I created [EMAIL PROTECTED], but all LMTP deliveries (not authenticated, lmtpd running with "-a") are failing: rcpt to:<[EMAIL PROTECTED]> no, mail to [EMAIL PROTECTED], not to [EMAIL PROTECTED] I tried all combinations, with and

Re: how to specify trusted hosts for lmtp

2006-10-09 Thread Marten Lehmann
I believe you must setup hosts.allow with rules to allow the trusted host to connect. And you have to start lmtpd with -a then (in cyrus.conf). Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.we

Re: no mailbox associated?

2006-10-09 Thread Marten Lehmann
Hello, It's a common mistake to forget the 'user.' prefix, but it is required in a conventional setup. I tried this now, but it didn't get me any further. I created [EMAIL PROTECTED], but all LMTP deliveries (not authenticated, lmtpd running with "-a") are failing: rcpt to:<[EMAIL PROTECTE

Re: no mailbox associated?

2006-10-09 Thread Marten Lehmann
Hello, > Did you create it with > cm [EMAIL PROTECTED] no, just with cm [EMAIL PROTECTED] What is the "user." for? I thought this is just a relict from non-virtualdomain setups? What can I use an account for if I'm not creating it with "user."? Can I rename the account or do I have to create a

no mailbox associated?

2006-10-08 Thread Marten Lehmann
Hello, I have created a mailbox within cyrus which works fine (in concerns of IMAP sessions). But when I'm trying to deliver messages into this mailbox using LMTP I always get: SMTP error from remote mail server after RCPT TO:<[EMAIL PROTECTED]>: host x.x.x.x [x.x.x.x]: 550-Mailbox unknown.

Re: Authentication required at lmtp transport

2006-09-29 Thread Marten Lehmann
Thanks! 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: only cleartext in sasldb?

2006-09-29 Thread Marten Lehmann
Hello, that would be a problem I ment: would _not_ be a problem 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: only cleartext in sasldb?

2006-09-29 Thread Marten Lehmann
Hello, it seems that sasldb stores all password in cleartext. Is it possible to use md5 or crypt as in /etc/passwd? Not without breaking non-plaintext mechanisms like CRAM-MD5 and DIGEST-MD5. that would be a problem, we currently support PLAIN only and don't intent to allow anything else (w

Authentication required at lmtp transport

2006-09-29 Thread Marten Lehmann
Hello, I have configured one mailserver to send messages through lmtp by tcp to another server. But I always get host x.x.x.x [x.x.x.x]: 430 Authentication required Where can I tell cyrus to allow lmtp-messages from certain IP-addresses or ranges? Regards Marten Cyrus Home Page: http:

confusing authentication

2006-09-28 Thread Marten Lehmann
Hello, I'm using getpwent for admin authentication and salsdb for commoon mailbox users. I noticed a strange behaviour: I'm not using salsauthd. But when I'm just writing sasl_pwcheck_method: getpwent auxprop I always get NO Login failed: user not found (only admin users not found) When I

only cleartext in sasldb?

2006-09-27 Thread Marten Lehmann
Hello, it seems that sasldb stores all password in cleartext. Is it possible to use md5 or crypt as in /etc/passwd? Regards Marten 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-lis

Re: admin authentication

2006-09-27 Thread Marten Lehmann
Hello, I found out the problem: It was a permission problem of /etc/sasldb2. Regards Marten 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: admin authentication

2006-09-26 Thread Marten Lehmann
Hello, I use both LDAP and sasldb with these config lines: * sasl_pwcheck_method: auxprop saslauthd * sasl_auxprop_plugin: sasldb I tried, but I couldn't get it work. I have the following /etc/imapd.conf: sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sasldb2 sasldb_path: /etc/s

different certs for pop3 and imap

2006-09-25 Thread Marten Lehmann
Hello, as we are transparently migrating to cyrus we need pop3 and imap services listen to different ip-address and the ssl-portions of pop3 and imap need to come along with different keys and certs. How can I configure this? I can see only one tls_cert_file and tls_key_file in imapd.conf.

Re: admin authentication

2006-09-25 Thread Marten Lehmann
ame as the admin-user of cyrus would have to be created? Regards Marten Lehmann 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

admin authentication

2006-09-25 Thread Marten Lehmann
Hello, we will use LDAP through saslauthd to authenticate our users. Is there a way to authenticate admin-users a different way at the same time? Best would be to hardcode a md5-password within the imapd.conf or to use /etc/passwd for that. But I don't want to pass everything through PAM just

  1   2   >