Re: [Dovecot] Error: NO Mailbox is locked

2009-10-27 Thread Timo Sirainen
On Fri, 2009-10-16 at 13:48 +0200, Giovanni Mancuso wrote: > In dovecot log, i have: > > Error: IMAP(em...@domain.com): nfs_flush_fcntl: > fcntl(/maildirs/domain.com/user/Maildir/dovecot.index.cache, F_RDLCK) > failed: Interrupted system call If your NFS lockd doesn't work fast enough or well eno

Re: [Dovecot] Sieve vacation with russian subject

2009-10-27 Thread Timo Sirainen
On Fri, 2009-10-16 at 11:48 +0400, Proskurin Kirill wrote: > Is this problem still not fixed in new sieve implementation? I just implemented message header encoder: http://hg.dovecot.org/dovecot-1.2/rev/bd4a6f500c75 So only thing left to do is for Stephan to start using it. :) signature.asc De

Re: [Dovecot] dovecot-auth stops responding

2009-10-27 Thread Timo Sirainen
On Wed, 2009-09-16 at 13:50 -0400, Jonathan Siegle wrote: > > I found something in syslog today: > > > > local0.log.20090916:Sep 16 11:58:01 dovecot: auth(default): BUG: > > Worker sent reply with id 1, expected 2 > > local0.log.20090916:Sep 16 11:58:01 dovecot: auth(default): worker- > > server

Re: [Dovecot] Wish-list: X-Delivered-To headers generated by dovecot-deliver

2009-10-27 Thread Timo Sirainen
On Sat, 2009-10-17 at 22:41 +0200, Andrzej Adam Filip wrote: > Would it be sensible/"cost effective" to make dovecot-deliver generated > X-Delivered-To header(s) based on command line parameter(s)? > [after striping such existing headers, before consulting sieve] How exactly would that work? How i

Re: [Dovecot] antispam-plugin 1.2 and trailing carriage-returns

2009-10-27 Thread Timo Sirainen
On Tue, 2009-09-01 at 22:20 +0200, Karsten Bräckelmann wrote: > The mail that is being trained is different than its respective source > in the mbox file. The trained one shows added, trailing carriage-return > chars for all headers, which are not in the headers in the mbox file. > > This breaks s

Re: [Dovecot] Public Folder Quotas

2009-10-27 Thread Anton Dollmaier
Hi folks, I suppose you mean something like: namespace public { prefix = Public/ .. } quota = .. quota2 = maildir:Public quota:ns=Public/ We have this running in exactly that way. This creates a separate shared quota for all mailboxes in Public/ namespace. I've no idea if it really w

Re: [Dovecot] second fs quota root crashes

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-20 at 14:52 +0200, Juergen Obermann wrote: > Hallo. > > In our dovecot 1.2.6 server running under Solaris 9 I would like to set up a > second quota root because the mail folders are in the users home directories > and > the inboxes of all users are in /var/mail. As soon as I add >

Re: [Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread Dave
>> Now, I have gotten the shared boxes to work IF I changed the permissions >> to be rwx for user and group on /home/imapuser/Maildir/*, but this makes >> procmail (and .procmailrc) unhappy > > You'll need to set UNIX permissions in a way that it works. Thank you for the responses! OK, it seems

Re: [Dovecot] Public Folder Quotas

2009-10-27 Thread Timo Sirainen
On Thu, 2009-10-22 at 11:32 -0500, Peter Fraser wrote: > Hi All > > I'm really busy adding features to dovecot running on my dev box to > later move into prod. I saw where public mailbox quotas was added to > 1.2 Does anyone have this working? I haven't been able to find docs on > that as of yet.

Re: [Dovecot] 1.1 Quota Question

2009-10-27 Thread Timo Sirainen
On Thu, 2009-10-22 at 16:16 -0700, Marty Anstey wrote: > We are currently running Dovecot 1.1.16 & Postfix; maildir++. > > When a message arrives for a mailbox which is over quota, it is bounced. > Obviously, this isn't very desirable; the primary downside to this is > that when junk mail hits a f

Re: [Dovecot] meaning of parameter imap_idle_notify_interval??

2009-10-27 Thread Timo Sirainen
You seem to have kind of mixed everything into one so I don't know what happened. Rawlog (*.in, *.out files) isn't the same as where my patch was logging the message, it went to Dovecot's error log http://wiki.dovecot.org/Logging. Also do you mean there was no EXISTS reply sent at all after IDLE wa

Re: [Dovecot] simple steps with sieve

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-20 at 12:28 +0100, Peter Borg wrote: > So we have exactly the same issue - vacation responses appear from > user-dom...@hostservername. Do you think it would be enough to just add a new -r parameter to deliver and all user's From: fields would use it? (I guess probably only vacat

Re: [Dovecot] Error: userdb lookup

2009-10-27 Thread Timo Sirainen
On Fri, 2009-10-23 at 16:58 +0200, kfx wrote: > But then the userdb lookup fail and it tells me this in the log: > deliver(u...@mydomain): Error: userdb lookup: > connect(/usr/local/var/run/dovecot/auth-master) failed: No such file or > directory I suppose you added -d parameter to deliver also.

Re: [Dovecot] Multiple SSL certs question

2009-10-27 Thread Timo Sirainen
On Sat, 2009-10-24 at 13:35 +0200, Jean-Baptiste Vignaud wrote: > Hello; > > I was reading the message "how to config dovecot for multiple domains, > multiple SSL certs, This works in v2.0, assuming you have separate IP for each. > and conditional IP access -- with passwd-file passdb?", http:

Re: [Dovecot] meaning of parameter imap_idle_notify_interval??

2009-10-27 Thread Ingo Thierack
tried the telnet approach. patched in the logline. [i...@mail ~]$ telnet localhost 143 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=CRAM-MD5 AUTH=DIGEST-M

Re: [Dovecot] dovecot.log file permissions and ownership

2009-10-27 Thread Timo Sirainen
On Sun, 2009-10-25 at 07:14 -0400, Jerry wrote: > Using FreeBSD-7.2 and Dovecot v1.2.4 > > what user does dovecot use to write to its log file? I have the logfile > located in the /var/log directory. Most of Dovecot writes to it as root, but deliver is a special case. > I have Postfix configured

Re: [Dovecot] Hundreds of auth-worker sockets in /etc/dovecot

2009-10-27 Thread Timo Sirainen
On Sun, 2009-10-25 at 13:22 +0100, Eggert Ehmke wrote: > I run dovecot 1.2.6, before last update I had 1.2.2. on Debian Lenny. I > noticed that my config directory /etc/dovecot is filled up with hundreds of > old auth-worker.12345 sockets. They should exist in Dovecot's base_dir, which is by de

Re: [Dovecot] mailbox count folders issues

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 09:48 +0200, Nikita Koshikov wrote: > I have one user, which have a lot of folders (not it is 414 without INBOX). > When he tries to create one more folder with random name - the folder > successfully created, but LIST command invokes out of memory to imap process. > > From

Re: [Dovecot] meaning of parameter imap_idle_notify_interval??

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 09:55 +0100, Ingo Thierack wrote: > sorry to say, no change. > Takes more then 2 minutes until tb register there is a new mail. > > I'm the only with this behavior? At least only one who has noticed it.. > Could there be an problem with the inotify implementation in the >

Re: [Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 14:51 -0500, Dave wrote: > Now, I have gotten the shared boxes to work IF I changed the permissions > to be rwx for user and group on /home/imapuser/Maildir/*, but this makes > procmail (and .procmailrc) unhappy and it starts sending things to mbox > files (old system) instead

Re: [Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread proton-sss
Hello! I think, if you keep maildirs by different uid then you must change file permissons to permit access to shared maildir. I don`t now about procmail delivery options, but in dovecots "deliver" - if you create in shared maildir file called "dovecot-shared", than deliver will keep permission

Re: [Dovecot] sieve and fileinto encoding

2009-10-27 Thread Timo Sirainen
On Wed, 2009-10-28 at 00:14 +0300, proton-sss wrote: > Hello All! > I`m using dovecot 1.2.6 > I have folder named in russian "САПП", and when in filter i wrote: > fileinto "САПП"; > all works well. This is the correct way. > Now i find 2 web applications to manage sieve filters (horde-ingo a

[Dovecot] sieve and fileinto encoding

2009-10-27 Thread proton-sss
Hello All! I`m using dovecot 1.2.6 I have folder named in russian "САПП", and when in filter i wrote: fileinto "САПП"; all works well. Now i find 2 web applications to manage sieve filters (horde-ingo and squirrelmail/avelsieve) - then creates filter like this: if header :contains "Subject"

[Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread Dave
Hello! I just joined the list and will be happy to help where I can in my limited experience, but also come to the table with a question. I think there's something I'm missing regarding shared mailboxes and ACLs, so I will describe my situation and see if I am understanding correctly (running Do

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 13:13 -0500, Mike Abbott wrote: > > Thanks, fixed. But why is your compiler taking that code path? > > > > #if (defined(__STDC__) && __STDC_VERSION__ >= 199901L) > > For whatever reason, __STDC_VERSION__ isn't defined. __STDC__ is > though. Sounds like gcc isn't being run

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Mike Abbott
Thanks, fixed. But why is your compiler taking that code path? #if (defined(__STDC__) && __STDC_VERSION__ >= 199901L) For whatever reason, __STDC_VERSION__ isn't defined. __STDC__ is though. Second, Mac OS X can't link loadable modules against other loadable modules (http://www.finkproje

Re: [Dovecot] SetUID check problem

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 09:03 -0400, Thomas Berezansky wrote: > But for whatever reason, when deliver is called by something that IS > SetUID root I get the following error: > > /usr/local/libexec/dovecot/deliver must not be both world-executable > and setuid-root. This allows root exploits. See

[Dovecot] Test environment question

2009-10-27 Thread Stewart Dean
I want to test out my first V1.2 Dovecot (upgraded from V1.1) instance. What I have in mind to do is to run it on another machine that has the Inbox dir and homedirs NFS import mounted from the production mailserver. I then have 5 people test it in this test environment A) Then I can de

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Timo Sirainen
On Oct 27, 2009, at 12:06 PM, Mike Abbott wrote: Howdy, dovecot-2.0.alpha2 doesn't compile on Mac OS X. First, trivially, there's a typo in array.h: --- a/src/lib/array.h 2009-10-08 10:04:35.0 -0500 +++ b/src/lib/array.h 2009-10-27 10:35:58.0 -0500 @@ -72,7 +72,7 @@

[Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-10-27 Thread Mike Abbott
Howdy, dovecot-2.0.alpha2 doesn't compile on Mac OS X. First, trivially, there's a typo in array.h: --- a/src/lib/array.h 2009-10-08 10:04:35.0 -0500 +++ b/src/lib/array.h 2009-10-27 10:35:58.0 -0500 @@ -72,7 +72,7 @@ (elem)++) # define array_foreach_modifiable(

Re: [Dovecot] listing available subscriptions - shared mailboxes

2009-10-27 Thread Timo Sirainen
On Oct 27, 2009, at 9:14 AM, Hendrik Pahl wrote: got a strange issue with 1.2.4 on SLES11. When listing the user's available subscriptions with any client, every shared mailbox that can be subscribed is listed twice, once with it's correct name, 'folder' for example. the second appereance is

Re: [Dovecot] Dovecot

2009-10-27 Thread Pascal Volk
On 10/27/2009 06:54 AM Stefan Onken wrote: > … > With my tests with Exim and Dovecot I had to set the home directory > within EXIM, because I found no way to specify the homedir within dovecot. > > local_mysql_delivery_dovecot: >driver = pipe >command = /usr/lib/dovecot/deliver -d $local

[Dovecot] listing available subscriptions - shared mailboxes

2009-10-27 Thread Hendrik Pahl
hi everybody, got a strange issue with 1.2.4 on SLES11. When listing the user's available subscriptions with any client, every shared mailbox that can be subscribed is listed twice, once with it's correct name, 'folder' for example. the second appereance is without the last letter of the name, 'fo

[Dovecot] SetUID check problem

2009-10-27 Thread Thomas Berezansky
Running dovecot 1.2.4 on FreeBSD using Postfix. Everything works fine normally, but deliver is executable by world. This is not normally a problem, as I don't run deliver SetUID root. But for whatever reason, when deliver is called by something that IS SetUID root I get the following error:

Re: [Dovecot] meaning of parameter imap_idle_notify_interval??

2009-10-27 Thread Ingo Thierack
sorry to say, no change. Takes more then 2 minutes until tb register there is a new mail. I'm the only with this behavior? As sayd before, had no issues with archiveopteryx-imap on this. So I think, there is no problem with tb. Could there be an problem with the inotify implementation in the C

Re: [Dovecot] Multiple identities

2009-10-27 Thread Matthijs Kooijman
Hi Koenraad, > Doh. Seems I skipped a few lines and misunderstood others. The > directory should _exist_ (and with the right permissions) ! Now it > works. Feel free to improve the wording, it's a wiki! I agree with you that it is not the best description of rawlog, even though all information is

Re: [Dovecot] Multiple identities

2009-10-27 Thread Koenraad Lelong
Matthijs Kooijman schreef: P.S. any idea why rawlog doesn't work ? Where should to log-file be placed ? Did you see http://wiki.dovecot.org/Debugging/Rawlog ? "It works by checking if dovecot.rawlog/ directory exists in the logged in user's home directory, and writing the traffic to mmdd-HH

Re: [Dovecot] Multiple identities

2009-10-27 Thread Matthijs Kooijman
> P.S. any idea why rawlog doesn't work ? Where should to log-file be placed ? Did you see http://wiki.dovecot.org/Debugging/Rawlog ? "It works by checking if dovecot.rawlog/ directory exists in the logged in user's home directory, and writing the traffic to mmdd-HHMMSS-pid.in and .out files.

Re: [Dovecot] Multiple identities

2009-10-27 Thread Koenraad Lelong
Daniel L. Miller schreef: Koenraad Lelong wrote: Hi, ... I'm trying to debug this but dovecot does not help much. I tried rawlog but there is no output (that I see) from it, no log-files in my maildir. The act of copying outgoing mail to a "Sent" folder is not an automatic one - certainly

[Dovecot] mailbox count folders issues

2009-10-27 Thread Nikita Koshikov
Hello list, I have one user, which have a lot of folders (not it is 414 without INBOX). When he tries to create one more folder with random name - the folder successfully created, but LIST command invokes out of memory to imap process. From the logs: Oct 26 15:26:38 IMAP(gozhd...@domain.com):