Re: [Dovecot] lazy_expunge questions

2012-04-11 Thread Timo Sirainen
On 10.4.2012, at 23.19, James Devine wrote: I'm messing around with lazy expunge and I just had a couple of questions. If I delete messages or folders with messages, I see them being moved to the expunge namespace, but if I delete an empty folder, all traces of it seem to disappear. Is

[Dovecot] Bug tracker

2012-04-11 Thread Timo Sirainen
I started thinking that perhaps I should move my TODO list to a bug tracker. But because of reasons I've explained a few times before, I don't want a full blown public bug tracking system. The requirements for it are: * I am the only person who can add new bugs. Everyone else reports

Re: [Dovecot] Bug tracker

2012-04-11 Thread Timo Sirainen
Probably the ugliest/user-unfriendliest bug tracker UI that I've ever seen :) On 11.4.2012, at 9.43, Martin Rabl wrote: What about Mantis? --- Martin Rabl Am 11.04.2012 um 08:26 schrieb Timo Sirainen t...@iki.fi: I started thinking that perhaps I should move my TODO list to a bug

Re: [Dovecot] Bug tracker

2012-04-11 Thread Timo Sirainen
On 11.4.2012, at 9.44, Jan-Frode Myklebust wrote: On Wed, Apr 11, 2012 at 09:26:20AM +0300, Timo Sirainen wrote: So, any suggestions for what software could do these things? I think Request Tracker has those features, but it's not really the nicest/prettiest thing. I didn't see open

Re: [Dovecot] Bug tracker

2012-04-11 Thread Timo Sirainen
On 11.4.2012, at 9.49, Antoine Nguyen wrote: Maybe Redmine ? (http://www.redmine.org/ I don't think it either supports: I would have the option of adding a comment that doesn't go to the mailing list But I'm beginning to think that no BTS supports that in the way I want. And it's not a

Re: [Dovecot] lazy_expunge questions

2012-04-11 Thread Timo Sirainen
On 11.4.2012, at 18.34, James Devine wrote: It looks like 3 namespace support in the lazy expunge plugin was removed in 2.1+ ? Yeah, so it seems. Updated the wiki2.

Re: [Dovecot] ldap idle connection timeout in DoveCot 1.0.13?

2012-04-11 Thread Timo Sirainen
On 11.4.2012, at 17.49, Zhou, Yan wrote: We are using DoveCot 1.0.13, it connects to LDAP server for authentication. It seems that DoveCot keeps the idle LDAP connection open. Yes. Our firewall is terminating these connections after some time of idle activity (2 hours), then, we run into

Re: [Dovecot] Problems with Apple Mail and attachments

2012-04-11 Thread Timo Sirainen
On 11.4.2012, at 17.13, Helga Mayer wrote: has anyone experiences with the Apple mail client, to be precise : Mail 5.2? When I copy a message with an attachment from the inbox to a different folder using 'move' or 'copy' , Apple Mail does not properly display the attachment in the new

Re: [Dovecot] SSL Certificate Anomalies with latest code changes

2012-04-12 Thread Timo Sirainen
On 12.4.2012, at 10.11, Thomas Leuxner wrote: Some change between bf5ae73e9475 and 584bd77c38fd seems to have broken something in the SSL Handshake. A previously valid server certificate is deemed invalid by various mail clients. http://hg.dovecot.org/dovecot-2.1/rev/bf5ae73e9475 works fine

Re: [Dovecot] SSL Certificate Anomalies with latest code changes

2012-04-12 Thread Timo Sirainen
On 12.4.2012, at 10.43, Timo Sirainen wrote: On 12.4.2012, at 10.11, Thomas Leuxner wrote: Some change between bf5ae73e9475 and 584bd77c38fd seems to have broken something in the SSL Handshake. A previously valid server certificate is deemed invalid by various mail clients. http

Re: [Dovecot] SSL Certificate Anomalies with latest code changes

2012-04-12 Thread Timo Sirainen
On 12.4.2012, at 11.16, Thomas Leuxner wrote: On Thu, Apr 12, 2012 at 10:43:22AM +0300, Timo Sirainen wrote: What kind of a certificate do you have? You have an intermediary cert that exists only in ssl_ca file? I couldn't reproduce this with a test. But anyway, reverted for now: http

Re: [Dovecot] SSL Certificate Anomalies with latest code changes

2012-04-12 Thread Timo Sirainen
On 12.4.2012, at 11.33, Thomas Leuxner wrote: On Thu, Apr 12, 2012 at 11:17:50AM +0300, Timo Sirainen wrote: But do you keep your intermediate cert in ssl_ca file or ssl_cert file? Separate. Root and intermediate are in ssl_ca: The documentation tells to put the intermediary to ssl_cert

Re: [Dovecot] Better to use a single large storage server or multiple smaller for mdbox?

2012-04-12 Thread Timo Sirainen
On 12.4.2012, at 13.58, Ed W wrote: The claim by ZFS/BTRFS authors and others is that data silently bit rots on it's own. The claim is therefore that you can have a raid1 pair where neither drive reports a hardware failure, but each gives you different data? That's one reason why I planned

Re: [Dovecot] doveadm mailbox status destroys compressed messages without W= attribute

2012-04-12 Thread Timo Sirainen
On 12.4.2012, at 14.47, Artur Zaprzała wrote: I have enabled zlib plugin for imap, pop3, lda and lmtp. But how to enable it for doveadm? Just set it globally: mail_plugins = zlib

Re: [Dovecot] Better to use a single large storage server or multiple smaller for mdbox?

2012-04-13 Thread Timo Sirainen
On 12.4.2012, at 15.10, Ed W wrote: On 12/04/2012 12:09, Timo Sirainen wrote: On 12.4.2012, at 13.58, Ed W wrote: The claim by ZFS/BTRFS authors and others is that data silently bit rots on it's own. The claim is therefore that you can have a raid1 pair where neither drive reports

Re: [Dovecot] Better to use a single large storage server or multiple smaller for mdbox?

2012-04-13 Thread Timo Sirainen
On 13.4.2012, at 15.17, Ed W wrote: On 13/04/2012 12:51, Timo Sirainen wrote: - Use the checksums to assist with replication speed/efficiency (dsync or custom imap commands) It would be of some use with dbox index rebuilding. I don't think it would help with dsync. .. - File RFCs for new

Re: [Dovecot] POP3 Dovecot Auth CPU usage 75%+

2012-04-13 Thread Timo Sirainen
On 13.4.2012, at 17.32, Root Kev wrote: 643 dovecot 20 0 3096 1616 1208 S 50.7 0.2 0:01.76 auth Well, I can't think of any good reason for this. Try strace -p 643 (or whatever pid of the process eating CPU) for a few seconds and send its output? Also maybe get a couple of gdb

Re: [Dovecot] sieve pipe gpg archive mails

2012-04-13 Thread Timo Sirainen
On 13.4.2012, at 20.51, Robert Schetterer wrote: would it be possible to use http://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Pipe to gpg sign archived mail, incoming via lmtp the intention is to store all archived mail gpg signed to notice some changes the mails at possible restore

[Dovecot] Statistics scripts

2012-04-18 Thread Timo Sirainen
I wrote two scripts, which you can use with the stats plugin enabled to get a better doveadm stats top than it currently is: http://dovecot.org/tools/stats-top.pl http://dovecot.org/tools/stats.pl

Re: [Dovecot] trash plugin

2012-04-18 Thread Timo Sirainen
On 18.4.2012, at 11.22, Cor Bosman wrote: The trash plugin docs say: Normally if a message can't be saved/copied because it would bring user over quota, the save/copy fails with Quota exceeded error. The trash plugin can be used to avoid such situations by making Dovecot automatically

Re: [Dovecot] returning a namespace location from userdb?

2012-04-18 Thread Timo Sirainen
On 18.4.2012, at 11.53, Cor Bosman wrote: hey all, is it possible to return the location of namespace from the userdb lookup? Yes. But im currently trying to implement a second namespace, and Im having trouble returning a mailbox location for this specific namespace from our userdb. Is

Re: [Dovecot] mbox folders on-disc layout

2012-04-18 Thread Timo Sirainen
On 18.4.2012, at 14.36, John Robinson wrote: I'd like to change the on-disk layout for my mboxes from being ~/mail/foo/bar to ~/mail/foo.bar so that I can have folders containing both messages and subfolders, without having subfolders beginning with . and then having to do all the other

Re: [Dovecot] 487 imap-login processes - is this ok

2012-04-18 Thread Timo Sirainen
On 17.4.2012, at 17.21, Götz Reinicke wrote: recently I checked our mailserver for some more tuning and optimizing and noticed, that currently I do have 487 imap-login processes and I'm asking myself if that's o.k. We do have about 1.000 user in total and not everybody is currently logged

Re: [Dovecot] Hints for a NFS-Setup

2012-04-18 Thread Timo Sirainen
On 18.4.2012, at 1.29, Kelsey Cummings wrote: On 03/30/12 07:35, Timo Sirainen wrote: IP stickiness isn't enough if user uses more than one IMAP client, which is pretty common nowadays. And doesn't help at all with LDA. Timo, having the LDA flow through the director with maildir and NFS

Re: [Dovecot] Re-indexing of fts-solr not working

2012-04-18 Thread Timo Sirainen
On 17.4.2012, at 21.36, Joe Beaubien wrote: I am currently testing a 2.1 dovecot setup with fts-solr. Search speed is simply amazing. I decided to try to delete and rebuild the solr indexes, but i can't seem to rebuild them thru dovecot. With Maildir you could just delete dovecot.index*

Re: [Dovecot] migration dove 2.0 2.1 shared namespace acl broken

2012-04-18 Thread Timo Sirainen
On 17.4.2012, at 17.40, Robert Schetterer wrote: doveadm acl debug shows on both versions Fatal: ACL shared dict iteration failed Doesn't it show any other error message before this? Either to terminal or to error log? What's your doveconf -n?

Re: [Dovecot] LMTP auth problem

2012-04-18 Thread Timo Sirainen
On 14.4.2012, at 20.21, Cor Bosman wrote: My config was the same as yours. That didnt work for me. But if I add user = dovecot mode = 0666 Hmm. Perhaps I should make this the default. That does work. Of course, the difference between 777 and 666 is minimal. I think 666 is handled as a

Re: [Dovecot] namespace hierarchy

2012-04-18 Thread Timo Sirainen
On 18.4.2012, at 20.00, Andreas Helmcke wrote: If you have any subscriptions=no namespaces, you need a parent namespace that has subscriptions=yes. You could have e.g.: namespace { prefix = INBOX/ list = no inbox = yes } namespace { prefix = list = no hidden = yes alias_for

Re: [Dovecot] Re-indexing of fts-solr not working

2012-04-18 Thread Timo Sirainen
Sure. Everything in hg goes to the next release. On 18.4.2012, at 22.41, Joe Beaubien wrote: Awesome, thanks. Will this appear in the 2.1.5 release? On Wed, Apr 18, 2012 at 12:57 PM, Timo Sirainen t...@iki.fi wrote: On 17.4.2012, at 21.36, Joe Beaubien wrote: I am currently

Re: [Dovecot] migrate 15K users to new domain name

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 17.19, Jan-Frode Myklebust wrote: mail_home = /srv/mailstore/%256LRHu/%Ld/%Ln If I could figure out what the %256LRHu hash is, mv would probably be a very good solution.. With v2.1.4 you could do something like: doveadm -c dummy.conf user -m user@domain where

Re: [Dovecot] doveadm delete folders ?

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 15.09, Robert Schetterer wrote: Hi , is there a feature like doveadm expunge savedbefore ... for imap folder delete ? Here: http://hg.dovecot.org/dovecot-2.1/rev/2d8bafd11569 http://hg.dovecot.org/dovecot-2.1/rev/782570f644f7

Re: [Dovecot] multiple Return-Path headers added using lmtp director

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 16.37, Cor Bosman wrote: Emails arrive with 2 Return-Paths when using lmtp director. Is this something configurable in the director or is this a bug? Fixed: http://hg.dovecot.org/dovecot-2.1/rev/85b3975c9008

Re: [Dovecot] migration dove 2.0 2.1 shared namespace acl broken / shared/%%n/ works

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 17.45, Robert Schetterer wrote: Hi Timo, i did some more tests in shared namespace prefix shared/%%u/ is not working shared/%%n/ is working i cant use that cause of mutiple domains naming convention ,users are u...@domain.de etc I can't really think of why that

Re: [Dovecot] alias_for

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 2.11, Joseph Tam wrote: I noticed the addition of a new namespace configuration alias_for. What pracical difference is adding this over and above making namespace aliases hidden and disabling list, as in older versions of dovecot configurations? It's used by doveadm and

Re: [Dovecot] Custom LDAP filter for doveadm-mailbox?

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 18.30, Zhang Huangbin wrote: With Dovecot-2.0.16, 'doveadm mailbox list -A' will perform LDAP search with filter (objectClass=posixAccount), and get value of attribute 'uid' as mail user. Is it possible to custom the ldap filter and returned attribute name? For example:

Re: [Dovecot] error when using dovecot-lda as non root (vmail) user

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 17.56, Andreas Helmcke wrote: namespace inbox { inbox = yes location = maildir:/home/mail/user/%u prefix = INBOX/ separator = / type = private } Move the location from the above namespace to global: mail_location = maildir:/home/mail/user/%u Although it probably

Re: [Dovecot] array code issue ?

2012-04-20 Thread Timo Sirainen
On 20.4.2012, at 17.27, Tim Ruehsen wrote: I just took a look into the dovecot 2.1 sources and just saw a possible issue in array.h. This code snippet as an example: #static inline void * #array_get_modifiable_i(struct array *array, unsigned int *count_r) #{ # *count_r =

Re: [Dovecot] default mail quota when using per user quota

2012-04-20 Thread Timo Sirainen
On 20.4.2012, at 14.11, Andreas Helmcke wrote: using dovecot 2.1 and per user mail quota via ldap is there a way to have a default quota which gets used, if the quota field in ldap is not set? By not set you mean it doesn't exist at all, or it exists but is empty? I tried with: plugin {

Re: [Dovecot] mbox folders on-disc layout

2012-04-20 Thread Timo Sirainen
On 20.4.2012, at 12.01, John Robinson wrote: Yes, I read all that, and thought all the options were pretty ugly - and the comment that it's a trick configuration would seem to suggest that the original author thought so to. And I think Maildir++ is pretty ugly too. If I wanted to try

Re: [Dovecot] dsync: convert only mbox in /var/mail to maildir?

2012-04-20 Thread Timo Sirainen
On 20.4.2012, at 22.26, Jeff Simmons wrote: I'm migrating an old UW pop server to a new Dovecot server. The old server did not allow mail to be stored on the server, so only mbox files exist in /var/mail, with nothing in /home/$user. I'd like to copy the /var/mail directory over to the

Re: [Dovecot] quota not being calculated

2012-04-20 Thread Timo Sirainen
On 20.4.2012, at 19.05, Cor Bosman wrote: It looks like my quota isnt being calculated properly after I started setting quota to a specific folder. The quota in that folder is always starting out at 0, and only new email is being added to the quota. If I remove the maildirsize file, and

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

2012-04-20 Thread Timo Sirainen
On 21.4.2012, at 0.47, Andreas Helmcke wrote: If dcMailQuota isn't returned, then the global quota_rule is used. If it is returned as empty, I guess it gets treated as unlimited quota. There's currently no easy way avoid this (a difficult way could be e.g. post-login scripting, but that

Re: [Dovecot] quota not being calculated

2012-04-21 Thread Timo Sirainen
On 21.4.2012, at 11.01, Cor Bosman wrote: prefix = Spam/ .. quota2 = dict:Spam Quota::ns=spam:file:%h/spam-quota .. Apr 21 10:00:11 lmtp1 dovecot: imap(cor): Error: quota: Unknown namespace: spam Oh. It would make more sense to have ns=spam, but unfortunately I hadn't thought of

Re: [Dovecot] quota not being calculated

2012-04-23 Thread Timo Sirainen
On 21.4.2012, at 13.42, Cor Bosman wrote: On Apr 21, 2012, at 12:32 PM, Timo Sirainen wrote: On 21.4.2012, at 11.01, Cor Bosman wrote: prefix = Spam/ . quota2 = dict:Spam Quota::ns=spam:file:%h/spam-quota . Apr 21 10:00:11 lmtp1 dovecot: imap(cor): Error: quota: Unknown namespace

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

2012-04-23 Thread Timo Sirainen
On 21.4.2012, at 13.53, Nikolaos Milas wrote: On 21/4/2012 12:54 πμ, Timo Sirainen wrote: Hm. Or maybe I broke it in v2.1 when I changed this code. I'll also check later. Just tried, it works as expected. I'm afraid that's possible. The same configuration in 2.0.13 produces (doveadm

Re: [Dovecot] Error in logs indicating broken files

2012-04-23 Thread Timo Sirainen
On 21.4.2012, at 6.32, Joseph Tam wrote: Error: Corrupted index cache file/home/xx/mail/.imap/sent-mail/dovecot.index.cache: Broken virtual size for mail UID 67: 1 Time(s) Error: FETCH [] for mailbox ~/mail/sent-mail UID 67 got too little data: 6203 vs 7478: 1 Time(s) This is just

Re: [Dovecot] 2.1.3 Corrupted squat uidlist

2012-04-23 Thread Timo Sirainen
So the doveadm search itself succeeds without errors, but if you immediately do another doveadm search it fails? Or do you need to do something else also in the middle? I couldn't reproduce this with a few tests. On 20.4.2012, at 10.40, Henrik Larsson wrote: This problem is still showing up

Re: [Dovecot] error when using dovecot-lda as non root (vmail) user

2012-04-23 Thread Timo Sirainen
On 19.4.2012, at 19.09, Andreas Helmcke wrote: Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: Namespace dummy: type=private, prefix=, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes location=maildir:/home/mail/user/ahelmcke/public/ Here's the dummy namespace with prefix=.

Re: [Dovecot] migration dove 2.0 2.1 shared namespace acl broken / shared/%%n/ works / solved by remove listescape

2012-04-23 Thread Timo Sirainen
On 19.4.2012, at 23.27, Robert Schetterer wrote: prefix = shared/%%u/ simply dont works i have reverted back to exact namespace config of the 2.0.20 server, same result, so something broken in 2.1 Hi Timo problem solved by removing listescape plugin the acl paths did / instead of dot

Re: [Dovecot] imapc / namespace question

2012-04-23 Thread Timo Sirainen
On 13.4.2012, at 23.41, René Neumann wrote: I've got two questions regarding imapc and namespaces: 1) Is there a way of stating, that I only want part of the hierarchy on the end of an imapc connection to be available here? My problem: hg has now imapc_list_prefix. 2) Private namespaces

Re: [Dovecot] French characters from 2.0.x to 2.1.3

2012-04-23 Thread Timo Sirainen
On 13.4.2012, at 18.01, Frank Bonnet wrote: Maybe it's a coincidence but it seems since I upgrade from 2.0.18 to 2.1.3 that some French characters ( a with accents by example ) are not well displayed anymore using thunderbird and are replaced by a ? character Dovecot doesn't send decoded

Re: [Dovecot] Bug in HIGHESTMODSEQ when MODSEQ tracking is not enabled for version 2.0.18.

2012-04-23 Thread Timo Sirainen
On 10.4.2012, at 23.50, Glenn Wurster wrote: Yes, modseqs aren't tracked in a mailbox until client expresses an interest for them. It would be a waste of disk space to save them since 99% of users don't need them. Makes sense, our mail client gets caught in the middle though, because it

Re: [Dovecot] error when using dovecot-lda as non root (vmail) user

2012-04-23 Thread Timo Sirainen
On 23.4.2012, at 14.40, Andreas Helmcke wrote: Am 23.04.2012 12:59, schrieb Timo Sirainen: On 19.4.2012, at 19.09, Andreas Helmcke wrote: Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes

Re: [Dovecot] error when using dovecot-lda as non root (vmail) user

2012-04-23 Thread Timo Sirainen
Oh, right: On 23.4.2012, at 14.40, Andreas Helmcke wrote: namespace Allgemeines { Lowercase it: namespace allgemeines { This is a bit annoying bug, but I'm not entirely sure how to fix it properly.

Re: [Dovecot] 2.1.3 Corrupted squat uidlist

2012-04-23 Thread Timo Sirainen
On 23.4.2012, at 14.56, Henrik Larsson wrote: So the doveadm search itself succeeds without errors, but if you immediately do another doveadm search it fails? Or do you need to do something else also in the middle? I couldn't reproduce this with a few tests. Is there any way to produce

Re: [Dovecot] questions about SPECIAL-USE and virtual

2012-04-23 Thread Timo Sirainen
On 23.4.2012, at 15.27, l.chelchow...@eurocar.pl wrote: I have some questions about Special-Use and virtual namespace: I want to create a virtual namespace with mailboxes: Sent, Unread, Flagged, All. 1. Is it enough to put in the config file: mailbox virtual/Sent { auto = subscribe

Re: [Dovecot] questions about SPECIAL-USE and virtual

2012-04-23 Thread Timo Sirainen
On 23.4.2012, at 15.47, Charles Marcus wrote: On 2012-04-23 8:33 AM, Timo Sirainen t...@iki.fi wrote: The auto=subscribe can automatically subscribe the virtual mailbox, but it can't automatically create it, because new virtual mailboxes can't be created by IMAP clients. Hmmm

[Dovecot] v2.1.5 released

2012-04-23 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.5.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.5.tar.gz.sig A few announcements first: I'm now going to start being more strict about not answering Dovecot questions sent to me privately (especially support requests, but also bug reports,

Re: [Dovecot] dsync on large mailbox fails

2012-04-24 Thread Timo Sirainen
On 24.4.2012, at 6.38, Jeff Kletsky wrote: 25934 jeff 1 1030 135M 102M CPU22 128:47 100.00% doveadm Looks like it could be in an infinite loop. To find out where: 1) strace for a few seconds: strace -tt -p 25934 2log 2) get gdb backtrace a couple of times (2-5 should be

Re: [Dovecot] dsync on large mailbox fails

2012-04-24 Thread Timo Sirainen
On 24.4.2012, at 20.05, Jeff Kletsky wrote: On 4/24/12 3:26 AM, Timo Sirainen wrote: On 24.4.2012, at 6.38, Jeff Kletsky wrote: 25934 jeff 1 1030 135M 102M CPU22 128:47 100.00% doveadm Looks like it could be in an infinite loop. To find out where: http

Re: [Dovecot] trash plugin bug?

2012-04-24 Thread Timo Sirainen
On 23.4.2012, at 23.40, Cor Bosman wrote: Hey all, has anyone ever tried turning on the trash plugin when the directory is already over quota? I see some messages being deleted, but it seems it just deletes enough to fit the new email, not enough to go below quota. Well, normally you

Re: [Dovecot] doveadm delete folders ? / unsubscribe ?

2012-04-24 Thread Timo Sirainen
On 24.4.2012, at 10.50, Robert Schetterer wrote: doveadm expunge -d -u *@domain.example mailbox exampelfolder\* savedbefore 10d works like charm, but the folders do not get unsubscribed any chance to have i.e another add parameter ,or do it auto cause empty and deleted folders should not

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 9.49, Robert Schetterer wrote: #when saving to Trash mailbox the user gets additional 50MB Trash:storage=+50240 AS quota_rule2, \ #when saving to Sent mailbox the user gets additional 50MB Sent:storage=+50240 AS quota_rule3, \ #when saving to Drafts mailbox the user gets

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 9.17, Kris wrote: but then this happens when i attempt to send mail and this means the user gets rejected because dovecot cant find the user id in the db without the correct string (i.e. user@domain): localhost dovecot: auth: Debug: sql(admin,xx.xx.xx.xx): query: SELECT id

Re: [Dovecot] How to remove duplicate GUID messages from storage?

2012-04-25 Thread Timo Sirainen
On 21.4.2012, at 23.29, Daniel Parthey wrote: The following command doveadm -v force-resync -u usern...@example.org INBOX outputs lots of messages like this one, with different GUID doveadm(usern...@example.org): Error: mdbox /mail/dovecot/example.org/username/mail/storage: Duplicate GUID

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 16.29, Robert Schetterer wrote: master: service(lmtp): child 31952 killed with signal 11 (core not dumped) Can you get a gdb backtrace? Might be a bit difficult to get a core dump from lmtp, but you should be able to attach gdb into it: service lmtp { process_min_avail = 1

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.03, Robert Schetterer wrote: Program received signal SIGSEGV, Segmentation fault. smtp_client_open (set=0x252b0b0, destination=0x254e410 ncitest...@onmotive.de, return_path=0x24e4148 r...@mail02.mailspooler.com, file_r=0x7fff2040a748) at smtp-client.c:146 146

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.16, Robert Schetterer wrote: Am 25.04.2012 16:11, schrieb Timo Sirainen: p *set hope doing it right (gdb) p *set $1 = {postmaster_address = 0xaa33d0 P6\252, hostname = 0x0, submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 H\211\\$\360H\211l$\370H\203\354\030

Re: [Dovecot] stats + fts squat plugins, indexer-worker error on message indexing

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.20, David Warden wrote: Apr 25 09:56:26 wardentest3 dovecot: service=indexer-worker user=warden rip= Error: open(/proc/self/io) failed: Permission .. Based on http://wiki2.dovecot.org/Services#indexer-worker it seems like this is because the indexer-worker process is

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 18.52, Kris Weston wrote: On 25/04/12 11:48, Timo Sirainen wrote: On 25.4.2012, at 9.17, Kris wrote: but then this happens when i attempt to send mail and this means the user gets rejected because dovecot cant find the user id in the db without the correct string (i.e

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 21.28, Kris Weston wrote: but then this happens when i attempt to send mail and this means the user gets rejected because dovecot cant find the user id in the db without the correct string (i.e. user@domain): localhost dovecot: auth: Debug: sql(admin,xx.xx.xx.xx): query:

Re: [Dovecot] stats + fts squat plugins, indexer-worker error on message indexing

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 21.30, David Warden wrote: Apr 25 09:56:26 wardentest3 dovecot: service=indexer-worker user=warden rip= Error: open(/proc/self/io) failed: Permission Does the attached patch fix it? The error is still logged, but is that intentional on your part? It looks like the

Re: [Dovecot] 2.1.5 problem with mail_location

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 20.56, postmaster wrote: I've been advised to set : mail_location = maildir:~/ as the home directory is found through a sql request. this has been working perfectly up to and including 2.1.4 from 2.1.5 however this setting gives cause to a problem : instead of looking

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 11.59, Gerhard Wiesinger wrote: Hello Timo, Dovecot 2.1.5 seems to be broken. After upgrade from 2.1.3 + patch http://hg.dovecot.org/dovecot-2.1/rev/86e6dc46a80e I only see Inbox and Trash folder. Reverting = OK. Same config as before and disucssed per private E-mail

Re: [Dovecot] Permission problems when trying to create new folders with ACL plugin

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 14.00, Markus Petri wrote: I have the a problem with shared folders and the ACL plugin. The user markus has full access to Shared/shared-user/Data: 3 GETACL Shared/shared-user/Data * ACL Shared/shared-user/Data markus akxeilprwtscd 3 OK Getacl completed. but creating a

Re: [Dovecot] acls not copied when creating subfolder of private INBOX

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 17.09, Andreas Helmcke wrote: Using brand new dovecot 2.1.5 I still have a problem with the inheritance of acls. Maybe http://hg.dovecot.org/dovecot-2.1/rev/e8b80e0767ac fixes this as well?

Re: [Dovecot] Reading Mutt mboxes from Thunderbird

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 19.07, Leonardo M. Ramé wrote: Hi, I'm a user of Mutt, and before moving to Thunderbird I'm trying to share mboxes between them. To do this, I installed Dovecot to create an IMAP server in my local machine, to serve mutt mboxes to be read by Thunderbird. So far, I can read

Re: [Dovecot] dovecot LDA error

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 20.41, Hadi Salem wrote: Apr 24 20:25:46 lda(ja...@example.com): Fatal: setgid(5000(vmail) from userdb lo okup) failed with euid=8(mail), gid=12(mail), egid=12(mail): Operation not permi

Re: [Dovecot] dovecot-lda error

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.52, Hadi Salem wrote: i tried using multiple uids as mention in wiki2.dovecot.org/LDA bye setting up setuid-root for dovecot-lda but im getting on-there error from sendmail :- Apr 25 17:30:41 host1 sendmail[31024]: q3PEUen2031022: to=ja...@example.com, delay=00:00:00,

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Timo Sirainen
On 26.4.2012, at 0.26, Ralf Hildebrandt wrote: 2.1.5 doesn't seem to build with pigeonhole-sieve (or it's pigeonhole-sieve itself?): Builds against Pigeonhole 0.3.0 tarball at least.

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Timo Sirainen
On 26.4.2012, at 0.26, Ralf Hildebrandt wrote: * Timo Sirainen t...@iki.fi: 2.1.5 doesn't seem to build with pigeonhole-sieve (or it's pigeonhole-sieve itself?): ../../src/lib-sieve/.libs/libdovecot-sieve.so: error: undefined reference to 'sieve_file_script' ../../src/lib-sieve/.libs

Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread Timo Sirainen
On 26.4.2012, at 18.32, interfaSys sàrl wrote: The current version of LDA can crash (seg fault 11) under certain circumstances. The current means what exactly? (Stephan's autobuilt .debs?)

[Dovecot] Session IDs

2012-04-28 Thread Timo Sirainen
v2.1.2 added support for session IDs, which is a 9 year unique identifier for that specific IMAP/POP3 connection. Initially I thought it would only be useful for tracking connections going through Dovecot proxies to backends (the session ID is forwarded), but then I thought it could be useful

Re: [Dovecot] Sieve doesn't find user scripts

2012-04-30 Thread Timo Sirainen
On 30.4.2012, at 17.43, Jochen Spieker wrote: deliver(jrspie...@well-adjusted.de): Info: auth input: userdb_home=/srv/mail/home/well-adjusted.de/jrspieker It should say home here, not userdb_home.

[Dovecot] Shared INBOX change in v2.1.6?

2012-04-30 Thread Timo Sirainen
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): * LIST (\HasChildren) / shared/tss2 * LIST

Re: [Dovecot] mdbox packing

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 12:43 -0700, Daniel L. Miller wrote: Is there a way to manually force an mdbox storage to be rebuilt into new files? Particularly files of the maximum size? You could do it with dsync.

Re: [Dovecot] Single Instance Storage management

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 12:42 -0700, Daniel L. Miller wrote: Was there a doveadm command that checks the SIS files and removes any not referenced? Will the doveadm purge -A catch that? Nope.

Re: [Dovecot] question dovecot Inheritance global acl vs userfolder acl

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 20:55 +0200, Robert Schetterer wrote: Hi Timo my tests resulted in inheritance is given if a userfolder has set some acl to its new created subfolder , which is nice if some userfolder has its acl from global acl there is no inheritance to its new created subfolders,

Re: [Dovecot] Dovecot dsync mail replication issues

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 12:25 -0400, Michescu Andrei wrote: tornado Maildir # doveadm sync -u lyn remote:r...@dustbowl.reub.net dsync-local(lyn): Error: Can't rename mailbox INBOX_7a86a62d465a974fb92f3b258734 to INBOX: Target mailbox already exists The setup will run fine as long as you

Re: [Dovecot] restoring mails and directories

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 10:59 +0200, oni-n...@gmx.net wrote: Good day! is there an easy way to restore e.g. deleted mails and/or mail directories? let me specify: I'm running dovecot 1.2.9 on a current ubuntu lts. It is set to Maildir and I backup the folder with the users maildata nightly

Re: [Dovecot] Log messages

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 10:38 +0930, Stephen Davies wrote: I asked about log synch error back in March and have (repeatedly) deleted all .imap files but the errors continue. .. Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=929952 for

Re: [Dovecot] lmtp proxy timeout while waiting for reply to DATA reply

2012-04-30 Thread Timo Sirainen
On Sat, 2012-04-28 at 13:00 +0200, Daniel Parthey wrote: we are experiencing similar sporadic data timeout issues with dovecot 2.0.20 as in http://dovecot.org/pipermail/dovecot/2011-June/059807.html at least once a week. Some mails get temporarily deferred in the postfix queue since dovecot

Re: [Dovecot] [PATCH] Dovecot 2.1 compiling fix for AIX

2012-04-30 Thread Timo Sirainen
Committed: http://dovecot.org/pipermail/dovecot/2011-June/059987.html On Fri, 2012-04-27 at 16:49 +0900, SATOH Fumiyasu wrote: Revised patch. Sorry. At Fri, 27 Apr 2012 16:20:28 +0900, SATOH Fumiyasu wrote: I'm trying to build Dovecot 2.1.5 on AIX 6.1 and got the following build error:

Re: [Dovecot] 2.1.5: Panic: file mailbox-list-fs.c: line 156 (fs_list_get_path): assertion failed: (mailbox_list_is_valid_pattern(_list, name))

2012-04-30 Thread Timo Sirainen
On Fri, 2012-04-27 at 16:34 +1000, Nick Urbanik wrote: I upgraded to 2.1.5, and we have the same assertion failure, on the same mailbox: Apr 27 16:02:03 imap(nu-imaptest00...@example.com): Panic: file mailbox-list-fs.c: line 156 (fs_list_get_path): assertion failed:

Re: [Dovecot] SETANNOTATION for Dovecot

2012-04-30 Thread Timo Sirainen
On Sat, 2012-04-28 at 18:09 +0200, Dieter Knopf wrote: i'm using kmail2 and for Folder Settings the SETANNOATION command is needed. Is there any way to add this command to Dovecot? I already found a dovecot-metadata-plugin That might do it, but it's not fully finished yet. but there is

Re: [Dovecot] dovecot, ldap and multiple auth_bind_userdn

2012-05-01 Thread Timo Sirainen
On 1.5.2012, at 11.33, Cédric Jeanneret wrote: Unfortunately, I cannot manage to tell him hey guy, uses those two branches: uid=%u,ou=user,dc=org and uid=%u,ou=external,dc=org Is there a special way to do that ? Is it even possible ? I cannot modify the ldap tree, so this option is out,

Re: [Dovecot] mdbox corruption

2012-05-02 Thread Timo Sirainen
On 2.5.2012, at 20.27, Daniel L. Miller wrote: I have isolated the corruption in a mailbox to 4 mdbox files. Two of these (smaller) files cause the force-resync to report a breakage and save the file as m.XX.broken. The other two (larger) files cause a crash. Is there a way I can fix

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

2012-05-04 Thread Timo Sirainen
On 4.5.2012, at 17.51, Agnello George wrote: cat /etc/dovecot/passwd agnello:123456 i also added in dovecot passdb { driver = passwd-file args = /etc/dovecot/passwd} But still its gives me a relay access denied . The default password scheme is CRYPT, but you apparently want

Re: [Dovecot] Dovecot for POP3S proxying

2012-05-04 Thread Timo Sirainen
On 4.5.2012, at 9.33, Gilles Albusac wrote: Dovecot is installed but actually I just use auth module (for postfix authentication). In your dovecot.conf example, I don't see the proxy command ? The proxying is enabled by having the passdb lookup return a proxy extra field. What passdb are

Re: [Dovecot] doveadm mailbox: rc=0 on error

2012-05-04 Thread Timo Sirainen
On 4.5.2012, at 12.43, Andreas Schulze wrote: I use doveadm mailbox mutf7 -7 $folder to convert imap foldernames to UTF-8. If $foldername is not mUTF-7 encoded, doveadm returns doveadm(root): Error: Mailbox name not valid mUTF-7: $folder This errormessage is printed on stderr but the

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