Re: [Dovecot] Dovecot/doveadm crash

2012-05-04 Thread Timo Sirainen
On 30.4.2012, at 23.16, Daniel L. Miller wrote: Having a problem with a mailbox. I've been trying to rebuild - but doveadm force-resync crashes. This is mdbox with sis. doveadm purge -u dmil...@amfes.com doveadm(dmil...@amfes.com): Panic: file istream.c: line 466

Re: [Dovecot] dovecot sasl with postfix: SASL LOGIN authentication failed: Connection lost to authentication server

2012-05-04 Thread Timo Sirainen
On 1.5.2012, at 5.28, David Jonas wrote: When using dovecot (2.1.5) sasl with postfix (2.8.4) behind nginx smtp proxy I am seeing a ton of errors of the form: .. Nothing is printed by dovecot in the logs regarding the error. It seems that dovecot just hung up on postfix. (side note: no, can't

Re: [Dovecot] Shared INBOX change in v2.1.6?

2012-05-04 Thread Timo Sirainen
On 1.5.2012, at 3.21, Timo Sirainen wrote: Previously Dovecot has shown shared INBOX like: * LIST (\HasChildren) / shared/tss2 * LIST (\HasNoChildren) / shared/tss2/INBOX * LIST (\HasNoChildren) / shared/tss2/foo The last change in hg makes it return simply (same as with Cyrus

Re: [Dovecot] dovecot and systemd

2012-05-04 Thread Timo Sirainen
On 16.4.2012, at 12.55, Michal Hlavinka wrote: I wrote simple patch that close the extra sockets. It's tested and works fine. You'll maybe want to move that function to different place and/or change wording of error messages. I committed it to v2.1 now with a couple of changes. One is that

Re: [Dovecot] Corrupted mdbox file

2012-05-05 Thread Timo Sirainen
On 5.5.2012, at 19.29, Daniel L. Miller wrote: With an error like this: doveadm(dmil...@amfes.com): Error: Corrupted dbox file /var/mail/amfes.com/dmiller/mdbox/storage/m.20 (around offset=74408): Unexpected EOF while reading metadata header What can be done? So force-resync doesn't

Re: [Dovecot] HG 3d8a25a4394d Patch breaks UserDB Lookups

2012-05-05 Thread Timo Sirainen
On 5.5.2012, at 10.12, Thomas Leuxner wrote: Patch http://hg.dovecot.org/dovecot-2.1/rev/3d8a25a4394d breaks auth May 5 09:01:52 spectre dovecot: lmtp(24442): Connect from local May 5 09:01:52 spectre dovecot: lmtp(24442): Error: userdb lookup(t...@leuxner.net): Disconnected unexpectedly

Re: [Dovecot] Dovecot for POP3S proxying

2012-05-05 Thread Timo Sirainen
So, what you need is to first make authentication with LDAP work, and then add the proxying fields: pass_attrs = \ =proxy=y, =host=exchange-ip, ..any other fields required for auth.. On 5.5.2012, at 11.51, Gilles ALBUSAC wrote: LDAP passdb lookup Message du 04/05/12 17:42 De : Timo

Re: [Dovecot] smtp -auth with using clear text password

2012-05-05 Thread Timo Sirainen
On 5.5.2012, at 9.47, Agnello George wrote: 235 2.7.0 Authentication successful Looks to me like authentication works just fine. 421 4.4.2 mail.ddde.co.in Error: timeout exceeded You're just not doing anything after authentication.

[Dovecot] v2.1.6 released

2012-05-06 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.6.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.6.tar.gz.sig * Session ID is now included by default in auth and login process log lines. It can be added to mail processes also by adding %{session} to mail_log_prefix.

Re: [Dovecot] Shared namespace

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 16.52, Daniel L. Miller wrote: Ok - I broke it again. Tried changing mail_shared_explicit_inbox to no - problem mailboxes disappeared again. Changed back to yes - they came back. Problem with both Thunderbird and Roundcube as clients. Try talking IMAP protocol manually:

Re: [Dovecot] Shared namespace

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 22.13, Daniel L. Miller wrote: On 5/7/2012 11:02 AM, Timo Sirainen wrote: On 7.5.2012, at 16.52, Daniel L. Miller wrote: Ok - I broke it again. Tried changing mail_shared_explicit_inbox to no - problem mailboxes disappeared again. Changed back to yes - they came back

Re: [Dovecot] Proxying for some users and having the rest local?

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 22.21, Dr Josef Karthauser wrote: password_query = SELECT user, domain, password, masteruser as master, masterpass as pass, proxy, remoteimap.server as host FROM mailboxes \ WHERE user = '%n' AND isMailbox AND active AND domain = '%d' I imagined that I could switch

Re: [Dovecot] This binary should probably be called with process group set to (vmail) instead of (userid)

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 22.11, Jeff Lacki wrote: Im sorry to ask another basic question, but Ive tried to find this answer for several hours now and it eludes me. Im getting the following when dovecot tries to deliver an email: May 6 19:29:21 mydomain dovecot: lda: Debug: auth input: jeff

Re: [Dovecot] mdbox packing

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 6.22, Daniel L. Miller wrote: Given a mailbox with a larger number of older mails - assuming any new mails will have later dates - will the new mail storage files be identical? I'm probably not saying the right - let me try this: 1. dsync backup mdbox (with appropriate

Re: [Dovecot] courier to dovecot

2012-05-07 Thread Timo Sirainen
On 6.5.2012, at 21.18, Grafibit Rendszergazda wrote: I know there were many threads on this topic. I was searching the archive and the net also, but did not find a solution on my problem. I hope you can help me. I am migrating from an old server using courier to a new server with dovecot

Re: [Dovecot] Shared namespace

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 23.03, Daniel L. Miller wrote: Not exactly. Using the old style, I'd see something like: shared\ user1\ inbox user2\ inbox user3\ inbox user4\ inbox When it breaks, for whatever reason (whether it's the new setting or something I do), I get:

Re: [Dovecot] Shared namespace

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 23.15, Timo Sirainen wrote: So user1 user3 are missing entirely. If it breaks using the old style, then I would see user 2 4 inboxes - but not user 1 3. I also have other folders shared from each user. Ah, I see. Could you try if the attached patch fixes

Re: [Dovecot] Shared namespace

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 23.27, Timo Sirainen wrote: On 7.5.2012, at 23.15, Timo Sirainen wrote: So user1 user3 are missing entirely. If it breaks using the old style, then I would see user 2 4 inboxes - but not user 1 3. I also have other folders shared from each user. Ah, I see. Could

Re: [Dovecot] dsync with virtual users

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 23.44, Ken Stevenson wrote: I have two servers with almost identical mail setups using dovecot 2.13. .. $ dsync -u k...@allenmyland.com backup k...@abbott4.allenmyland.com Might as well move to the new dsync syntax. I really should update the man and wiki pages for this..:

Re: [Dovecot] Upgrading known problems (2.0 to 2.1) ?

2012-05-07 Thread Timo Sirainen
On 7.5.2012, at 23.21, Jean Michel wrote: Is there any known/possible problem while upgrading from dovecot 2.0 to 2.1 ? Did anybody had any trouble with this ? http://wiki2.dovecot.org/Upgrading/2.1 lists all known problems.

Re: [Dovecot] Upgrading known problems (2.0 to 2.1) ?

2012-05-07 Thread Timo Sirainen
anything about a cenario like this, its possible to have a director working on 2.0 and a backend with 2.1 simultaneously and vice-versa? 2012/5/7 Timo Sirainen t...@iki.fi On 7.5.2012, at 23.21, Jean Michel wrote: Is there any known/possible problem while upgrading from dovecot 2.0 to 2.1

Re: [Dovecot] courier to dovecot

2012-05-07 Thread Timo Sirainen
On 2012.05.07. 21:39, Timo Sirainen wrote: On 6.5.2012, at 21.18, Grafibit Rendszergazda wrote: I know there were many threads on this topic. I was searching the archive and the net also, but did not find a solution on my problem. I hope you can help me. I am migrating from an old

Re: [Dovecot] Shared namespace

2012-05-07 Thread Timo Sirainen
On 8.5.2012, at 0.46, Daniel L. Miller wrote: Ok - new problem. Now the user mailboxes DO appear - however that's ALL I see. The Sent/Trash/whatever folders, that were previously shared visible - gone. Changing back to yes brings them back. Hmm. Fixed in hg, but now I'm wondering

Re: [Dovecot] mixed MBOX and Maildir format ?

2012-05-08 Thread Timo Sirainen
On Tue, 2012-05-08 at 09:16 +0200, Frank Bonnet wrote: Hello would it be possible to have mixed formats in Dovecot 2.1.x userland ? I mean MBOX format for INBOXes Maildir format for IMAP folders ( to let users create subfolders ) You could, although I think it's a bad idea (more

Re: [Dovecot] Director and backend on the same server

2012-05-08 Thread Timo Sirainen
On Tue, 2012-05-08 at 12:55 -0600, James Devine wrote: I have setup director and a backend dovecot service on the same machine using different ports. The backend service is listening on the default 24, 110 and 143 for lmtp, pop3 and imap respectively. Director is listening on 10024, 10110

Re: [Dovecot] lmtp_save_to_detail_mailbox not working?

2012-05-08 Thread Timo Sirainen
On Tue, 2012-05-08 at 13:36 -0400, Oscar del Rio wrote: Dovecot 2.1.6, with lmtp_save_to_detail_mailbox=yes recipient_delimiter=+ messages addressed to user+detail@domain are always delivered to INBOX regardless if detail mailbox already exists or lda_mailbox_autocreate=yes. Anything

Re: [Dovecot] IMAP NOTIFY extension

2012-05-08 Thread Timo Sirainen
On Tue, 2012-05-08 at 21:17 -0500, ashley willis wrote: your work on NOTIFY was brought to my attention, and I see it hasn't been changed in two months, a week after you announced it. a few users and some mail admins have been wanting something like this for k9 mail, which I help develop. what

Re: [Dovecot] dovecot and systemd

2012-05-09 Thread Timo Sirainen
On 9.5.2012, at 14.49, Michal Hlavinka wrote: On 05/04/2012 08:54 PM, Timo Sirainen wrote: On 16.4.2012, at 12.55, Michal Hlavinka wrote: I wrote simple patch that close the extra sockets. It's tested and works fine. You'll maybe want to move that function to different place

Re: [Dovecot] BODYSTRUCTURE bug?

2012-05-10 Thread Timo Sirainen
On 10.5.2012, at 11.54, A.L.E.C wrote: Hi! I've found a bug in Content-Type parsing. It's old instance of dovecot 1.1. Maybe fixed in newer versions. I have a mail with header: Content-Type: multipart/signed; boundary=080705010808010608030700;

Re: [Dovecot] Thunderbird log-in ---Authentication failed - password in uppercase in log files

2012-05-10 Thread Timo Sirainen
On Thu, 2012-05-10 at 11:03 +0200, jacques wrote: Trying to set up thunderbird to connect to this server I get problems - seems as if the password is resolved proper from the database (use postfixadmin), but then compares an upper case version of my password in the MD5-CRYPT() call to the

Re: [Dovecot] BODYSTRUCTURE bug?

2012-05-10 Thread Timo Sirainen
On 10.5.2012, at 12.22, A.L.E.C wrote: On 05/10/2012 11:02 AM, Timo Sirainen wrote: This works fine in v1.0.15 and v1.1.20. Are you sure the problem is the order of the parameters, and not that the second one is broken in some other way? Or I guess it might be that in your specific

Re: [Dovecot] BODYSTRUCTURE bug?

2012-05-10 Thread Timo Sirainen
On 10.5.2012, at 13.05, A.L.E.C wrote: On 05/10/2012 11:39 AM, Timo Sirainen wrote: - protocol=application/x-pkcs7-signature; micalg=sha1 The message is broken. If you look at RFC 2045, what it comes down to is that '/' character cannot be in the value unless the whole value is quoted

Re: [Dovecot] BODYSTRUCTURE bug?

2012-05-10 Thread Timo Sirainen
On Thu, 2012-05-10 at 12:20 +0200, A.L.E.C wrote: On 05/10/2012 12:10 PM, Timo Sirainen wrote: Yes. However, changing to protocol=application/x-pkcs7-signature doesn't fix the issue. If you delete dovecot.index.cache file, it should fix it. No it doesn't fix. Besides that I'm

Re: [Dovecot] BODYSTRUCTURE bug?

2012-05-10 Thread Timo Sirainen
On 10.5.2012, at 14.03, A.L.E.C wrote: On 05/10/2012 12:44 PM, Timo Sirainen wrote: Well, with quotes it works also in dovecot-1.1 hg, and I don't see why it wouldn't work in v1.1.19 as well: But you're sure boundary is after protocol? Yes, it's the mail you sent with the patch (although

Re: [Dovecot] /var/run/dovecot folder gets deleted on server reboot? ubuntu 10.10

2012-05-10 Thread Timo Sirainen
On 10.5.2012, at 17.37, jacques wrote: Hi After rebooting my server connections to the mail system set up there failed - on closer inspection no dovecot process was running or got started. When running as root /usr/share/sbin/dovecot -c /etc/dovecot/dovecot.conf got error on console

Re: [Dovecot] Converting Dovecot.conf file from Dovecot 1.x to Dovecot 2.x (Dovecot configured with work with MySQL and Postfix)

2012-05-10 Thread Timo Sirainen
On 10.5.2012, at 19.42, Femi Ajayi wrote: I want to convert this Dovecot configuration file for Dovecot 1.x to a dovecot file for Dovecot 2.x And it doesn't work? Why not? Works okay in v2.0.20 and newer at least. Of course, it complains about obsolete settings. But running it through

Re: [Dovecot] index IO patterns

2012-05-11 Thread Timo Sirainen
On 11.5.2012, at 13.56, Javier de Miguel Rodríguez wrote: Even without LDA/LMTP dovecot-imap needs to write right? It would need to update the index every time an imap connect happens and new mails are found in the mail store. Well of course. Indexes are also updated when flags are

Re: [Dovecot] index IO patterns

2012-05-12 Thread Timo Sirainen
On 12.5.2012, at 10.32, Cor Bosman wrote: Mail is always a random IO workload, unless your mailbox count is 1, whether accessing indexes or mail files. Regarding the other two questions, you'll likely need to take your own measurements. Wait, maybe there is a misunderstanding. I mean the

Re: [Dovecot] dovecot-2.1.6: why are loglines longer and longer

2012-05-13 Thread Timo Sirainen
On 13.5.2012, at 13.31, Reindl Harald wrote: do we really need session=ugAua+i/ewBUcit1 additional to proxy log-lines? until this change it was possible on a 24 screen with tail -f /var/log/maillog to watch without linebreaks, now each proxy line breaks PLEASE reconsider such changes!

Re: [Dovecot] dovecot wants to access my music directory

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 10:21 +0200, Reindl Harald wrote: Is your /srv/music shown in the output from doveadm mount list? Is /srv/music referenced via a symlink from another folder - possibly a home folder? this is a generally problem in recent dovecot releases on modern distributions

Re: [Dovecot] dovecot wants to access my music directory

2012-05-14 Thread Timo Sirainen
On Fri, 2012-05-11 at 00:02 -0500, Ian Pilcher wrote: I am getting an SELinux error every time dovecot starts, because it is trying to access my music directory (/srv/music). I've read the doveadm-mount man page, and tried: doveadm mount add /srv/music ignore but it didn't make any

Re: [Dovecot] userdb namespace settings bug

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 11:48 +0200, Alexander 'Leo' Bergolth wrote: Any hints on how to change the order of userdb settings? OK, got it. userdb settings are parsed in the same order as set in USERDB_KEYS. The key NAMESPACES has to be defined before the namespace-specific keys. My

Re: [Dovecot] dovecot report W value error and Corrupted index cache file

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 13:39 +0800, 甄东宇 wrote: Yesterday Dovecot.log report: Warning: Fixed a duplicate: /opt/*/cur/time.M*.domain,S=*,W=*:2,S - time.M*.domain This is probably from your rsyncs. Now Dovecot.log report: Error: FETCH [ ] for mailbox INBOX UID 10546 got

Re: [Dovecot] doveadm not working

2012-05-14 Thread Timo Sirainen
On Sun, 2012-05-13 at 13:21 +0200, Christian Rößner wrote: May 13 13:03:20 mx0 dovecot: auth: Error: auth worker: Aborted request: Lookup timed out May 13 13:03:21 mx0 dovecot: auth-worker(26753): Error: LDAP: ldap_start_tls_s() failed: Connect error May 13 13:03:21 mx0 dovecot:

Re: [Dovecot] TLS X.509 CRLs

2012-05-14 Thread Timo Sirainen
On Sun, 2012-05-13 at 18:43 +0200, Matthias-Christian Ott wrote: according to the documentation file referenced by ssl_ca must contain the Client certificate CA and the corresponding CRL. Thus dovecot would have to receive SIGHUP to reload a new CRL. Did I understand this correctly? Yeah.

Re: [Dovecot] managesieve problem

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 00:34 +0200, Miroslav Míšek wrote: May 14 00:05:41 thor dovecot: managesieve-login: Fatal: Error reading configuration: Invalid settings: ssl enabled, but ssl_cert not set This says ssl_cert isn't set, but it clearly is: ssl_cert = /etc/pki/dovecot/certs/dovecot.pem

Re: [Dovecot] Dovecot usage values differ from actual disk usage

2012-05-14 Thread Timo Sirainen
On Sun, 2012-05-13 at 02:07 +0200, Daniel Parthey wrote: in my dovecot setup the accounting database table shows wrong values which do not correspond with the actual disk space used. Can you easily reproduce this with a test user? How? If there's no easy way to manually reproduce this, try if

Re: [Dovecot] Crash in settings parser (assertion failed: (src_count == ccount))

2012-05-14 Thread Timo Sirainen
On Sat, 2012-05-12 at 21:34 -0400, Michael Orlitzky wrote: Lutz Schildt posted this to the Gentoo bugzilla recently: http://bugs.gentoo.org/show_bug.cgi?id=415571 There's a backtrace and conf files attached. I was able to find this possibly-related post from a while ago:

Re: [Dovecot] Postfix Query

2012-05-14 Thread Timo Sirainen
On Fri, 2012-05-11 at 19:07 +0100, Tim wrote: user_query = SELECT maildir, mailuser as uid, mailgroup as gid,concat('*:bytes=',quota) as quota_rule FROM virtual_mailbox WHERE username = '%u' and maildir should return example.com/subdomain/tim for this particular user Returning a maildir

Re: [Dovecot] ..::MBOX ISSUE::..

2012-05-14 Thread Timo Sirainen
On Fri, 2012-05-11 at 08:29 -0500, Alfonso Alejandro Reyes Jimenez wrote: mail_location = mbox:/var/spool/mail/:INBOX=/var/spool/mail/%u This just isn't going to work. You're now specifying that all of the users' folders are in a common /var/spool/mail directory. You need to figure out

Re: [Dovecot] namespace from snapshots

2012-05-14 Thread Timo Sirainen
On Fri, 2012-05-11 at 16:33 +0200, Karl Oulmi wrote: namespace da1 { prefix = INBOX.backup.da1. hidden = no list = yes inbox = no location = maildir:/da1/%u/Maildir type = private } I have two problems : - In my log, dovecot complain about the fact that my snapshot filsystem is

Re: [Dovecot] Log files

2012-05-14 Thread Timo Sirainen
On Thu, 2012-05-10 at 14:43 -0400, Chris Lasater wrote: Hi, I just started using Dovecot and was trying to create separate logs instead of using syslog. Is there a way to get the file permission to be something other then root? The log files are created by the master dovecot process at

Re: [Dovecot] dovecot/auth killed with signal 6

2012-05-14 Thread Timo Sirainen
On Wed, 2012-05-09 at 20:38 -0400, Edward Burr wrote: May 9 20:27:37 box dovecot: auth: Panic: io_add(0x1) called twice fd=13, callback=0x3016833290 - 0x3016836cd0 Could you do: gdb /usr/libexec/dovecot/auth coredump x 0x3016833290 x 0x3016836cd0 I finally got it working by commenting out

Re: [Dovecot] mixed MBOX and Maildir format ?

2012-05-14 Thread Timo Sirainen
On Wed, 2012-05-09 at 11:19 +0200, Frank Bonnet wrote: And ... ( at last I promise ) would it be possible to convert some IMAP folders during the transfert WITHOUT stopping the production ? I mean , actually all mailboxes are in MBOX format ( INBOX and IMAP folders ) what I would like

Re: [Dovecot] mailbox_check_mismatching_separators

2012-05-14 Thread Timo Sirainen
On Wed, 2012-05-09 at 10:17 -0300, Danilo Acquaviva wrote: I using dovecot with mdbox and in one account i get this error: doveadm(xxx): Panic: file mail-storage.c: line 787 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns-prefix, ns-prefix_len-1) == 0) I guess

Re: [Dovecot] default mail quota when using per user quota (news1204: message 6 of 20)

2012-05-14 Thread Timo Sirainen
On Wed, 2012-05-09 at 10:28 +0300, Nikolaos Milas wrote: May 9 10:01:16 vdev dovecot: auth: Debug: ldap(tester1): user search: base=ou=people, dc=noa, dc=gr scope=onelevel filter=(uid=tester1) fields=roomNumber,uid May 9 10:01:16 vdev dovecot: auth: Debug: ldap(tester1): result:

Re: [Dovecot] doveadm not working

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 17:51 +0200, Christian Rößner wrote: Unfortunately I already tested this (and also once again after your answer). Changed the setting, stopped dovecot and restart it. After that doing doveadm qutoa get -A stalls. What I do not understand is that I can not see any

Re: [Dovecot] Can we know when a user read our email?

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 08:56 -0700, Beto Moreno wrote: I have seen some emails servers that if I send a email to other person I can see if that person have read our emails and with a option to delete the email if the person hasn't read our email. Does dovecot have some like this feature?

Re: [Dovecot] [Plugin dev] First-time-only cache lock failure

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 17:17 +0100, John G wrote: Hi This is a question related to plugin developement on Dovecot 2.1.4. I'm currently implementing a dovecot plugin that retrieves mails from a corporate server through an internal protocol. The plugin is very similar to the pop3c storage

Re: [Dovecot] Can we know when a user read our email?

2012-05-14 Thread Timo Sirainen
On Mon, 2012-05-14 at 18:45 +0200, Reindl Harald wrote: I have seen some emails servers that if I send a email to other person I can see if that person have read our emails and with a option to delete the email if the person hasn't read our email. Does dovecot have some like this

Re: [Dovecot] Log files

2012-05-14 Thread Timo Sirainen
mode = 0620 user = user } } On Mon, May 14, 2012 at 12:08 PM, Timo Sirainen t...@iki.fi wrote: On Thu, 2012-05-10 at 14:43 -0400, Chris Lasater wrote: Hi, I just started using Dovecot and was trying to create separate logs instead of using syslog. Is there a way to get

Re: [Dovecot] ..::MBOX ISSUE::..

2012-05-15 Thread Timo Sirainen
Is there anything else I can do? Regards. Alfonso. On 5/14/12 10:56 AM, Timo Sirainen wrote: On Fri, 2012-05-11 at 08:29 -0500, Alfonso Alejandro Reyes Jimenez wrote: mail_location = mbox:/var/spool/mail/:INBOX=/var/spool/mail/%u This just isn't going to work. You're now specifying that all

[Dovecot] plugin: Don't allow deleting the last instance of a mail

2012-05-15 Thread Timo Sirainen
Before beginning to code it, does anyone have any related ideas that could be useful before starting it? Mainly what I'm intending to do is to write a plugin for mdbox storage that allows users to expunge mails in a specific namespace only if there are other instances for the mail. So

Re: [Dovecot] plugin: Don't allow deleting the last instance of a mail

2012-05-16 Thread Timo Sirainen
On 16.5.2012, at 9.58, Robert Schetterer wrote: Am 15.05.2012 20:57, schrieb Timo Sirainen: Before beginning to code it, does anyone have any related ideas that could be useful before starting it? Mainly what I'm intending to do is to write a plugin for mdbox storage that allows users

Re: [Dovecot] How to make Dovecot verbous

2012-05-16 Thread Timo Sirainen
On 16.5.2012, at 16.40, Frank Walter wrote: I found the logfile problem: it was an error in 10-logging.conf auth_verbose_passwords = yes this gives an error and all the logging settings are not working. Auth process doesn't log anything except the one error at startup, because it dies

Re: [Dovecot] Error in dovecot 2.0.13: Too many levels of symbolic links

2012-05-16 Thread Timo Sirainen
On 17.5.2012, at 0.20, Tom Pawlowski wrote: dovecot: imap(user1): Error: readdir(/u1/user1/Maildir/.AUTO-DELETED-SPAM/new) failed: Too many levels of symbolic links .. Create a new folder using alpine, save anywhere from 1000 to 1 identical emails to the new folder. Change to that

Re: [Dovecot] BEWARE: This list is being harvested for leads

2012-05-17 Thread Timo Sirainen
On 17.5.2012, at 16.46, Charles Marcus wrote: On 2012-05-17 9:38 AM, Bill Cole dovecot-20110...@billmail.scconsult.com wrote: A spammer claiming to be 'Tim Saarela tim.saar...@dovecot.fi' is sending out a pitch for Enterprise Level Support for Dovecot. The address of mine which he hit is

Re: [Dovecot] BEWARE: This list is being harvested for leads

2012-05-17 Thread Timo Sirainen
On 17.5.2012, at 17.25, Giles Coochey wrote: And he could do with re-posting his email, as I don't appear to have it in my archive. The list included only .com addresses, with gmail/yahoo/etc removed. I'm sure Tim will be happy to send you the email if you ask it from him. :)

Re: [Dovecot] High level of pop3 popping causing server to become unresponsive

2012-05-17 Thread Timo Sirainen
On 17.5.2012, at 18.22, Root Kev wrote: We have put Dovecot 2.1.4 on several of our production servers (CentOS, on Dell R710, with 20GB memory, dual CPU Quad-core). We have a single instance of Dovecot running and currently have several instances of Popa3d. When there are significant amount

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On Sat, 2012-05-19 at 13:19 -0400, Joe Beaubien wrote: I have a dovecot 2.1.6 setup with fts_lucene. The lucene indexes get created/updated fine when I do a manual search thru telnet. So you run SEARCH TEXT or SEARCH BODY? However, if I run a webapp that uses the php::imap_search

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On Fri, 2012-05-18 at 23:44 +0200, Patrick Westenberg wrote: right now my index directory is part of the users home directory: mail_home = /var/mail/%d/%n mail_location = mdbox:~/mdbox I want the indexes to be stored in a different location: mail_home = /var/mail/%d/%n mail_location =

Re: [Dovecot] Only method=PLAIN

2012-05-19 Thread Timo Sirainen
On Thu, 2012-05-17 at 22:10 +0100, Tim Smith wrote: Interesting - just so I have this clear in my own head. The password scheme is the way the password is encrypted Yes. but the authentication mechanism is whether the password is sent encrypted as well? Something like that. It's about

Re: [Dovecot] Only method=PLAIN

2012-05-19 Thread Timo Sirainen
define(`ALIAS_FILE', `ldap:-b -v rfc822MailMember -k (objectClass=nisMailAlias)(cn=%0)')dnl dnl correo_MFP - Fin de modificaciones necesarias dnl ** MAILER(smtp)dnl MAILER(procmail)dnl Cwcorreo.mfernandez.es Thank you so much! 2012/5/17 Timo

Re: [Dovecot] Migration between namespaces breaks outlook on mac's

2012-05-19 Thread Timo Sirainen
On Thu, 2012-05-17 at 15:59 +0300, Mark Zealey wrote: We're now migrating customers onto a dovecot-2 platform, switching from Maildir to sdbox (using dsync mirror) changing the namespace at the same time. New namespace configuration looks like (as taken from

Re: [Dovecot] Dovecot usage values differ from actual disk usage

2012-05-19 Thread Timo Sirainen
On Thu, 2012-05-17 at 20:11 +0200, Daniel Parthey wrote: Maybe this is not the original problem, but here is some way to reproduce a similar behaviour. This behavior is intentional. # # Move Email around # # Move Email two times between Trash and

Re: [Dovecot] Public mailboxes

2012-05-19 Thread Timo Sirainen
On Fri, 2012-05-18 at 14:31 +0200, Frank Bonnet wrote: I'm trying to setup a server with public mailboxes only but I cannot succeed. Do you still have specific users? Do you want the users to have subscriptions? Do you need ACLs? If it's simply a fully public server, you wouldn't really need

Re: [Dovecot] Maildir - Need script to delete old unread messages

2012-05-19 Thread Timo Sirainen
On Sat, 2012-05-19 at 11:41 -0700, Marc Perkel wrote: Trying to clean out old undead messages from users to reduce disk space. Need a script that will recurse all the user directories and delete all unread email that is over 90 days old. Anyone have that? doveadm -A expunge mailbox '*'

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On Sat, 2012-05-19 at 20:43 +0200, Patrick Westenberg wrote: Timo Sirainen schrieb: You must not lose indexes with mdbox or you'll lose message flags and mails may also end up going to wrong mailboxes. Yes, have been there but this behaviour is confusing me as I find conflicting

Re: [Dovecot] namespace from snapshots

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) failed: Read-only file system Does the attached patch help? maybe it will be easier to move all dovecot metadata to separate

Re: [Dovecot] Authentication with AD and quick mbox question

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 09:32 +0100, Kaya Saman wrote: I managed to find this on the wiki: http://wiki2.dovecot.org/HowTo/ActiveDirectoryNtlm and followed it - though I don't think it's for Dovecot2 even though it's on the portion of the Wiki for Dovecot v2. lot's of references to

Re: [Dovecot] Very High Load on Dovecot 2 and Errors in mail.err.

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 08:59 +0200, Urban Loesch wrote: The Server was running about 1 year without any problems. 15Min Load was between 0,5 and max 8. No high IOWAIT. CPU Idletime about 98%. .. # iostat -k Linux 3.0.28-vs2.3.2.3-rol-em64t (mailstore4) 16.05.2012 _x86_64_

Re: [Dovecot] ..::MBOX ISSUE::..

2012-05-19 Thread Timo Sirainen
Is there anything else I can do? Regards. Alfonso. On 5/14/12 10:56 AM, Timo Sirainen wrote: On Fri, 2012-05-11 at 08:29 -0500, Alfonso Alejandro Reyes Jimenez wrote: mail_location = mbox:/var/spool/mail/:INBOX=/var/spool/mail/%u This just isn't going to work. You're now

Re: [Dovecot] [PATCH] dovecot-lda with expire plugin segfaults if dict failed

2012-05-19 Thread Timo Sirainen
On Tue, 2012-05-15 at 15:08 +0200, Lazy wrote: Program received signal SIGSEGV, Segmentation fault. 0x7f1975cccdee in expire_mailbox_transaction_commit (t=value optimized out, changes_r=value optimized out) at expire-plugin.c:169 169 } else if (strcmp(value, 0)

Re: [Dovecot] Maildir filename has wrong S value

2012-05-19 Thread Timo Sirainen
On Tue, 2012-05-15 at 12:23 +0200, Wouter de Geus wrote: Hello folks, This morning I tried to open an old archive mail folder using Mutt. However, while fetching headers it aborted. Checking the dovecot log gave me this: @40004fb21996267d37d4 imap(benv): Error: Cached message size

Re: [Dovecot] High level of pop3 popping causing server to become unresponsive

2012-05-19 Thread Timo Sirainen
On Fri, 2012-05-18 at 09:21 -0400, Root Kev wrote: During the last time that the load went up, it became unable to login / su to root for the entire period that dovecot was running, we had to kill dovecot and go back to Popa3d until the mailq was cleared up. We are running CentOS 5.6 server.

Re: [Dovecot] wrong search results with fts_solr

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 16:39 -0400, Joe Beaubien wrote: I am getting some very weird search results with fts_solr. 1) when I do a search for testin I get 0 results. 2) when I do a search for testing i get 44 results. The problem is that I am expecting only 1 result. Solr uses stemming for

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On 19.5.2012, at 23.40, Joe Beaubien wrote: Ok, I enabled rawlog and noticed the code was only sending SEARCH FROM. I modified it to also send a SEARCH TEXT and it triggered the fts index update. However, in my use case, that's not the search that needs to be done. The search needed is

Re: [Dovecot] Public mailboxes

2012-05-19 Thread Timo Sirainen
On 19.5.2012, at 23.40, Frank Bonnet wrote: Le 19/05/2012 20:44, Timo Sirainen a écrit : On Fri, 2012-05-18 at 14:31 +0200, Frank Bonnet wrote: I'm trying to setup a server with public mailboxes only but I cannot succeed. Do you still have specific users? Do you want the users to have

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 1.03, Patrick Westenberg wrote: Timo Sirainen schrieb: But you really don't want any of this with mdbox, not deleting index files or having per-backend index files. What is the director/backend-stuff useful for if per-backend index files is not recommended? As far as I

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 0.12, Joe Beaubien wrote: You can run doveadm index -u user to get new mails indexed. Awesome, this does seem to work. 2 last questions: - Does it update both indexes (dovecot and fts) or only dovecot.index.cache? I ask because I didn't see any index messages in log

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 1.23, Patrick Westenberg wrote: Timo Sirainen schrieb: No. Director is simply about making sure that more than one server won't access the same user's mailbox simultaneously. I'm not recommending per-backend index files to any kind of setups. Perhaps the NFS wiki page

Re: [Dovecot] BEWARE: you might be supporting the lists owner!!

2012-05-19 Thread Timo Sirainen
There haven't been any new points raised in this thread since the first day. There's no point in replying to to this thread anymore.

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 5.15, Joe Beaubien wrote: Is it normal to not get output in the normal log files in this case, or did i miss something? Before looking into it further, what's your doveconf -n output?

Re: [Dovecot] Convert from ISO-8859-1 to UTF-8?

2012-05-20 Thread Timo Sirainen
On 20.5.2012, at 12.33, Bjørn T Johansen wrote: The server I am running Dovecot on is still using locale = ISO-8859-1 but I am thinking it is time to convert to UTF-8... Can I just use convmv to convert all the files in the mailboxes to UTF-8 or is there anything else I need to do? Do I

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-21 Thread Timo Sirainen
On 21.5.2012, at 17.12, Joe Beaubien wrote: I can also add that I had top running while doing a doveadm index on 800 emails; doveadm took about 15 seconds to complete and in top I never saw lucene-indexer (or lucene-worker) appear. If you run doveadm index, the doveadm itself is doing all the

Re: [Dovecot] Failed build with lucene plugin

2012-05-22 Thread Timo Sirainen
On 22.5.2012, at 13.47, Nick Rosier wrote: You need to compile CLucene 2.3.3.4 with Clang. I've also tried with the FreeBSD included compiler but it fails. The recent addition of SOLR-support to the dovecot2 port was made by and at the request of me. I would like to add lucene 2.3.3.4 to

Re: [Dovecot] fts_lucene crashing

2012-05-22 Thread Timo Sirainen
On 22.5.2012, at 22.44, Joe Beaubien wrote: I found this in mail.err. Anyone ever experience this? May 22 14:51:51 mba dovecot: imap(formulaire): Panic: file lucene-wrapper.cc: line 196: unreached Some search key (sent by client) wasn't valid UTF-8. I found one way of how it could happen,

Re: [Dovecot] interesting stats pattern

2012-05-29 Thread Timo Sirainen
On 29.5.2012, at 13.23, Cor Bosman wrote: Hey all, im experimenting with dovecot stats service, and graphing the result. My initial results are kind of interesting. Check out this graph showing connected sessions and users: http://grab.by/dReu How do you get the list? Are you

Re: [Dovecot] per-mailbox message limits

2012-05-29 Thread Timo Sirainen
On Tue, 2012-05-29 at 14:18 +0100, Alan Brown wrote: This is something Timo hacked up for me a few years ago and I realised should be on the list in case anyone else wants them. The following patches will limit maildir folders to 4000 messages on Dovecot 2.0.* and 2.1.* The Specfile

Re: [Dovecot] per-mailbox message limits

2012-05-29 Thread Timo Sirainen
On Tue, 2012-05-29 at 15:26 +0200, mail...@securitylabs.it wrote: The following patches will limit maildir folders to 4000 messages on Dovecot 2.0.* and 2.1.* Hi, sorry for the dumb question, but isn't there already in Dovecot a way to limit the number of messages? Something like:

<    3   4   5   6   7   8   9   10   11   12   >