Re: [Dovecot] Pigeonhole feature request: automatically copy sieve_global_path (default script) to user's sieve_dir

2010-10-14 Thread Ed W
On 13/10/2010 08:43, Stephan Bosch wrote: Op 12-10-2010 5:47, Jerrale G schreef: We have used the great managesieve you have merged together, with sieve, to create pigeonhole. However, when a user creates a custom script through a GUI of ours, the default, as we expected, would be ignored.

Re: [Dovecot] Pigeonhole feature request: automatically copy sieve_global_path (default script) to user's sieve_dir

2010-10-14 Thread Tom Hendrikx
On 14/10/10 10:32, Ed W wrote: On 13/10/2010 08:43, Stephan Bosch wrote: Op 12-10-2010 5:47, Jerrale G schreef: We have used the great managesieve you have merged together, with sieve, to create pigeonhole. However, when a user creates a custom script through a GUI of ours, the default, as

Re: [Dovecot] Last login tracking with login_executable

2010-10-14 Thread Ed W
On 13/10/2010 13:14, Denny Lin wrote: Hi, I'm using Dovecot 1.2.14, and I've read PostLoginScripting on the wiki. Is there any way to make Dovecot use the same username/password for database access as userdb and passdb queries? Specifying the password with -p doesn't seem like a good idea, so

Re: [Dovecot] Pigeonhole feature request: automatically copy sieve_global_path (default script) to user's sieve_dir

2010-10-14 Thread Ed W
On 14/10/2010 09:48, Tom Hendrikx wrote: # Everytime you remove this line, god kills a kitten include :global global-spam.sieve; My suggestion was to do the reverse of this, ie have the global script include the local script - does that work also? The use case there would be if you didn't

Re: [Dovecot] Pigeonhole feature request: automatically copy sieve_global_path (default script) to user's sieve_dir

2010-10-14 Thread Tom Hendrikx
On 14/10/10 10:58, Ed W wrote: On 14/10/2010 09:48, Tom Hendrikx wrote: # Everytime you remove this line, god kills a kitten include :global global-spam.sieve; My suggestion was to do the reverse of this, ie have the global script include the local script - does that work also? Including

[Dovecot] acl allow creation of special foldernames

2010-10-14 Thread Tobias Daucher
Hi, ACL works fine now... But is it possible so allow users the creation of specific folder names? so users should be able to create a folder Sent but not the folder Send or something like that I just want to allow some folder names and only THESE folders... Thanks for you help! Tobi -- Dr.

Re: [Dovecot] Config review (2.0.5)

2010-10-14 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: Colleague returned from vacation today and gave some ideas. Today I turned off the mail_log and notify plugins and the load dropped considerably. Both plugins were used with default settings. I left all settings unchanged and examined the

[Dovecot] Quota, Postgres + Postfixadmin

2010-10-14 Thread Roman
Hi everybody, i am currently testing dovecot-1.2.9 together with postfix, postgres and postfixadmin. After setting up the basics, i wanted to get the quotas working... So i edited the dovecot.conf: mail_plugins = quota imap_quota mail_plugins = sieve quota quotadict =

[Dovecot] help with expire plugin

2010-10-14 Thread Joy
Dear All, I am using version 2.0 and willing to use expire plugin in my setup but unable to set it up correctly. Here is the relevant part from output of doveconf -n # 2.0.0: /usr/local/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-686 i686 Debian 5.0.6 base_dir =

Re: [Dovecot] Config review (2.0.5)

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 13:42 +0200, Ralf Hildebrandt wrote: * Ralf Hildebrandt ralf.hildebra...@charite.de: Colleague returned from vacation today and gave some ideas. Today I turned off the mail_log and notify plugins and the load dropped considerably. Both plugins were used with default

Re: [Dovecot] Config review (2.0.5)

2010-10-14 Thread Ralf Hildebrandt
* Timo Sirainen t...@iki.fi: On Thu, 2010-10-14 at 13:42 +0200, Ralf Hildebrandt wrote: * Ralf Hildebrandt ralf.hildebra...@charite.de: Colleague returned from vacation today and gave some ideas. Today I turned off the mail_log and notify plugins and the load dropped considerably.

Re: [Dovecot] help with expire plugin

2010-10-14 Thread Charles Marcus
On 2010-10-14 8:27 AM, Joy wrote: # 2.0.0: /usr/local/dovecot/etc/dovecot/dovecot.conf Lots of fixes since 2.0 was released... please update first, then try again... -- Best regards, Charles

Re: [Dovecot] Last login tracking with login_executable

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 09:55 +0100, Ed W wrote: Is there any way to make Dovecot use the same username/password for database access as userdb and passdb queries? Specifying the password with -p doesn't seem like a good idea, so I'm wondering if it can be handled by Dovecot directly. If

Re: [Dovecot] Last login tracking with login_executable

2010-10-14 Thread Denny Lin
Hi, On Thu, Oct 14, 2010 at 03:00:32PM +0100, Timo Sirainen wrote: On Thu, 2010-10-14 at 09:55 +0100, Ed W wrote: Is there any way to make Dovecot use the same username/password for database access as userdb and passdb queries? Specifying the password with -p doesn't seem like a good

Re: [Dovecot] Why deliver+usercheck? deliver+MTA?

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 22:42 +0200, Lukas Haase wrote: It's Postfix related - Dovecot does no checks about valid recipients for Postfix but you can use the same data sources as for Dovecot - no need to maintain user lists for Postfix and Dovecot. But *why* would you want to let dovecot

Re: [Dovecot] Last login tracking with login_executable

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 22:04 +0800, Denny Lin wrote: I was wondering if it would be possible to read the username/password from a Dovecot config file (like userdb/passdb/quota/expire) instead of using my.cnf. See if something like this works: HOME=/etc/dovecot/mysql mysql ... And put the

Re: [Dovecot] help with expire plugin

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 17:57 +0530, Joy wrote: plugin { expire = Trash 7 Spam 30 This is not v2.0-compatible configuration. Read the wiki page. http://wiki2.dovecot.org/Plugins/Expire Also note: Unless you have thousands of users, you probably shouldn't bother with this plugin.

Re: [Dovecot] Config review (2.0.5)

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 15:47 +0200, Ralf Hildebrandt wrote: Colleague returned from vacation today and gave some ideas. Today I turned off the mail_log and notify plugins and the load dropped considerably. Both plugins were used with default settings. Load as in I/O load or CPU

Re: [Dovecot] managesieve fileinto folder with international characters

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 14:04 -0400, Edward Carraro wrote: If I directly modify the sieve file and place the actual utf8 version of the folder in it require [fileinto]; if header :contains [From] u...@domain.com { fileinto ññoéé; } This should work. main_script: line 1: error:

Re: [Dovecot] doveadm doesn't seem to honor mail_location, mail_uid, mail_gid

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 07:14 -0600, Trever L. Adams wrote: I am adjusting the recommended ldap configuration to match active directory instead of the standard posixaccount layout. The problem is that doveadm seems to ignore mail_uid and mail_gid along with (possibly) mail_location. So how are

Re: [Dovecot] Missing ACLOCAL_AMFLAGS ?

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 22:08 +0300, Eray Aslan wrote: In other words, no moduledir output in configure --help. Looks like dovecot.m4 is not being read. With the patch below: +ACLOCAL_AMFLAGS = -I . I get moduledir option in configure and working autoreconf. Unfortunately ACLOCAL_AMFLAGS

Re: [Dovecot] Limit access to dovecot by domains?

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 18:08 +1100, Jobst Schmalenbach wrote: Maybe I could include a script that would check the reverse DNS record of a connected IP and then I could filter? Wonder if tcpwrappers would work? You could use that with Dovecot v2.0.

Re: [Dovecot] Outlook problem when deleting mails

2010-10-14 Thread Timo Sirainen
On Tue, 2010-10-12 at 18:48 +0200, Ulf Jaenicke-Rößler wrote: A colleague is running Outlook 2007 on Vista and sometimes (sometimes very often, sometimes only occasionally) when he wants to delete mails, Outlook hangs for some time (he says about 1, 2 or 3 minutes) until it finally puts out

Re: [Dovecot] Last login tracking with login_executable

2010-10-14 Thread Ed W
On 14/10/2010 15:04, Denny Lin wrote: I was wondering if it would be possible to read the username/password from a Dovecot config file (like userdb/passdb/quota/expire) instead of using my.cnf. In that case I think just creating a script with the password in it, which is itself called from

Re: [Dovecot] 2.0.5 masteruser problem with uncached users

2010-10-14 Thread Timo Sirainen
On Fri, 2010-10-08 at 15:38 +0200, Ralf Hildebrandt wrote: # fuer user*masteruser logins passdb { args = /usr/dovecot-2/etc/dovecot/dovecot.masteruser driver = passwd-file master = yes pass = yes You can't use pass=yes with passdb pam. From wiki: You should also add the pass=yes

Re: [Dovecot] Config review (2.0.5)

2010-10-14 Thread Ralf Hildebrandt
* Timo Sirainen t...@iki.fi: Process: No special process was peaking. How is the logging implemented? Each imap process is logging by itself? dovecot-lda logs directly, OK! with everything else it goes through dovecot/log process. Interesting: 1400+ processes logging through one

Re: [Dovecot] 2.0.5 masteruser problem with uncached users

2010-10-14 Thread Ralf Hildebrandt
* Timo Sirainen t...@iki.fi: On Fri, 2010-10-08 at 15:38 +0200, Ralf Hildebrandt wrote: # fuer user*masteruser logins passdb { args = /usr/dovecot-2/etc/dovecot/dovecot.masteruser driver = passwd-file master = yes pass = yes You can't use pass=yes with passdb pam. From

Re: [Dovecot] Error on mailbox file

2010-10-14 Thread augustocasagrande
Ok, fixed . It was an nsswitch issue. My priority order was files , winbind . I remove winbind and it's working again. Thanks for your help ! El 01/10/2010 17:34, augustocasagra...@gmail.com escribió: I suposed it was a Postfix issue , but caused by another program locking the file.

Re: [Dovecot] Config review (2.0.5)

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 16:47 +0200, Ralf Hildebrandt wrote: with everything else it goes through dovecot/log process. Interesting: 1400+ processes logging through one process... Has this changed from 1.2? With v1.2 all logging also went through dovecot master process, each using their own

Re: [Dovecot] 2.0.5 masteruser problem with uncached users

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 16:51 +0200, Ralf Hildebrandt wrote: You can't use pass=yes with passdb pam. From wiki: Ah. I fixed it by using passdb shadow :) as well I added a nicer error message also for this: auth: Error: passdb(tss,::1): No passdbs support skipping password verification -

Re: [Dovecot] mbox folder deleting

2010-10-14 Thread Timo Sirainen
On Tue, 2010-10-12 at 16:30 +0200, Tobias Daucher wrote: Hi there again, I just wanna tell you what little bug we've found... Namespace is in mbox format. After deleting an mbox the entry in the .imap stays so not everyting is moved away and ist just hanging around... not so bad, but would

Re: [Dovecot] acl allow creation of special foldernames

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 11:36 +0200, Tobias Daucher wrote: Hi, ACL works fine now... But is it possible so allow users the creation of specific folder names? so users should be able to create a folder Sent but not the folder Send or something like that I just want to allow some folder names

[Dovecot] Outlook FLAGS bug

2010-10-14 Thread qmail
I believe I have uncovered an Outlook bug. I've searched on the Internet a bit but I didn't find much on this particular topic. Basically it seems that Outlook (I'm using 2007) is overwriting message flags at least when replying to messages. I have seen the following behavior in the

Re: [Dovecot] Quota, Postgres + Postfixadmin

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 13:55 +0200, Roman wrote: quotadict = pgsql:/etc/dovecot/dovecot-dict-quota.conf After moving some mail on and off the account and finally cleaning out any mail (verified via console) quota2 looks like this: username bytes messages

Re: [Dovecot] dovecot logging

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 11:27 +0530, Rajesh M wrote: i am using dovecot version 1.2.11 with qmail toaster is there a way to log the number of current imap connections at a given time using dovecot log format ? No. With v2.0 you could get that easily with doveadm who, but with v1.x you'd have

Re: [Dovecot] dovecot-lda segfaults (debug)

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 17:05 +0300, Michael M Galapchuk wrote: # 1.2.14: /usr/local/etc/dovecot.conf .. #0 0x00483340 in message_parser_parse_next_block () No symbol table info available. #1 0x00444fe4 in index_mail_cache_parse_continue () No symbol table info available. #2

Re: [Dovecot] Director and CRAM-MD5

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 10:53 +0200, Martin Spuetz wrote: i have a setup with two director servers pointing to two backends. I don't care that much for load balancing, my main goal is high availability. CRAM-MD5 auth is working fine if I connect directly to the backends, but the director only

Re: [Dovecot] managesieve fileinto folder with international characters

2010-10-14 Thread Edward Carraro
Thanks guys! My putty terminal was using ISO-8859 encoding by default and my java client was generating ASCII files Changing putty to UTF8, I was able to get it working by creating the file directly on the filesystem :/# file .dovecot.sieve .dovecot.sieve: UTF-8 Unicode text and through telnet

Re: [Dovecot] Director and CRAM-MD5

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 10:53 +0200, Martin Spuetz wrote: backend config: passdb { driver = vpopmail args = } userdb { driver = vpopmail } It seems that the director is only working, if I use the static passdb?! How can I use the director with other passdb drivers

Re: [Dovecot] Dovecot 2.0.5 and BSDI 4.3 again

2010-10-14 Thread Timo Sirainen
On Sun, 2010-10-10 at 17:02 -0600, The Doctor wrote: Oct 10 16:30:45 doctor dovecot: log: Error: net_accept() failed: Invalid argument So my check below doesn't work. Add here: if (errno != EINVAL) i_error(errno = %d %m); else if (fstat(l-fd, st) 0) i_error(fstat() failed: %m); else

Re: [Dovecot] Dovecot 2.0.5 crash when It cannot remove maildir

2010-10-14 Thread Timo Sirainen
On Mon, 2010-10-11 at 11:22 +0200, Len7hir wrote: This is scenario that cause segmentation fault in my Dovecot. Thanks, fixed: http://hg.dovecot.org/dovecot-2.0/rev/a3e40c6b14fe

Re: [Dovecot] pop3 TCP_CORK too late error

2010-10-14 Thread Timo Sirainen
On Sat, 2010-10-09 at 21:33 -0700, Ryan Murray wrote: I was straceing a pop3 process and noticed that the TCP_CORK option isn't set soon enough: epoll_wait(8, {{EPOLLOUT, {u32=37481984, u64=37481984}}}, 38, 207) = 1 write(41, iTxPBrNlaNFao+yQzLhuO4/+tQ5cuiKSe..., 224) = 224

Re: [Dovecot] lmtp weird error: Bad address

2010-10-14 Thread Timo Sirainen
On Sun, 2010-10-10 at 19:44 +0200, Paweł Madej wrote: From time to time for one of email addresses i got such error. Have no idea why, as it is valid. Dovecot 2.0.2 Did you already try 2.0.5? Might be fixed already. Oct 6 17:38:00 dovecot: lmtp(12184, t...@example.com): Error:

Re: [Dovecot] Missing ACLOCAL_AMFLAGS ?

2010-10-14 Thread Eray Aslan
On 14.10.2010 17:29, Timo Sirainen wrote: Unfortunately ACLOCAL_AMFLAGS gives an error with the automake version in RHEL Thats's a bug in RHEL then but fine. so I can't do that. autogen.sh (which you should be using) I am using shipped tarballs which do not contain autogen.sh does it by

Re: [Dovecot] Missing ACLOCAL_AMFLAGS ?

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 19:05 +0300, Eray Aslan wrote: On 14.10.2010 17:29, Timo Sirainen wrote: Unfortunately ACLOCAL_AMFLAGS gives an error with the automake version in RHEL Thats's a bug in RHEL then but fine. Not a bug, just an old automake version. Unless you consider that a bug :)

Re: [Dovecot] Dovecot 2.0 lock upgrade assertion failure

2010-10-14 Thread Timo Sirainen
On Sat, 2010-10-09 at 21:25 -0700, Ryan Murray wrote: Oct 9 23:02:59 stor29 dovecot: lmtp(4793, u...@example.com): Panic: file mail-index-lock.c: line 62 (mail_index_lock): assertion failed: (index-lock_type == F_UNLCK) I couldn't reproduce with a quick few tests, but yeah, I see now where I

Re: [Dovecot] bug in dsync

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 07:55 +0200, Tobias Daucher wrote: Hi, I'm trying to convert mailboxes from mbox zu mdbox. The following command was performed: dsync mirror -u tsdauche mbox:~/.NCmail/Drafts dsync -u tsdauche mirror mbox:~/.NCmail/Drafts dsync(tsdauche): Panic: file

Re: [Dovecot] duplicate transaction log sequence?

2010-10-14 Thread Timo Sirainen
On Fri, 2010-10-08 at 23:51 +0200, Bjørn T Johansen wrote: We had to move our dovecot from one server to another and used rsync to move the mail but it took us some time.. I guess you mean you ran it while users could still be making changes? 2010/10/08 23:28:23 imap(emailadr): Error: Index

Re: [Dovecot] Zero-sized Maildir files and index corruption on over-quota

2010-10-14 Thread Timo Sirainen
On Tue, 2010-10-05 at 15:29 +0200, Edgar Fuß wrote: It looks like all mails which correctly got bounced are 64KB while those resulting in zero-sized files are 64KB (there is one 32KB). My first guess would be that maybe for large files, write() fails, while for small ones, close() fails or

Re: [Dovecot] Panic: Leaked t_pop() call

2010-10-14 Thread Len7hir
W dniu 2010-09-10 13:28, Len7hir wrote: I have version 2.0.0 and upgraded to 2.0.2 and after - this is happend: Raw backtrace: /opt/dovecot2/lib/dovecot/libdovecot.so.0 [0xb7e3425e] - /opt/dovecot2/lib/dovecot/libdovecot.so.0 [0xb7e342b5] - /opt/dovecot2/lib/dovecot/libdovecot.so.0

Re: [Dovecot] Samba4 Active Directory and Doveadm

2010-10-14 Thread Timo Sirainen
On Mon, 2010-10-11 at 11:13 -0600, Trever L. Adams wrote: user_attrs = =homeDirectory=/home/vmail/%d/%n, This can be alternatively done by putting to dovecot.conf: mail_home = /home/vmail/%d/%n =mail=maildir:/home/vmail/%d/%n, Don't put this here, rather just do it like everyone else:

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Timo Sirainen
On Mon, 2010-10-11 at 17:11 +0200, Johan Hendriks wrote: a login jo...@domain.com mypass b SETACL INBOX h...@domain.com lr .. c list /shared/* c list shared/* Also see what happens with: d list shared/domain.com/johan/* e select shared/domain.com/johan/INBOX

Re: [Dovecot] lazy_expunge and moving messages

2010-10-14 Thread Timo Sirainen
On Fri, 2010-10-08 at 13:29 +0200, Lutz Preßler wrote: As moving messages from one folder to another has to be done by clients with the IMAP command sequence COPY STORE EXPUNGE, every moved message is also put into the shadow folder of the source folder. Yeah.. Maybe it's possible to extend

[Dovecot] assertion failed: (auth_request_state_count[request-state] 0)

2010-10-14 Thread Mike Abbott
First time I've seen this with dovecot-2.0.5. At 10:05 my auth server was having problems and I saw this: Thu Oct 14 10:05:32 server dovecot[3536]: lda: Error: userdb lookup(userX): Request timed out Thu Oct 14 10:05:32 server dovecot[3536]: lda: Fatal: Internal error occurred. Refer to

Re: [Dovecot] patch for mysterious maildir symlink error

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-07 at 20:42 -0500, Mike Abbott wrote: This may resolve the mysterious Maildir: Symlink destination doesn't exist errors. - if (lstat(path, st) == 0 (st.st_mode S_IFLNK) != 0) { + if (lstat(path, st) == 0 (st.st_mode S_IFMT) == S_IFLNK) { Yeah, looks like I had

Re: [Dovecot] Problem with dovecot-acl was not solved

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-07 at 17:11 +0400, dss wrote: Problems with acl in dovecot-1.2.15 was not solved! See my configs below. And I see the new bug - still something wrong with configs: cat dovecot-acl: user=t1 lrwsti User t1 can't create subfolers in inbox. He can only create subfolders in the

Re: [Dovecot] Split plugin config in diferents files

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-07 at 12:10 +0200, Antonio Perez-Aranda wrote: Is possible to split dovecot.conf with a very very big plugin {} section? Maybe, some like apache with sites-enabled.d If you look at the default example-config, it already has plugin section split to multiple files:

Re: [Dovecot] userdb syntax

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-07 at 11:14 +0900, suzuki wrote: Hello, I have a question about userdb lookup when using expire-tool. Dovecot version 1.2.15 In dovecot.conf, mail_location = maildir:/var/mail/%u:INDEX=/var/indexes/%u I run dovecot expire-tool, target user's directory becomes

Re: [Dovecot] Missing ACLOCAL_AMFLAGS ?

2010-10-14 Thread Eray Aslan
On 14.10.2010 19:14, Timo Sirainen wrote: Why are you regenerating the files? Are you patching configure/Makefile.am? Why? Dovecot tests has automagic dependency on valgrind which might fail on unsopported CPUs (with SSE4a instructions for example) which results in unpredictible and

Re: [Dovecot] doveadm mailbox create oddities

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-07 at 09:14 +0200, Andre wrote: # doveadm mailbox create -u __public__ sys/test doveadm(__public__): Error: Can't create mailbox sys/test: Permission denied Assuming you have a sys/ namespace prefix for a public namespace, then I guess this fails because the default ACL

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Johan Hendriks
2010/10/14 Timo Sirainen t...@iki.fi On Mon, 2010-10-11 at 17:11 +0200, Johan Hendriks wrote: a login jo...@domain.com mypass b SETACL INBOX h...@domain.com lr .. c list /shared/* c list shared/* Also see what happens with: d list shared/domain.com/johan/* e select

Re: [Dovecot] limits to serve sure a number of users

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-06 at 22:03 +0200, Schmidt wrote: lets say dovcot should serve 1000 user (only imaps) without rejecting a users connection because of to short resources. With version 1.x I had to increase login_max_processes_count = ... You could set the same settings and see what doveconf

[Dovecot] Dovecot chgrp actions on new files/folders

2010-10-14 Thread David Ford
Timo, I did further study of the user/group permissions. Applying the below patch will make no difference to virtually everyone out there. Those that have default uid/gid ownership won't see any change as the gid already matches so the fchown() action won't be attempted. Those that have sgid

Re: [Dovecot] lazy_expunge and moving messages

2010-10-14 Thread Lutz Preßler
On Thu, 14 Oct 2010, Timo Sirainen wrote: On Fri, 2010-10-08 at 13:29 +0200, Lutz Preßler wrote: Maybe it's possible to extend the plugin to optionally hook into the COPY operation, remember it somewhere with the message (simply as special/ configurable IMAP flag?), and then really expunge

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 19:40 +0200, Johan Hendriks wrote: e select shared/domain.com/johan/INBOX e NO Character not allowed in mailbox name: '.' This looks as if it's not even seeing the shared namespace. What does it log with mail_debug=yes? namespace { inbox = no list = children

Re: [Dovecot] Dovecot chgrp actions on new files/folders

2010-10-14 Thread fake...@fakessh.eu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 14.10.2010 19:49, David Ford a écrit : Timo, I did further study of the user/group permissions. Applying the below patch will make no difference to virtually everyone out there. Those that have default uid/gid ownership won't see any

Re: [Dovecot] Dovecot chgrp actions on new files/folders

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 13:49 -0400, David Ford wrote: Timo, I did further study of the user/group permissions. Applying the below patch will make no difference to virtually everyone out there. No, it breaks it for people using shared mailboxes without sgid in the directories. There is no

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Johan Hendriks
2010/10/14 Timo Sirainen t...@iki.fi: On Thu, 2010-10-14 at 19:40 +0200, Johan Hendriks wrote: e select shared/domain.com/johan/INBOX e NO Character not allowed in mailbox name: '.' This looks as if it's not even seeing the shared namespace. What does it log with mail_debug=yes? namespace

Re: [Dovecot] Missing ACLOCAL_AMFLAGS ?

2010-10-14 Thread Eray Aslan
On Thu, Oct 14, 2010 at 06:47:22PM +0100, Timo Sirainen wrote: VALGRIND=no ./configure That will work for taking it out. Making it optional, checking dependencies etc will require more work. But yeah, I will go for disabling valgrind. The above is good enough. Thanks. -- Eray

Re: [Dovecot] duplicate transaction log sequence?

2010-10-14 Thread Bjørn T Johansen
On Thu, 14 Oct 2010 17:37:45 +0100 Timo Sirainen t...@iki.fi wrote: On Fri, 2010-10-08 at 23:51 +0200, Bjørn T Johansen wrote: We had to move our dovecot from one server to another and used rsync to move the mail but it took us some time.. I guess you mean you ran it while users could

Re: [Dovecot] Limit access to dovecot by domains?

2010-10-14 Thread Jobst Schmalenbach
On Thu, Oct 14, 2010 at 03:31:23PM +0100, Timo Sirainen (t...@iki.fi) wrote: On Wed, 2010-10-13 at 18:08 +1100, Jobst Schmalenbach wrote: Maybe I could include a script that would check the reverse DNS record of a connected IP and then I could filter? Wonder if tcpwrappers would

Re: [Dovecot] Dovecot 2.0.5 and BSDI 4.3 again

2010-10-14 Thread The Doctor
On Thu, Oct 14, 2010 at 04:45:00PM +0100, Timo Sirainen wrote: On Sun, 2010-10-10 at 17:02 -0600, The Doctor wrote: Oct 10 16:30:45 doctor dovecot: log: Error: net_accept() failed: Invalid argument So my check below doesn't work. Add here: if (errno != EINVAL) i_error(errno = %d

Re: [Dovecot] bug in dsync

2010-10-14 Thread Tobias Daucher
Am 14.10.2010 18:33, schrieb Timo Sirainen: On Wed, 2010-10-13 at 07:55 +0200, Tobias Daucher wrote: Hi, I'm trying to convert mailboxes from mbox zu mdbox. The following command was performed: dsync mirror -u tsdauche mbox:~/.NCmail/Drafts dsync -u tsdauche mirror mbox:~/.NCmail/Drafts

Re: [Dovecot] mbox folder deleting

2010-10-14 Thread Tobias Daucher
Am 14.10.2010 17:23, schrieb Timo Sirainen: On Tue, 2010-10-12 at 16:30 +0200, Tobias Daucher wrote: Hi there again, I just wanna tell you what little bug we've found... Namespace is in mbox format. After deleting an mbox the entry in the .imap stays so not everyting is moved away and ist