Re: [Dovecot] FTS/squat search indexes built when?

2008-07-31 Thread Timo Sirainen
On Jul 26, 2008, at 9:45 AM, Patrick Nagel wrote: I should think it's a one line to type in the IMAP search command and have it execute? But I don't know how to wait for / react to answers from the IMAP server (after listing mailboxes, selecting the mailbox, etc.) in shell (bash) script,

Re: [Dovecot] .files in dovecot-1.1.1

2008-07-31 Thread Timo Sirainen
On Jul 24, 2008, at 8:58 PM, John Baker wrote: Hi there We had been using the stock Ubuntu Dapper Dovecot which is an early 1.0 beta but just upgraded to 1.1.1 to fix some read flag issues with Horde. Previously dovecot seemed to ignore files beginning with . in the ~/mail (mbox

Re: [Dovecot] wrong permission

2008-07-31 Thread Timo Sirainen
On Jul 24, 2008, at 8:40 AM, Cor Bosman wrote: Here's another example: u/un/unaxxxno/INBOX/.Sent Items: total 8 drw--- 2 unxxxano user 4096 Jul 1 19:51 . -rwxr-xr-x 1 root wheel 424263 Jun 25 13:51 /usr/local/sbin/dovecot So this was created after we started using 1.1.1.

Re: [Dovecot] wrong permission

2008-07-31 Thread Cor Bosman
So this was created after we started using 1.1.1. Yesterday I only found 5 after a week of operation. So I realize this can be very hard to find as we have millions and millions of folders. In theory it could even be an NFS server bug, although we havent seen this in the mailspool

Re: [Dovecot] Some help required - dovecot: IMAP(matthew): unlink(/home/matthew/Maildir/cur/new) failed: Operation not permitted

2008-07-31 Thread Matthias Andree
Hi I hope you're not offended by posting a quote to the list... you sent the mail just to me. On Thu, 31 Jul 2008, [EMAIL PROTECTED] wrote: Here here is an excerpt: ls -l home/matthew/Maildir/cur ... drwx-- 2 matthew matthew 512 Jul 30 17:48 cur:2,ST drwx-- 2 matthew

Re: [Dovecot] wrong permission

2008-07-31 Thread Timo Sirainen
On Jul 31, 2008, at 1:50 PM, Cor Bosman wrote: So this was created after we started using 1.1.1. Yesterday I only found 5 after a week of operation. So I realize this can be very hard to find as we have millions and millions of folders. In theory it could even be an NFS server bug, although we

Re: [Dovecot] Seen flag in maildir filename not being respected

2008-07-31 Thread Eduardo M KALINOWSKI
Timo Sirainen wrote: Do you have dovecot-shared file in the maildir? If it exists, Dovecot uses only its index file for storing \Seen flags (to get per-user \Seen flags with shared mailboxes). I do, to set the owner/group and mode of files. (The mailboxes aren't really shared, actually.) Any

Re: [Dovecot] wrong permission

2008-07-31 Thread Cor Bosman
find as we have millions and millions of folders. In theory it could even be an NFS server bug, although we havent seen this in the mailspool directories. Do you see any errors related to this in log files? Do you see maildirfolder file inside that directory? If it really is created

Re: [Dovecot] Some help required - dovecot: IMAP(matthew): unlink(/home/matthew/Maildir/cur/new) failed: Operation not permitted

2008-07-31 Thread Matthew Bickerton
That's done it, all OK now. Thank you so much, you have made me very happy!! There was a problem in the .procmailrc file. Thanks again matthew 2008/7/31 Matthias Andree [EMAIL PROTECTED] Hi I hope you're not offended by posting a quote to the list... you sent the mail just to me. On

[Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
Hello, I'd like to figure out how to set up a site running dovecot on multiple computers for load balancing reasons. I'm currently running dovecot-1.0.14 on a 8GB RAM, 2 quad-core 2.66Ghz Xeon single server which runs FreeBSD 6.2-STABLE SMP. . the mailbox format was mbox and I successfully

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Chris Laif
On Thu, Jul 31, 2008 at 2:15 PM, Thomas Hummel [EMAIL PROTECTED] wrote: Every friday a message (no attachement, decent size) is sent to all users : in such circumstances (but only sometimes, not every time : let's say half the time such a message is sent), the load goes so high that I have to

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 03:07:28PM +0200, Chris Laif wrote: Do you use dovecot's delivery agent (LDA)? As I stated, no. I need the procmail filtering features. If you use multiple servers you can use dovecot's proxy-feature to redirect the user to the correct server. You just need a

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 03:26:06PM +0200, Thomas Hummel wrote: I don't quite understand the proxy_maybe option : Also, 2 things which aren't quite clear to me in the Wiki : a) Password forwarding Make sure that the authentication succeeds with any given password. You can do this by using

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Rick Romero
On Jul 31, 2008, at 8:44 AM, Thomas Hummel wrote: On Thu, Jul 31, 2008 at 03:26:06PM +0200, Thomas Hummel wrote: I don't quite understand the proxy_maybe option : Also, 2 things which aren't quite clear to me in the Wiki : a) Password forwarding Make sure that the authentication succeeds

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Sven Eulberg
Do you use dovecot's delivery agent (LDA)? As I stated, no. I need the procmail filtering features. Call dovecot LDA inside of procmail! It will speed up your configuration certainly. procmailrc should contain something like: DELIVER=/path/to/dovecot/deliver :0 w | $DELIVER Works like

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Eric Toczek
Thomas Hummel wrote: On Thu, Jul 31, 2008 at 03:26:06PM +0200, Thomas Hummel wrote: I don't quite understand the proxy_maybe option : The proxy_maybe allows you to have a user log into a server that is both doing proxy logins for another host as well as local logins. So User A

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Gabriel Millerd
On Thu, Jul 31, 2008 at 7:15 AM, Thomas Hummel [EMAIL PROTECTED] wrote: I don't think that DNS round robin would do the trick because some UA (for instance Thunderbird) often open up to 5 connexions for the same user, unless maybe such UA makes a single 'gethostbyname()', thus connecting 5

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Anders Melchiorsen
Thomas Hummel wrote: The same machine is running postfix-2.4.6 with amavisd-new-2.5.4 (no spamassassin) and clamav-0.93.1. I'm using procmail-3.22 as the LDA. I installed dovecot-1.1.2 on non-standard ports for test and plan to switch to it as I read on this list it performs better, load

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 10:18:22AM -0400, Eric Toczek wrote: connection onto server 2. User B connects into server 1 and they live on server 1, so proxy_maybe allows the connect to be made direct even though their proxy setting says they go to a specific host (which happens to be server 1)

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 04:13:51PM +0200, Sven Eulberg wrote: Call dovecot LDA inside of procmail! [...] Works like a charm. Thanks, I was thinking about something like that. -- Thomas Hummel | Institut Pasteur [EMAIL PROTECTED] | Pôle informatique - systèmes et réseau

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 09:21:16AM -0500, Gabriel Millerd wrote: I am not seeing the issue, your seeing issues with the UA spreading the connects across multiple servers? I was thinking of what is described here in the Wiki : http://wiki.dovecot.org/NFS NFS caching is a big problem when

[Dovecot] dovecot-imap displays empty domainalias mailboxen

2008-07-31 Thread Kacper Wysocki
Hi folks, I'm using dovecot 1.0.13 as the IMAPS frontend for a vpopmail/qmail virtual domain setup. Dovecot is set up as follows: passdb vpopmail{ } userdb vpopmail{ } I've added a domain alias for the main domain with vaddaliasdomain and email to [EMAIL PROTECTED] is delivered to [EMAIL

Re: [Dovecot] wrong permission

2008-07-31 Thread Timo Sirainen
On Jul 31, 2008, at 2:38 PM, Cor Bosman wrote: But what about the maildirfolder file? Does it exist? If not, do you see an error in logs: open(.../maildirfolder, O_CREAT) failed: Permission denied I dont see any logged errors with O_CREAT. Only these: dovecot-uidlist) failed: Permission

Re: [Dovecot] wrong permission

2008-07-31 Thread Cor Bosman
userimap1# cd /var/spool/mail/dovecot-control/r/ro/rossXXX/ INBOX/.Sport.NKR userimap1# ls -al total 8 drw--- 2 rossXXX user 4096 Jul 2 18:35 . drwx-- 33 rossXXX user 4096 Jul 31 07:39 .. That's beginning to sound like Dovecot isn't even creating these directories. But

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Ed W
I don't quite understand the proxy_maybe option : proxy_maybe can be used to implement automatic proxying. If the proxy destination matches the current connection, the user gets logged in normally instead of being proxied. If the same happens with proxy, the login fails with Proxying loops

Re: [Dovecot] wrong permission

2008-07-31 Thread Timo Sirainen
On Jul 31, 2008, at 7:31 PM, Cor Bosman wrote: userimap1# cd /var/spool/mail/dovecot-control/r/ro/rossXXX/ INBOX/.Sport.NKR userimap1# ls -al total 8 drw--- 2 rossXXX user 4096 Jul 2 18:35 . drwx-- 33 rossXXX user 4096 Jul 31 07:39 .. That's beginning to sound like Dovecot

Re: [Dovecot] Seen flag in maildir filename not being respected

2008-07-31 Thread Timo Sirainen
On Jul 31, 2008, at 2:03 PM, Eduardo M KALINOWSKI wrote: Timo Sirainen wrote: Do you have dovecot-shared file in the maildir? If it exists, Dovecot uses only its index file for storing \Seen flags (to get per-user \Seen flags with shared mailboxes). I do, to set the owner/group and mode of

Re: [Dovecot] One LDAP attribute for many variables

2008-07-31 Thread Timo Sirainen
On Jul 25, 2008, at 2:04 PM, Juan Asensio Sánchez wrote: Hi Using Dovecot 1.1.2 with LDAP. If i have this: user_attrs = uid=home=/var/vmail/% $,mailuserquota=quota_rule=*:storage=%$,=mail=maildir:/var/vmail/%n/ Maildir OK. But if i have this: user_attrs = uid=home=/var/vmail/%

Re: [Dovecot] POP3 locking

2008-07-31 Thread Mark Sapiro
On Wed, Jul 30, 2008 at 06:05:27PM +0200, Kai Schaetzl wrote: but it seems to be off by default. From my dovecot.conf (1.07): #pop3_lock_session = no I think it should be on by default. The problem is if you have an MUA/MDA retrieving lots of messages over a potentially slow connection,

Re: [Dovecot] POP3 locking

2008-07-31 Thread Timo Sirainen
On Jul 31, 2008, at 8:10 PM, Mark Sapiro wrote: On Wed, Jul 30, 2008 at 06:05:27PM +0200, Kai Schaetzl wrote: but it seems to be off by default. From my dovecot.conf (1.07): #pop3_lock_session = no I think it should be on by default. The problem is if you have an MUA/MDA retrieving lots

[Dovecot] Permission denied creating inbox file in /var/mail

2008-07-31 Thread Steve Ochani
Hello all, I'm using dovecot version 1.07 on CentoOS 5 (clone of RHEL 5). When there is no existing mbox file for a user in /var/mail I get the following error: --- Jul 31 16:32:32 newnewton dovecot: imap-login: Login: user=testm2, method=PLAIN, rip=:::127.0.0.1,

Re: [Dovecot] Permission denied creating inbox file in /var/mail

2008-07-31 Thread Tom Diehl
On Thu, 31 Jul 2008, Steve Ochani wrote: Hello all, I'm using dovecot version 1.07 on CentoOS 5 (clone of RHEL 5). When there is no existing mbox file for a user in /var/mail I get the following error: --- Jul 31 16:32:32 newnewton dovecot: imap-login: Login: user=testm2,

Re: [Dovecot] Permission denied creating inbox file in /var/mail

2008-07-31 Thread Steve Ochani
Hi, On 31 Jul 2008 at 17:16, Tom Diehl wrote: Date sent: Thu, 31 Jul 2008 17:16:24 -0400 (EDT) From: Tom Diehl [EMAIL PROTECTED] Subject:Re: [Dovecot] Permission denied creating inbox file in /var/mail To: Steve Ochani [EMAIL

[Dovecot] bugzilla or other similar bug tracking systems

2008-07-31 Thread Diego Liziero
I was wondering if it could be useful to use such tools to keep track of users bugs. I find somehow harder to search the mailing list if a bug is known, if it's being worked on, if it needs more feedback, in witch release it has been eventually solved, and so on. Any thoughts? Regards, Diego.

Re: [Dovecot] Permission denied creating inbox file in /var/mail

2008-07-31 Thread Timo Sirainen
On Aug 1, 2008, at 12:42 AM, Steve Ochani wrote: I think dovecot should use the mail_privileged_group group to also be able to create files, this was mentioned a couple of times before in other posts. v1.1 does this. PGP.sig Description: This is a digitally signed message part

Re: [Dovecot] mbox empty messages in Sent folder

2008-07-31 Thread Diego Liziero
On Mon, Jun 23, 2008 at 11:03 AM, Diego Liziero [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 3:48 PM, Diego Liziero [EMAIL PROTECTED] wrote: On Mon, May 26, 2008 at 11:17 PM, Timo Sirainen [EMAIL PROTECTED] wrote: Maybe this helps? http://hg.dovecot.org/dovecot-1.1/rev/dd9d344ba140

Re: [Dovecot] mbox empty messages in Sent folder

2008-07-31 Thread Timo Sirainen
On Aug 1, 2008, at 1:49 AM, Diego Liziero wrote: On Mon, Jun 23, 2008 at 11:03 AM, Diego Liziero [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 3:48 PM, Diego Liziero [EMAIL PROTECTED] wrote: On Mon, May 26, 2008 at 11:17 PM, Timo Sirainen [EMAIL PROTECTED] wrote: Maybe this helps?

Re: [Dovecot] bugzilla or other similar bug tracking systems

2008-07-31 Thread Timo Sirainen
On Aug 1, 2008, at 12:51 AM, Diego Liziero wrote: I was wondering if it could be useful to use such tools to keep track of users bugs. I find somehow harder to search the mailing list if a bug is known, if it's being worked on, if it needs more feedback, in witch release it has been eventually

Re: [Dovecot] POP3 locking

2008-07-31 Thread Adrian Overbury
So, the final determination here is that newer versions of Dovecot than the one I'm currently running will successfully lock up a mailbox and limit access to it to a single session while that session exists (up to a finite timeout, which I think is two minutes), right? Okay, then. Has anyone

Re: [Dovecot] POP3 locking

2008-07-31 Thread Adrian Overbury
Adrian Overbury wrote: So, the final determination here is that newer versions of Dovecot than the one I'm currently running will successfully lock up a mailbox and limit access to it to a single session while that session exists (up to a finite timeout, which I think is two minutes), right?

Re: [Dovecot] FTS/squat search indexes built when?

2008-07-31 Thread Patrick Nagel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Timo Sirainen wrote: | printf 1 select $mailbox\n2 search text x93hgdgd\n3 logout\n | | dovecot --exec-mail imap | | For getting the list of mailboxes: | | mailboxes=`printf 1 list *\n | dovecot --exec-mail imap | perl magic` Ok, looks easy.