Re: [Dovecot] v1.1.11 released

2009-02-06 Thread Jack Bailey
On Feb 7, 2009, at 1:47 AM, Frank Cusack wrote: for (i = j = 0; removed this warning, and removed my doubts :-) Should be for (i = (j = 0); a = b = ... is not legal, although gcc does accept it. Really? I've seen a=b=c like code for a long time. But I can't say exactly where C99 would

Re: [Dovecot] Best Imap Transfer Tool?

2009-02-06 Thread Sahil Tandon
On Fri, 06 Feb 2009, Neil wrote: > So I'm looking to do a migration of my IMAP mailboxes, and I'm looking for > the best tool to use. I used to use the uw-mailutil tool, a while ago, but > that was a bit coarse of a tool. More recently I've used imapsync, but that > was giving me some errors. I

Re: [Dovecot] quota - implement via dovecot or postfix? which is easier ?

2009-02-06 Thread Sahil Tandon
On Fri, 06 Feb 2009, Linux Advocate wrote: > i rather not patch postfix and m therefore leaning towards quota via dovecot. > But after reading some posts ,etc, it seems that the information on the > dovecot wiki is inaccurate. > > A.Any comments on this? To which posts are you referring? > B.

Re: [Dovecot] v1.1.11 released

2009-02-06 Thread Timo Sirainen
On Feb 7, 2009, at 1:47 AM, Frank Cusack wrote: for (i = j = 0; removed this warning, and removed my doubts :-) Should be for (i = (j = 0); a = b = ... is not legal, although gcc does accept it. Really? I've seen a=b=c like code for a long time. But I can't say exactly where C99 would

Re: [Dovecot] v1.1.11 released

2009-02-06 Thread Timo Sirainen
On Feb 7, 2009, at 1:48 AM, Frank Cusack wrote: On February 5, 2009 4:14:24 PM -0500 Timo Sirainen wrote: On Thu, 2009-02-05 at 21:59 +0100, Peter Lindgren wrote: There is a similar warning for mailbox-list-fs-iter.c, but as far as I can tell the warning is unjustified? mailbox-list-fs-ite

Re: [Dovecot] v1.1.11 released

2009-02-06 Thread Frank Cusack
On February 5, 2009 4:14:24 PM -0500 Timo Sirainen wrote: On Thu, 2009-02-05 at 21:59 +0100, Peter Lindgren wrote: There is a similar warning for mailbox-list-fs-iter.c, but as far as I can tell the warning is unjustified? mailbox-list-fs-iter.c:483: warning: `real_path' might be used uninitia

Re: [Dovecot] v1.1.11 released

2009-02-06 Thread Frank Cusack
On February 5, 2009 9:59:10 PM +0100 Peter Lindgren wrote: maildir-sync-index.c:295: warning: `j' might be used uninitialized in this function In function maildir_sync_mail_keywords, j is assumed to be initialized to 0 I think. It is used in line 339 in the for statement. Changing to for

[Dovecot] Best Imap Transfer Tool?

2009-02-06 Thread Neil
So I'm looking to do a migration of my IMAP mailboxes, and I'm looking for the best tool to use. I used to use the uw-mailutil tool, a while ago, but that was a bit coarse of a tool. More recently I've used imapsync, but that was giving me some errors. I've sort of tracked those down; but I was

[Dovecot] Rebuild folder listing?

2009-02-06 Thread Roderick A. Anderson
I don't know what to call what I'm trying to do so I'll explain the situation. I had a total complete crash of the Linux-Vserver system that was hosting a Postfix+Dovecot guest with a three domains and 1-5 accounts per domain. Lots of mail though. Before it completely melted down I as able

Re: [Dovecot] I've moved to US

2009-02-06 Thread Jonathan Siegle
On Feb 6, 2009, at 9:49 PM, Timo Sirainen wrote: On Feb 6, 2009, at 8:29 PM, Ron Wilhoite wrote: Congratulations! Wow, Finland to Blacksburg. That could make for some interesting 'culture shock' posts. Actually I find Blacksburg to be very similar to Finland. I haven't really had any sho

Re: [Dovecot] I've moved to US

2009-02-06 Thread Timo Sirainen
On Feb 6, 2009, at 8:29 PM, Ron Wilhoite wrote: Congratulations! Wow, Finland to Blacksburg. That could make for some interesting 'culture shock' posts. Actually I find Blacksburg to be very similar to Finland. I haven't really had any shocks. Just some small annoyances how some things are

Re: [Dovecot] I've moved to US

2009-02-06 Thread Ron Wilhoite
On 02/06/2009 05:58 PM Timo Sirainen wrote: I thought about saying this in v1.2.beta1 release annoouncement, but looks like it'll take a few more days. So I've moved to Blacksburg, Virginia and I'm now working for Mailtrust the rest of this year. Here's some talk about it: http://mailtrust.com/b

Re: [Dovecot] I've moved to US

2009-02-06 Thread Noel Butler
On Sat, 2009-02-07 at 09:13, Udo Rader wrote: > Timo Sirainen wrote: > > I thought about saying this in v1.2.beta1 release annoouncement, but > > looks like it'll take a few more days. So I've moved to Blacksburg, > > Virginia and I'm now working for Mailtrust the rest of this year. Here's > > som

[Dovecot] Migrating mail between servers

2009-02-06 Thread Knute Johnson
I've currently got dovecot running on a Fedora server and I want to move all my mail to my new server running ubuntu. Both use mbox and I have IMAP working in both. Can I just copy the ~user/mail directory and /var/mail/user file and replace them in the new server? Thanks, -- Knute Johnson

Re: [Dovecot] I've moved to US

2009-02-06 Thread Jay Levitt
Timo Sirainen wrote: So I've moved to Blacksburg, Virginia and I'm now working for Mailtrust the rest of this year. Here's some talk about it: Congratulations!! As a former Virginian myself, let me give you a head start with this exhaustive list of fun things to do in Blacksburg: 1. Enjoy

Re: [Dovecot] I've moved to US

2009-02-06 Thread Ken A
Timo Sirainen wrote: I thought about saying this in v1.2.beta1 release annoouncement, but looks like it'll take a few more days. So I've moved to Blacksburg, Virginia and I'm now working for Mailtrust the rest of this year. Here's some talk about it: http://mailtrust.com/blog (A bit stupid look

[Dovecot] quota - implement via dovecot or postfix? which is easier ?

2009-02-06 Thread Linux Advocate
Guys, i m new to dovecot. I m setting up a new mailserver and planning to run dovecot and postfix of a centos 5.2 box. I have been reading of quota management from various sources and understand that mail box quota can be implemented either thru postfix ( with vda patch ) or thru dovecot. i

Re: [Dovecot] [Dovecot-news] I've moved to US

2009-02-06 Thread Andre Hübner
A bit stupid looking picture hihi, yes... ;) - Original Message - From: "Timo Sirainen" To: Cc: Sent: Friday, February 06, 2009 11:58 PM Subject: [Dovecot-news] I've moved to US ___ Dovecot-news mailing list dovecot-n...@dovecot.org h

Re: [Dovecot] I've moved to US

2009-02-06 Thread Michael Dunne
Awesome! Congratulations! Mike On Feb 6, 2009, at 5:58 PM, Timo Sirainen wrote: I thought about saying this in v1.2.beta1 release annoouncement, but looks like it'll take a few more days. So I've moved to Blacksburg, Virginia and I'm now working for Mailtrust the rest of this year. Here's s

Re: [Dovecot] I've moved to US

2009-02-06 Thread Udo Rader
Timo Sirainen wrote: I thought about saying this in v1.2.beta1 release annoouncement, but looks like it'll take a few more days. So I've moved to Blacksburg, Virginia and I'm now working for Mailtrust the rest of this year. Here's some talk about it: http://mailtrust.com/blog (A bit stupid look

Re: [Dovecot] I've moved to US

2009-02-06 Thread Cor Bosman
Congratulations, sounds like a great place to be, Cor

[Dovecot] I've moved to US

2009-02-06 Thread Timo Sirainen
I thought about saying this in v1.2.beta1 release annoouncement, but looks like it'll take a few more days. So I've moved to Blacksburg, Virginia and I'm now working for Mailtrust the rest of this year. Here's some talk about it: http://mailtrust.com/blog (A bit stupid looking picture, but then a

Re: [Dovecot] FreeBSD setup: more problems

2009-02-06 Thread Timo Sirainen
On Sat, 2009-02-07 at 00:28 +0300, Dmitry Samersoff wrote: > Dovecot setup: > mail_uid: smmsp > mail_gid: mail These settings are overridden by your userdb: >userdb: > driver: passwd You'll probably rather want to set: mail_privileged_group = mail signature.asc Description: This is

Re: [Dovecot] Maildir structure question

2009-02-06 Thread Timo Sirainen
On Fri, 2009-02-06 at 21:50 +0100, Nicolas KOWALSKI wrote: > On Fri, Feb 06, 2009 at 03:15:17PM -0500, Timo Sirainen wrote: > > > There are no 'cur', 'new' and 'tmp' directories in ~/Maildir, as written > > > in the wiki, but instead this .INBOX directory which contains these > > > 'cur', 'new' a

[Dovecot] CentOS 5 ... again

2009-02-06 Thread Roderick A. Anderson
At this point I don't think I can do anymore damage to my mail server but I'd like to know if anyone else is using the pre-built RPM files from ATrpms before I install them? http://dl.atrpms.net/all/dovecot-1.1.11-0_90.el5.i386.rpm http://dl.atrpms.net/all/dovecot-sieve-1.1.6-9.el5.i386.rpm O

[Dovecot] FreeBSD setup: more problems

2009-02-06 Thread Dmitry Samersoff
Timo, Everything seems to be working except I can't access one folder: I have messages below in the log: dovecot: Feb 06 21:28:04 Error: IMAP(dms): file_lock_dotlock() failed with mbox file /var/mail/dms: Permission denied But permissions seems to be OK: mircat:dovecot#ls -ld /var/mail drwxrw

Re: [Dovecot] Maildir structure question

2009-02-06 Thread Nicolas KOWALSKI
On Fri, Feb 06, 2009 at 03:15:17PM -0500, Timo Sirainen wrote: > > There are no 'cur', 'new' and 'tmp' directories in ~/Maildir, as written > > in the wiki, but instead this .INBOX directory which contains these > > 'cur', 'new' and 'tmp'. > > > > Is this expected ? Thanks. > > No, it's not exp

Re: [Dovecot] Maildir structure question

2009-02-06 Thread Timo Sirainen
On Fri, 2009-02-06 at 11:15 +0100, Nicolas KOWALSKI wrote: > ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain > the messages for INBOX. The tmp directory is used during delivery, new > messages arrive in new and read shall be moved to cur by the clients. > " Right. > But in m

Re: [Dovecot] [patch] 'c' and 'd' in setacl

2009-02-06 Thread Timo Sirainen
On Fri, 2009-02-06 at 12:29 +0100, Sascha Wilde wrote: > I just recognized that the new imap-acl plugin in dovecot 1.2 does not > know the obsolete rights 'd' and 'c' when setting. .. > [0] I don't like the use of static indexes witch imap_acl_letter_map but > currently I wasn't able to decid

Re: [Dovecot] Info regarding conversion of mbox to maildir

2009-02-06 Thread Timo Sirainen
On Fri, 2009-02-06 at 08:42 -0800, Scott Silva wrote: > >> I have considered using the convert plugin, if there are not a lot of > >> negatives. > > > > I don't know if anyone has really used it to do the conversion, but I > > don't see why it wouldn't work. :) The main negative is that it doesn't

Re: [Dovecot] FreeBSD pam auth problems

2009-02-06 Thread Dmitry Samersoff
Timo Sirainen wrote: You don't have userdb configured at all, so Dovecot doesn't know the user's home directories. Probably helps if you just add: userdb passwd { } inside auth {} block. Thank you! it helps. -- Dmitry Samersoff d...@samersoff.net, http://devnull.samersoff.net * There will c

Re: [Dovecot] Public namespace permissions documentation/questions

2009-02-06 Thread Timo Sirainen
On Wed, 2009-01-28 at 18:43 +0100, Thomas Hummel wrote: > Hello Timo, > > In my trials to setup a shared namespace with dovecot-1.1.8/LDAP passdb/userdb > (prefetch)/Maildir, I found out that : > > 1) ACL are mandatory (at least if the acl plugin is triggered in dovecot.conf) > >Am I correct

Re: [Dovecot] dovecot-shared file

2009-02-06 Thread Timo Sirainen
On Fri, 2009-01-30 at 16:49 +0100, Thomas Hummel wrote: > Hello Timo, > > About the dovecot-shared file, the wiki says : > > "Unless you're using a single UID for all the users, you'll need to have a >dovecot-shared file in each shared maildir. The group and the file > permissions >for

Re: [Dovecot] Shared subscription, acl-list and uidvalidity(s)

2009-02-06 Thread Timo Sirainen
On Fri, 2009-01-30 at 15:20 +0100, Thomas Hummel wrote: > I first connect (in Thunderbird) to dovecot with user 'hummel', then with user > 'doveimap'. The following files are created in /path/to/public/ : > > -rw--- 1 doveimap doveshared40 Jan 30 14:03 dovecot-acl-list > -rw--- 1 hu

Re: [Dovecot] FreeBSD pam auth problems

2009-02-06 Thread Timo Sirainen
On Fri, 2009-02-06 at 22:40 +0300, Dmitry Samersoff wrote: > Fatal: userdb didn't return a home directory, but mail location used > it (%h): %h/Mail:INBOX=/var/mail/%u .. >passdb: > driver: pam > args: imap You don't have userdb configured at all, so Dovecot doesn't know the user'

[Dovecot] FreeBSD pam auth problems

2009-02-06 Thread Dmitry Samersoff
I'm impressed by dovecto and try to upgrade my home system from wu-imapd running there for last 5 years to dovecot. It's straghtforward FreeBSD setup with ssl-only auth, inboxes in /var/mail and user mail under %h/Mail But I get some strange error: Fatal: userdb didn't return a home directory,

Re: [Dovecot] help: "dovecot: pipe() failed: Too many open files"

2009-02-06 Thread Jake Grimmett
Hi Timo / Mark, Whoops! your right, the profile doesn't get read :( Another failure was putting this line in /etc/security/limits.conf dovecot - nofile 8192 Still stuck with "Max open files 1024" Until I 'cheated' and put a line into /etc/init.d/dovecot under the prog="Dovecot

Re: [Dovecot] Shared subscription, acl-list and uidvalidity(s)

2009-02-06 Thread Thomas Hummel
On Wed, Feb 04, 2009 at 06:57:29PM +0100, Thomas Hummel wrote: > Any idea, anyone ? Sorry to insist, but I need this setup. Timo ? -- Thomas Hummel | Institut Pasteur | Pôle informatique - systèmes et réseau

Re: [Dovecot] ¿DC won't start? "leaked file fd 5:"

2009-02-06 Thread Timo Sirainen
On Fri, 2009-02-06 at 07:19 +0100, mathe...@gmx.net wrote: > Hi Timo, > > >> mail.info dovecot: Dovecot v1.0.15 starting up > >> mail.err dovecot: auth(default): Panic: Leaked file fd 5: dev 0.10 > >> inode 3 > > > This happens only when Dovecot has been configured with --enable-devel- > > che

Re: [Dovecot] help: "dovecot: pipe() failed: Too many open files"

2009-02-06 Thread Timo Sirainen
Are you sure /etc/profile gets read, especially during boot? I'm not that sure.. Anyway you can verify that the changes took place with: cat /proc/`pidof dovecot`/limits|grep files On Fri, 2009-02-06 at 17:07 +, Jake Grimmett wrote: > Hi Mark, > > taking your advice, I've put "ulimit -n 8192

Re: [Dovecot] help: "dovecot: pipe() failed: Too many open files"

2009-02-06 Thread Jake Grimmett
Hi Mark, taking your advice, I've put "ulimit -n 8192 > /dev/null 2>&1" into /etc/profile. The problem is horribly intermittent, so it's now just a question of waiting... Anyhow, many thanks for the tip - I'll post something to the list if the problem comes back ! Jake On Friday 06 February

Re: [Dovecot] Dovecot-antispam does not work

2009-02-06 Thread Jehan Pagès
Hi all, just to say that finally the patch of Marcin worked great. Just my configuration is different from yours to get it work: antispam_signature = X-DSPAM-Signature antispam_trash = trash;Trash;Deleted Items antispam_spam = SPAM;Junk antispam_dspam_binary = /usr

Re: [Dovecot] Info regarding conversion of mbox to maildir

2009-02-06 Thread Scott Silva
on 2-5-2009 8:15 PM Timo Sirainen spake the following: > On Feb 5, 2009, at 6:56 PM, Scott Silva wrote: > >> When I finally decide to convert to maildir, will I have to set up >> namespaces >> during the conversion, or will dovecot figure out where everything is >> by itself? > > Just adding name

Re: [Dovecot] help: "dovecot: pipe() failed: Too many open files"

2009-02-06 Thread Mark Zealey
I reported a bug like this on 23rd Dec last year and Timo replied 8/1 this year. However, I've seen this bug very infrequently and I'm not sure that you're hitting it - it's more likely that your ulimit -n is too low - try setting it to around 8192 (defaults to 1024 I think). It should be around 3*

[Dovecot] help: "dovecot: pipe() failed: Too many open files"

2009-02-06 Thread Jake Grimmett
Dear All, I'm having an intermittent problem, with dovecot slowing to a crawl. Restarting dovecot fixes the problem. Looking at the maillog, I see loads of these errors dovecot: pipe() failed: Too many open files dovecot: Temporary failure in creating login processes, slowing down for now d

Re: [Dovecot] NFS - inotify vs kqueue

2009-02-06 Thread LÉVAI Dániel
On Thursday 05 February 2009 22.17.32 Timo Sirainen wrote: > On Thu, 2009-02-05 at 13:08 -0800, Jack Stewart wrote: > > Anyone have pro/con experience with dovecot on the inotify/kqueue > > question when using NFS storage? > > Inotify is for Linux, kqueue is for BSDs. Right? So I'd think there are

Re: [Dovecot] [patch] 'c' and 'd' in setacl

2009-02-06 Thread Matvey Soloviev
Hello everyone, while I understand (and am glad to see) that the codebase evolved almost beyond recognition since I submitted it, from a superficial glance over the present code, I get the impression that it might be better to employ an additional check along the lines of what I had done in the pi

Re: [Dovecot] Hi all,

2009-02-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 6 Feb 2009, Jehan Pagès wrote: TrustedDeliveryAgent "/usr/libexec/dovecot/deliver -d %u" UntrustedDeliveryAgent "/usr/libexec/dovecot/deliver -d %u" QuarantineAgent "/usr/libexec/dovecot/deliver -d %u -m Junk" deliver(recipi...@mydomain.t

[Dovecot] [patch] 'c' and 'd' in setacl

2009-02-06 Thread Sascha Wilde
Hi Timo, Hi *, I just recognized that the new imap-acl plugin in dovecot 1.2 does not know the obsolete rights 'd' and 'c' when setting. According to RFC 4314 section 2.1.1.: If a client includes the "d" right in a rights list, then it MUST be treated as if the client had included every

Re: [Dovecot] Maildir structure question

2009-02-06 Thread Nicolas KOWALSKI
On Fri, Feb 06, 2009 at 11:32:41AM +0100, Matthias Andree wrote: > Nicolas KOWALSKI schrieb: > > There are no 'cur', 'new' and 'tmp' directories in ~/Maildir, as written > > in the wiki, but instead this .INBOX directory which contains these > > 'cur', 'new' and 'tmp'. > > > > Is this expected ?

[Dovecot] Hi all,

2009-02-06 Thread Jehan Pagès
Hi all, as I told earlier, I am installing an email server with postfix/dovecot/dspam (for now that's all, though some programs may come later). For now, what works good enough is that I receive mails and spams are tagged. Dovecot version 1.1.7-r1 compiled from the gentoo depository with debug. Th

Re: [Dovecot] Maildir structure question

2009-02-06 Thread Matthias Andree
Nicolas KOWALSKI schrieb: > Hello, > > About the INBOX location when using maildir, in the wiki, > http://wiki.dovecot.org/MailboxFormat/Maildir, I can read: > > " > Directory Structure > > ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain > the messages for INBOX. The tmp dir

Re: [Dovecot] IMAP ACLs and global ACLs in v1.2

2009-02-06 Thread Robert Schetterer
Hi Sascha, Sascha Wilde schrieb: > Robert Schetterer writes: >> Bernhard Herzog schrieb: >>> On 15.01.2009, Sascha Wilde wrote: > But should it just internally convert "owner" to "username" when > replying? From our experience this would be a very good idea. Many clients recogn

[Dovecot] Maildir structure question

2009-02-06 Thread Nicolas KOWALSKI
Hello, About the INBOX location when using maildir, in the wiki, http://wiki.dovecot.org/MailboxFormat/Maildir, I can read: " Directory Structure ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain the messages for INBOX. The tmp directory is used during delivery, new messages

Re: [Dovecot] IMAP ACLs and global ACLs in v1.2

2009-02-06 Thread Sascha Wilde
Robert Schetterer writes: > Bernhard Herzog schrieb: >> On 15.01.2009, Sascha Wilde wrote: But should it just internally convert "owner" to "username" when replying? >>> From our experience this would be a very good idea. Many clients >>> recognize the username and handle those ACLs dif

Re: [Dovecot] Tracing a server problem

2009-02-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Feb 2009, Luigi Rosa wrote: For the records: the problem was the network filtering (not email filtering!) of Kaspersky antivirus. Disabling network filtering on port 143 solved this issue. Switch from STARTTLS to SSL (port 993), KAV6 ign