Re: [Dovecot] dovecot+sieve redirect action signal 11 while user homedir not defined

2010-09-24 Thread Maciej Uhlig
On 2010-09-23 17:08, Timo Sirainen wrote: On Thu, 2010-09-23 at 15:33 +0100, Timo Sirainen wrote: On Thu, 2010-09-23 at 15:00 +0200, Maciej Uhlig wrote: 2010-09-23T09:25:23+02:00 st1/192.168.10.201 dovecot: [ID 583609 mail.error] master: Error: service(lmtp): child 15524 killed with

Re: [Dovecot] Dovecot pop3 segfault problems

2010-09-24 Thread enid vx
and now, can you respond to Timos request for a backtrace: On 2010-09-21 10:16 AM, Timo Sirainen t...@iki.fi wrote: Are these coming only from pop3 processes? Are you running imap? It's anyway difficult to say anything about segfaults without a gdb backtrace. See

Re: [Dovecot] Dovecot pop3 segfault problems

2010-09-24 Thread Charles Marcus
On 2010-09-24 6:27 AM, enid vx wrote: I see that for about 2-3 days now the error has gone away, and dovecot is running ok, but the high load is continually present, and I suspect of disk I/O latency. So, any stats on how busy your server is? Dovecot is very efficient - much more so at least

Re: [Dovecot] Possible to split message store location?

2010-09-24 Thread Pierre
On 23/sep - 08:17, Patrick Westenberg wrote: On Wed, 22 Sep 2010 23:03:58 -0400, Edward Carraro ednit...@gmail.com wrote: This could lead to a possible bottleneck eventually and we were wondering if it's possible to have dovecot direct x number of users to one message store

Re: [Dovecot] Dovecot pop3 segfault problems

2010-09-24 Thread Ken A
On 9/24/2010 5:27 AM, enid vx wrote: and now, can you respond to Timos request for a backtrace: On 2010-09-21 10:16 AM, Timo Sirainent...@iki.fi wrote: Are these coming only from pop3 processes? Are you running imap? It's anyway difficult to say anything about segfaults without a gdb

Re: [Dovecot] Possible to split message store location?

2010-09-24 Thread Pierre
On 24/sep - 14:55, Patrick Westenberg wrote: Pierre schrieb: On 23/sep - 08:17, Patrick Westenberg wrote: You can set a different maildir (or home location) in your userdb which points to a different mountpoint. Ok, and then how to get back emails when reading from IMAP, when emails are

[Dovecot] unwanted maildir directory

2010-09-24 Thread Mike Abbott
Dovecot-2.0.3 reported: Error: Maildir: Found unwanted directory /path/to/mail/user/cur/:2,FST, but rmdir() failed: Directory not empty and sure enough, this directory really does exist and contain a valid message file: # cd /path/to/mail/user/cur/ # ls -lR total 384 drwx-- 8 vmail

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Mike Abbott
Hm, I found more revealing errors after sending that message. These are scrubbed a little differently, to show two user names: imap(pid 5720 user user1): Error: open(/path/to/mail/user2/tmp/1285336854.M157825P5720.my.mail.server) failed: No such file or directory imap(pid 5720 user user1):

[Dovecot] inbox doesn't exist, and quota calculation error

2010-09-24 Thread Mike Abbott
Perhaps related to the other errors I just reported, I also see a few of these in the dovecot-2.0.3 logs: lda(pid 8212 user user3): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX lda(pid 8212 user user3): msgid=201009240906510365.1gj1fpfhrh...@mail: save failed to INBOX: Mailbox

Re: [Dovecot] Possible to split message store location?

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 15:55 +0200, Pierre wrote: Yes, but I'm thinking about putting mails in different places, for instance: unread mails are delivered to server1 read mails go to server2 old mails go to server3... question 1: can we set more than one alternative storage place (cf

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 09:59 -0500, Mike Abbott wrote: ./:2,FST: total 88 drwx-- 3 vmail vmail102 Sep 24 09:00 . drwx-- 8 vmail vmail272 Sep 24 09:06 .. -rw--- 5 vmail vmail 41045 Sep 24 08:44 1285335855.M242128P1165.my.mail.server,S=41045,W=41755 # Dovecot

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 10:16 -0500, Mike Abbott wrote: Hm, I found more revealing errors after sending that message. These are scrubbed a little differently, to show two user names: Are these easy to reproduce? imap(pid 5720 user user1): Error:

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 16:51 +0100, Timo Sirainen wrote: imap(pid 5720 user user1): Error: open(/path/to/mail/user2/tmp/1285335855.M242128P1165.my.mail.server,S=41045,W=41755) failed: No such file or directory imap(pid 5721 user user2): Error: Maildir: Found unwanted directory

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Mike Abbott
So are you saying that this directory was actually created by Dovecot? Yes. No migration, no Courier. Are these easy to reproduce? Yes, on my system. I'll try imaptest. user1 is accessing user2's INBOX? Not intentionally. User1 and user2 happen to be logged in at the same time and

Re: [Dovecot] inbox doesn't exist, and quota calculation error

2010-09-24 Thread Mike Abbott
lda(pid 8212 user user3): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX [...] tag NO Mailbox doesn't exist: INBOX For newly created users that don't have the Maildir directory created yet? No, for users who already have their Maildir. This is with Maildir++ quota? Yes.

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 12:07 -0500, Mike Abbott wrote: imap(pid 72709 user specmail773): Panic: file maildir-save.c: line 79 (maildir_file_move): assertion failed: (*mf-tmp_name != '\0') I added one more assert, but I doubt that catches this: http://hg.dovecot.org/dovecot-2.0/rev/c7a5d25dceb6

Re: [Dovecot] Unsubscribing from public folders

2010-09-24 Thread aditsu
Timo Sirainen wrote: I think what happened was that you switched namespace separator from . to /, which then caused these prefixes to change in subscriptions file from Public-NIB.* to Public-NIB/*. It's actually kind of an accident that those Public-NIB.* entries in the subscriptions file

Re: [Dovecot] Unsubscribing from public folders

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 10:21 -0700, aditsu wrote: Also, you haven't commented on my last phrase: please let me know the best way to fix the configuration/subscriptions. Specifically: - Should I switch the separator to .? Probably would cause just more problems. - If I don't, then how to

Re: [Dovecot] IMAP connection timeout value?

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 10:24 +0530, Sherin George wrote: Hello, I am also in a similar position. I have a server sitting behind hardware firewall which is configured to timeout all connections in 30 minutes. So, I would like to set dovecot to 30 minutes. Dovecot never disconnects

Re: [Dovecot] Trouble creating shared virtual folders

2010-09-24 Thread Timo Sirainen
On Thu, 2010-09-23 at 18:42 +0100, Daniela Silva wrote: I've tried to do this with virtual mailboxes, but I had problems with permissions, I removed write permissions from folder virtual_folders This should work. but if I do that dovecot creates virtual_folders_indexes without write

[Dovecot] LDA + Postfix + LDAP + Sieve (Vacation): Wrong Domain in Reply

2010-09-24 Thread Kendall Gifford
Hello everyone. I'm running dovecot (1.2.9) with postfix (2.7.0) on an ubuntu 10.04.1. I'm hosting mail for several domains and using the dovecot local delivery agent. Everything has been working great. However, today I set up a sieve script to send out-of-office replies (vacation) for one of

[Dovecot] (Single instance) attachment storage with single-dbox

2010-09-24 Thread Timo Sirainen
Just a note to myself and whoever else cares, should be added to wiki once it has its own page about this: With single-dbox messages can be copied with hard linking. This means that there can be multiple files that point to the same attachment file. The attachment is now deleted only once the

Re: [Dovecot] LDA + Postfix + LDAP + Sieve (Vacation): Wrong Domain in Reply

2010-09-24 Thread Cassidy Larson
I'd check your postfix main.cf config for something obvious. My hunch is that the dovecot process is handing off the reply message to your MTA with the correct from address (I'm actually using /usr/sbin/sendmail for outbound mails/replies) and the MTA is rewriting the from address. -c On Fri,

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Mike Abbott
I'll try to narrow it down further (nix the search, turn off quotas, etc.). imaptest clients=60 user=user\%d pass=test no_tracking logout=25 copybox=Copies does it too... (no search commands) And it happens with zero mail_plugins everywhere. But this does not trip that assertion: imaptest

Re: [Dovecot] LDA + Postfix + LDAP + Sieve (Vacation): Wrong Domain in Reply

2010-09-24 Thread Jerry
On Fri, 24 Sep 2010 11:55:57 -0600 Kendall Gifford zettab...@gmail.com articulated: Hello everyone. I'm running dovecot (1.2.9) with postfix (2.7.0) on an ubuntu 10.04.1. I'm hosting mail for several domains and using the dovecot local delivery agent. Everything has been working great.

Re: [Dovecot] (Single instance) attachment storage with single-dbox

2010-09-24 Thread Charles Marcus
On 2010-09-24 2:57 PM, Timo Sirainen wrote: Maybe add some import/export commands to doveadm which can be used to add a bunch of mails to storage without doing it directly on filesystem. +1 I've always just used cp -rp to restore mail, so yeah, if that would break SiS, I agree there should be

Re: [Dovecot] doveadm-expunge debug message clarifications

2010-09-24 Thread LEVAI Daniel
On Tue, 2010-09-21 at 15:09 +0200, LEVAI Daniel wrote: [...] doveadm(root): Debug: expire: Searching only users listed in expire database [...] logging that. I fixed in hg so that it now instead logs: expire: Iterating only a single user, ignoring expire database Great! If I don't specify

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 15:23 -0500, Mike Abbott wrote: I'll try to narrow it down further (nix the search, turn off quotas, etc.). imaptest clients=60 user=user\%d pass=test no_tracking logout=25 copybox=Copies does it too... (no search commands) What about just: imaptest clients=10

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 16:18 -0500, Mike Abbott wrote: Seems related to maildir_copy_hardlink(). No crashes with maildir_copy_with_hardlinks=no. This is with v2.0.3 release, not hg? I did some changes already related to this code in hg.. I'll check 2.0.3 too.

Re: [Dovecot] doveadm-expunge debug message clarifications

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 22:42 +0200, LEVAI Daniel wrote: doveadm tries to access the expire database via the dict socket. You didn't really give enough information about what user you're running doveadm as or if you're using system or virtual users or.. Sorry. I'm running that doveadm

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On Fri, 2010-09-24 at 22:25 +0100, Timo Sirainen wrote: On Fri, 2010-09-24 at 16:18 -0500, Mike Abbott wrote: Seems related to maildir_copy_hardlink(). No crashes with maildir_copy_with_hardlinks=no. This is with v2.0.3 release, not hg? I did some changes already related to this code in

[Dovecot] doveadm quota recalc don't work

2010-09-24 Thread Thiago Henrique
Hello, I'm testing Dovecot 2.0. I plan to use Dovecot 2.0 with thousands of domains per server. My user base is under virtual MySQL. When I run `quota doveadm recalc`, Dovecot sets quota to zero: r...@server:#

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Mike Abbott
What about just: imaptest clients=10 user=user1 pass=test no_tracking logout=0 copybox=Copies No crashes this way. It seems to need the different users. This is with v2.0.3 release, not hg? Correct, 2.0.3 plus your asserts from this thread. --enable-devel-checks Doh, that's what I

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
On 24.9.2010, at 23.05, Mike Abbott wrote: What about just: imaptest clients=10 user=user1 pass=test no_tracking logout=0 copybox=Copies No crashes this way. It seems to need the different users. Oh, interesting.. What about if you run it with two users? Like: imaptest user=user1 etc.

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Timo Sirainen
Wonder if attached patch fixes it. It's about the only bug I can think of in the hardlink-copying code. The code in hg happened to fix it already differently. diff Description: Binary data

Re: [Dovecot] doveadm quota recalc don't work

2010-09-24 Thread Timo Sirainen
On 24.9.2010, at 22.51, Thiago Henrique wrote: I use 'mdbox' as mailbox format, but my quota backend is 'maildir'. Is there a problem? You can't use Maildir++ quota with mdbox. I guess I should make it give an error.. Use dict quota with file backend instead.

Re: [Dovecot] unwanted maildir directory

2010-09-24 Thread Mike Abbott
Wonder if attached patch fixes it. Yes. Thanks!