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

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-07 Thread Frank Cusack
On February 7, 2009 2:19:59 AM -0500 Timo Sirainen wrote: 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

Re: [Dovecot] Time moved backwards ....

2009-02-18 Thread Frank Cusack
On February 18, 2009 6:08:04 PM +0200 Harry Lachanas wrote: of course I do . The server I was talking about was a test server, fresh install, and I corrected the time zone not possible. unix systems keep track of UTC time, not local time. you may have changed the time zone *and also*

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-17 Thread Frank Cusack
On 1/16/11 2:10 PM -0600 Stan Hoeppner wrote: Using XFS with delayed logging mount option (requires kernel 2.6.36 or later). ... Using the delayed logging feature, filesystem metadata write operations are pushed almost entirely into RAM. Not only does this _dramatically_ decrease physical meta

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-20 Thread Frank Cusack
On 1/20/11 12:06 AM -0600 Stan Hoeppner wrote: This is amusing considering XFS is hands down the best filesystem available on any platform, including ZFS. Others are simply ignorant and repeat what they've heard without looking for current information. Not to be overly brusque, but that's a l

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-24 Thread Frank Cusack
On 1/20/11 11:49 PM -0600 Stan Hoeppner wrote: Frank Cusack put forth on 1/20/2011 2:30 PM: On 1/20/11 12:06 AM -0600 Stan Hoeppner wrote: This is amusing considering XFS is hands down the best filesystem available on any platform, including ZFS. Others are simply ignorant and repeat what

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-24 Thread Frank Cusack
Sorry all. I responded before catching up to the end of the thread.

Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Frank Cusack
On 1/26/11 8:35 AM -0700 Willie Gillespie wrote: On 01/26/2011 05:21 AM, Frank Bonnet wrote: Hello When I use my iphone to access my IMAP folders I can see ALL folders in my userland and not only those listed in .subscriptions file ... Correct. The iPhone mail application shows _ALL_ folders

Re: [Dovecot] Best filesystem?

2011-01-27 Thread Frank Cusack
On 1/27/11 2:59 PM -0600 Eric Rostetter wrote: Quoting Monika Janek : Hi everyone! What's the best filesystem to use for the mail spool? I'm Yikes! Opening that can of worms again... lol debating between Debian with xfs or FreeBSD with zfs. I'm not sure which way to go. I'm migrating f

Re: [Dovecot] Best filesystem?

2011-01-31 Thread Frank Cusack
On 1/30/11 5:07 PM -0600 Stan Hoeppner wrote: To be clear, for any subscribers who haven't followed all of the various filesystem and data security threads, with any modern *nix system, you WILL lose data when power fails. How much depends on how many writes to disk were in flight when the power

Re: [Dovecot] Best filesystem?

2011-01-31 Thread Frank Cusack
On 1/30/11 5:07 PM -0600 Stan Hoeppner wrote: To be clear, for any subscribers who haven't followed all of the various filesystem and data security threads, with any modern *nix system, you WILL lose data when power fails. No, you won't, at least not necessarily. I know I'm replying with just

Re: [Dovecot] Best filesystem?

2011-01-31 Thread Frank Cusack
On 1/31/11 5:23 PM + Ron Leach wrote: Ron Leach wrote: Finally, and I do apologise for all the questions, we're wishing to move to NFS. (At the moment we have a 'one box' Dovecot solution, but this makes upgrade of OS, upgrade of Dovecot, or upgrade of storage always a problem. We have alr

Re: [Dovecot] Best filesystem?

2011-01-31 Thread Frank Cusack
On 1/31/11 9:11 PM -0600 Stan Hoeppner wrote: Frank Cusack put forth on 1/31/2011 3:06 PM: That's incorrect. When you fsync() a file, all sane modern filesystems guarantee no data loss, unless you tune that out administratively for performance reasons. If you use a log structured files

Re: [Dovecot] Best filesystem?

2011-01-31 Thread Frank Cusack
On 2/1/11 3:49 AM +0200 Timo Sirainen wrote: fsync() makes sure that the data is sent to NFS server. I don't know if NFS protocol itself has a fsync() call that guarantees that the data is written on disk on the server, but I very much doubt it does. So I don't think NFS will help with any data g

Re: [Dovecot] Best filesystem?

2011-01-31 Thread Frank Cusack
On 1/31/11 9:27 PM -0600 Stan Hoeppner wrote: Frank Cusack put forth on 1/31/2011 3:13 PM: On 1/30/11 5:07 PM -0600 Stan Hoeppner wrote: To be clear, for any subscribers who haven't followed all of the various filesystem and data security threads, with any modern *nix system, you WILL

Re: [Dovecot] Best filesystem?

2011-01-31 Thread Frank Cusack
On 1/31/11 7:42 PM -0800 Frank Cusack wrote: On 1/31/11 9:27 PM -0600 Stan Hoeppner wrote: Frank Cusack put forth on 1/31/2011 3:13 PM: On 1/30/11 5:07 PM -0600 Stan Hoeppner wrote: To be clear, for any subscribers who haven't followed all of the various filesystem and data security th

Re: [Dovecot] Best filesystem?

2011-02-01 Thread Frank Cusack
On 1/29/11 12:00 PM -0600 Stan Hoeppner wrote: From: http://xfs.org/index.php/XFS_FAQ "Q: Why do I see binary NULLS in some files after recovery when I unplugged the power? Update: This issue has been addressed with a CVS fix on the 29th March 2007 and merged into mainline on 8th May 2007 for 2

[Dovecot] show only subscribed folders

2010-02-22 Thread Frank Cusack
is there a plugin or some other method by which i could have a user ONLY have access to subscribed folders? having a separate login or a separate instance of dovecot is ok if necessary. the iPhone always shows ALL folders, not just subscribed ones. i'd like to be able to see only the subscribed

Re: [Dovecot] Duplicate Elimination

2010-02-24 Thread Frank Cusack
On 2/24/10 4:51 PM +0200 Timo Sirainen wrote: On 24.2.2010, at 16.15, Steffen Kaiser wrote: group1: us...@example.com,us...@example.com group2: us...@example.com,us...@example.com If i am sending a mail to group1 and group2. It is going two times a single mail to the user1 mailbox. But in dove

Re: [Dovecot] OT: best linux imap client for dovecot

2010-02-24 Thread Frank Cusack
On 2/24/10 8:37 PM +0200 Timo Sirainen wrote: 1) Online mode: Don't download all message headers at once at startup. If I open a mailbox, I'm seeing only about 20 messages on screen. That's all it needs to download. When I scroll the message list, download more as needed. I disagree. You are c

Re: [Dovecot] FTS cron script to force index updates

2010-02-25 Thread Frank Cusack
On 2/25/10 1:00 AM -0600 Stan Hoeppner wrote: From: http://wiki.dovecot.org/Plugins/FTS "You could also build a cronjob to index users' mailboxes once in a while (by selecting each mailbox and issuing a SEARCH TEXT xyzzyx command)." Has anyone written a script to perform the above? If not, h

Re: [Dovecot] Mailing list's prefix

2010-03-04 Thread Frank Cusack
On 3/4/10 10:59 PM +0200 Timo Sirainen wrote: Do you think I'd break a lot of people's filters if I removed the prefix? :) Anyone strongly for/against removing it? It seems kind of annoying to me whenever I happen to think about it. Do you really need to ask? You'd definitely break a lot of fi

Re: [Dovecot] Mailing list's prefix

2010-03-04 Thread Frank Cusack
It's a shame that this isn't a per-user option. mailman already enforces adding the prefix if it isn't present so there's no reason for it to be a global option. Looks like this feature request has been open for 5 years. :(

Re: [Dovecot] [dovecot] - filters

2010-03-04 Thread Frank Cusack
On 3/4/10 7:07 PM -0600 Rick Romero wrote: For example. Subject: This is a test is replied to and becomes: Subject: Re: This is a test Unless you use a mailer which uses something besides Re:, say Aw: -frank

Re: [Dovecot] Limit login attempts per connection?

2010-03-04 Thread Frank Cusack
On 3/4/10 6:42 PM -0500 Tony Nelson wrote: Looking at the source, I see that there are no options. It tarpits a bit, but currently has no limit on the number of attempts. I'll see what I can do. I think it's a brilliant idea. After one login attempt, all others on the same connection should

Re: [Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-13 Thread Frank Cusack
On 3/14/10 1:59 AM +0200 Timo Sirainen wrote: The long term plan is to get all of Dovecot disk I/O asynchronous. The first step to that direction would be to make dbox/mdbox I/O asynchronous. This might also allow mbox/maildir to become partially asynchronous. Does it really need to be? Sure,

Re: [Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-13 Thread Frank Cusack
On 3/14/10 4:48 AM +0200 Timo Sirainen wrote: On 14.3.2010, at 4.40, Frank Cusack wrote: Just playing devil's advocate since you haven't presented the advantage of async I/O. I don't want to guess at the reasoning, but e.g. I hope you're not planning to return succes

Re: [Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-16 Thread Frank Cusack
On 3/16/10 6:44 PM +0200 Timo Sirainen wrote: Threads are useful when you need to do CPU intensive work in parallel, and threads need access to shared data structures. And when you don't want to block on I/O. Threads are almost always easier than AIO, and especially easy (ie, no scary complexi

Re: [Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-16 Thread Frank Cusack
On 3/14/10 1:46 PM +0200 Timo Sirainen wrote: On 14.3.2010, at 5.27, Frank Cusack wrote: On 3/14/10 4:48 AM +0200 Timo Sirainen wrote: On 14.3.2010, at 4.40, Frank Cusack wrote: Just playing devil's advocate since you haven't presented the advantage of async I/O. I don't w

Re: [Dovecot] Clients to manage ACL

2010-04-05 Thread Frank Cusack
Mulberry supports ACLs.

Re: [Dovecot] Maildir archive utility for historical filing

2010-04-07 Thread Frank Cusack
tar? On 4/7/10 11:51 AM +0300 Dimitrios Karapiperis wrote: Hi all! Is there any utility to archive maildir folders based on message date? I found cleanup-maildir, but you have to supply the directory as parameter. thanks in advance

Re: [Dovecot] Any Knowledge, pls: Iphone and Dovecot - 2-way sync

2010-05-06 Thread Frank Cusack
On 5/6/10 6:17 AM -0400 Charles Marcus wrote: Actually, Outlook uses the same folders as the iPhone ('Sent Messages' & 'Deleted Messages')... No, Outlook uses 'Sent Items' and 'Deleted Items'.

Re: [Dovecot] Sieve GUI

2010-06-01 Thread Frank Cusack
On 6/1/10 2:10 PM -0400 Phil Howard wrote: On Tue, Jun 1, 2010 at 13:42, e-frog wrote: This might be helpful:  http://wiki.dovecot.org/ManageSieve/ Right now only time for a quick look. Looks like yet another server with yet another protocol (via port 4190), rather than integrated into IMA

Re: [Dovecot] Dovecot aspects of fighting spam

2010-06-01 Thread Frank Cusack
I hadn't gotten to reading much about Sieve, yet, as what I had read said it was something IMAP users would run. Man oh man. You don't have much experience with mail and it sounds like you are starting from scratch. You have your work cut out for you. :) The standard way to filter spam is [al

Re: [Dovecot] Sieve GUI

2010-06-01 Thread Frank Cusack
On 6/1/10 2:55 PM -0400 Phil Howard wrote: mean time, I just need a short term solution to divert tagged-as-spam messages into the INBOX-spam (or something like that) folder. I'll probably just go ahead and write a shim program in C (as easy for me as a script is for others) to check for the tag

Re: [Dovecot] Sieve GUI

2010-06-01 Thread Frank Cusack
On 6/1/10 8:10 PM +0100 Timo Sirainen wrote: On ti, 2010-06-01 at 12:02 -0700, Frank Cusack wrote: deliver -m is implemented via sieve anyway. No. You can use deliver -m without having Sieve installed at all. That's not how Stephan (?) explained the interaction of -m and sieve filte

Re: [Dovecot] Dovecot aspects of fighting spam

2010-06-01 Thread Frank Cusack
On 6/1/10 3:56 PM -0400 Phil Howard wrote: Since sieve looks like it will be a problem right now, until I get a solution to that, I'm seriously considering this solution. A shim program I write in C will be run from Postfix master.cf just as ... you are just making it harder than it has to be.

Re: [Dovecot] OT Re: Dovecot 1.1.x and 1.2.x differencies

2010-06-16 Thread Frank Cusack
On 6/16/10 7:07 AM -0500 Stan Hoeppner wrote: Noel Butler put forth on 6/16/2010 6:49 AM: I will never use debian or its derivatives for its outdated crud, and I would rather not use RHEL because of its old but patched methods, gentoo and slackware are the only two serious "Linux" OS's that sho

Re: [Dovecot] system v. virtual mailboxes, was Re: Thunderbird problem

2010-06-30 Thread Frank Cusack
On 6/30/10 6:11 PM -0400 Charles Marcus wrote: That's just plain silly. Virtual users are extremely simple to setup, no need for MySQL unless you have a bunch. I agree. I am always in favor of virtual users, it just gives you a lot more flexibility. I find system users MORE complicated to setup

Re: [Dovecot] system v. virtual mailboxes, was Re: Thunderbird problem

2010-07-01 Thread Frank Cusack
On 7/1/10 9:59 AM +0200 Steffen Kaiser wrote: I do _not_ argue about security here. I really wonder why some distros still allow ssh-access by default for every user and some don't. Even a virtual-user based setup requires system users, so one cannot ignore uid related security either. huh? no

Re: [Dovecot] system v. virtual mailboxes, was Re: Thunderbird problem

2010-07-03 Thread Frank Cusack
On 7/2/10 6:52 PM -0400 Charles Marcus wrote: On 2010-07-02 5:13 PM, Stan Hoeppner wrote: Charles Marcus put forth on 7/2/2010 10:11 AM: # postconf -n | grep delay_warning delay_warning_time = 15m # ... It works for everyone who enables it. What the user *does* with the warning is their pr

Re: [Dovecot] using Lazy_Expunge to enforce retention policy

2010-07-25 Thread Frank Cusack
On 7/25/10 3:37 PM -0400 Jim Salter wrote: How can I use Lazy_Expunge to completely PREVENT users from deleting email permanently? Don't list the namespace at all. Users then will not be able to get to it. Alternatively, create an ACL denying delete/expunge permission. Then users can still a

[Dovecot] bug when creating /var/run/dovecot?

2009-11-19 Thread Frank Cusack
dovecot-1.2.7 If /var/run/dovecot does not exist when dovecot starts up (e.g. required when /var/run is a tmpfs/ramfs), it creates it. But it creates it with the wrong file mode -- the directory is mode 777. Being world writable means any user could change the name of any file within the direct

Re: [Dovecot] v1.2.8 released

2009-11-20 Thread Frank Cusack
On November 19, 2009 7:45:05 PM -0500 Timo Sirainen wrote: http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz.sig This is mainly to fix the 0777 base_dir creation issue, which could be considered a security hole, exploitable by local users.

[Dovecot] trivial documentation errata (1.2.7)

2009-11-20 Thread Frank Cusack
The default dovecot.conf says # Dictionary can be used by some plugins to store key=value lists. # Currently this is only used by dict quota backend. Looks like expire uses dict as well. The managesieve comments are stale as well, with a reference to sieve_storage still in there. Or do they

Re: [Dovecot] [OT] preferred clients

2009-11-21 Thread Frank Cusack
On November 20, 2009 12:59:48 PM -0500 Jonathan wrote: So what IMAP clients do people prefer these days? Preferably windows or cross platform and it needs to have decent key bindings because (probably like many of you) I get 100s of emails a day via lists and anything that speeds my way through

Re: [Dovecot] v1.2.8 released

2009-11-21 Thread Frank Cusack
On November 21, 2009 11:51:29 AM -0500 Sahil Tandon wrote: On Thu, 19 Nov 2009, Timo Sirainen wrote: http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz.sig Stephan we need you! ;-) I used the 1.2.7 patch which worked perfectly.

[Dovecot] kudos

2009-11-21 Thread Frank Cusack
I'm sure this isn't said enough, so kudos to Timo for what has to be the best IMAP server anywhere, hands-down no qualifications! And to think, it's a one man operation ... although perhaps that is one of the reasons it is so good.

Re: [Dovecot] [OT] preferred clients

2009-11-22 Thread Frank Cusack
On November 21, 2009 9:39:10 PM -0800 Seth Mattinen wrote: The fact that it can't "delete" by moving a copy to a "deleted items" folder still bugs me enough that I won't use it. Not a useful feature anyway, IMHO. Of course this is a user preference but I like my deleted emails to stay right

Re: [Dovecot] Vacation message with Sieve

2009-11-23 Thread Frank Cusack
On November 23, 2009 1:19:00 PM +0100 Rene Bakkum wrote: Is there an option to for example auto-reply on every mail that is sendto @domain.com? The part of this question that was overlooked is "on every mail". It would be nice if '0' days meant respond to every message. Alternatively, can

Re: [Dovecot] Vacation message with Sieve

2009-11-29 Thread Frank Cusack
On November 24, 2009 11:44:52 AM +0800 Patrick Nagel wrote: Someone will probably ask why an auto reply to the same person more than once a day might be necessary. In my case I want an autoresponder for a shared email account. info@ "Your message has been received, thank you blah bah". Easy

[Dovecot] /var/run/dovecot mode 750 too tight

2009-11-29 Thread Frank Cusack
dovecot-1.2.8 creates /var/run/dovecot mode 750. I run postfix+dovecot in a virtual user setup. Postfix calls deliver as user vmail group vmail. Nov 29 12:53:04 imap.invalid dovecot: [ID 583609 mail.error] deliver(frank): userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission

Re: [Dovecot] Vacation message with Sieve

2009-11-29 Thread Frank Cusack
On November 24, 2009 11:44:52 AM +0800 Patrick Nagel wrote: set 'days' to 1, there was an outcry by other project managers that the contacts would probably not read the auto reply on the first time, or forget about it immediately, and then send more mails during the day. I had a lengthy discussi

Re: [Dovecot] /var/run/dovecot mode 750 too tight

2009-11-29 Thread Frank Cusack
On November 29, 2009 8:11:28 PM +0100 Thomas Leuxner wrote: Am 29.11.2009 um 19:24 schrieb Frank Cusack: dovecot-1.2.8 creates /var/run/dovecot mode 750. I run postfix+dovecot in a virtual user setup. Postfix calls deliver as user vmail group vmail. Nov 29 12:53:04 imap.invalid dovecot

Re: [Dovecot] /var/run/dovecot mode 750 too tight

2009-11-29 Thread Frank Cusack
On November 29, 2009 8:40:13 PM +0100 Thomas Leuxner wrote: Am 29.11.2009 um 20:31 schrieb Frank Cusack: dovecot-1.2.8 creates /var/run/dovecot mode 750. I run postfix+dovecot in a virtual user setup. Postfix calls deliver as user vmail group vmail. Nov 29 12:53:04 imap.invalid dovecot

Re: [Dovecot] /var/run/dovecot mode 750 too tight

2009-11-29 Thread Frank Cusack
On November 29, 2009 9:31:22 PM -0500 Timo Sirainen wrote: On Nov 29, 2009, at 1:24 PM, Frank Cusack wrote: dovecot-1.2.8 creates /var/run/dovecot mode 750. No, it creates it with mode 0755. Did you compile from sources? Are you sure it's 0750 if you rm -rf the directory and start &qu

Re: [Dovecot] Vacation message with Sieve

2009-11-30 Thread Frank Cusack
k On November 29, 2009 10:15:55 AM -0800 Frank Cusack wrote: On November 24, 2009 11:44:52 AM +0800 Patrick Nagel wrote: Someone will probably ask why an auto reply to the same person more than once a day might be necessary. In my case I want an autoresponder for a shared email account.

[Dovecot] mailboxcasecmp()

2009-12-02 Thread Frank Cusack
I remember way back, i'd modified the dspam training plugin to compare mailbox names case-insensitively. that patch wasn't accepted. i didn't understand why since it was obviously correct and had no negative impact, at least i didn't think so. Now I've hit another case where case-insensitive ma

Re: [Dovecot] Vacation message with Sieve

2009-12-02 Thread Frank Cusack
On November 29, 2009 10:15:55 AM -0800 Frank Cusack wrote: Easy enough for me to patch the sieve code which is likely what I'll do. Here it is. I decided to store the timestamp (dup) info even though it isn't used when deciding to send a response, because 1) it saves the addr

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Frank Cusack
On December 2, 2009 4:25:35 PM +0100 Darius Bohni wrote: I need to have read and execute rights of all folders and mails for the group (needed by the backup deamon). I don't understand how a backup daemon could work if it isn't run as root. -frank

Re: [Dovecot] Vacation message with Sieve

2009-12-02 Thread Frank Cusack
On December 2, 2009 2:31:12 AM -0800 Frank Cusack wrote: If you want to use this patch, you might want to consider using a magic number (e.g. 999) for :days instead of 0, so that users unaware of the magic number can't easily send unthrottled vacation responses. Just change the

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Frank Cusack
On December 2, 2009 9:58:59 PM +0100 Benny Pedersen wrote: On ons 02 dec 2009 17:37:54 CET, Frank Cusack wrote On December 2, 2009 4:25:35 PM +0100 Darius Bohni wrote: I need to have read and execute rights of all folders and mails for the group (needed by the backup deamon). I don&#

[Dovecot] shared virtual (plugin) mailboxes?

2009-12-11 Thread Frank Cusack
With the virtual plugin is it possible to create shared virtual mailboxes? It seems to work (I created them under /etc/dovecot/virtual) but I wanted to make sure it is supported. -frank

Re: [Dovecot] shared virtual (plugin) mailboxes?

2009-12-11 Thread Frank Cusack
On December 11, 2009 1:58:30 PM -0500 Timo Sirainen wrote: On Fri, 2009-12-11 at 13:56 -0500, Frank Cusack wrote: With the virtual plugin is it possible to create shared virtual mailboxes? It seems to work (I created them under /etc/dovecot/virtual) but I wanted to make sure it is supported

Re: [Dovecot] shared virtual (plugin) mailboxes?

2009-12-11 Thread Frank Cusack
On December 11, 2009 2:18:08 PM -0500 Timo Sirainen wrote: On Fri, 2009-12-11 at 14:14 -0500, Frank Cusack wrote: > location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual That doesn't seem to work. First I get Fatal: Namespace initialization failed virtual: Root mail d

Re: [Dovecot] shared virtual (plugin) mailboxes?

2009-12-11 Thread Frank Cusack
On December 11, 2009 2:41:58 PM -0500 Timo Sirainen wrote: On Fri, 2009-12-11 at 14:26 -0500, Frank Cusack wrote: On December 11, 2009 2:18:08 PM -0500 Timo Sirainen wrote: > On Fri, 2009-12-11 at 14:14 -0500, Frank Cusack wrote: >> > location = virtual:/etc/dovecot/virtual:IND

[Dovecot] outlook 2007 mailbox sort order

2009-12-11 Thread Frank Cusack
What are people doing to affect the sort order of mailboxes in outlook? Apple Mail and MS Outlook similarly suck in that they do not sort '~' correctly -- mailboxes starting with '~' are first instead of last. At least I think this is the fault of the client, since Mulberry sorts correctly. At

[Dovecot] force PLAIN auth mech?

2009-12-17 Thread Frank Cusack
I have auth_default { mechanisms = plain } yet clients are able to login using cram-md5. how can i force use of plain?

Re: [Dovecot] force PLAIN auth mech?

2009-12-17 Thread Frank Cusack
On December 17, 2009 12:45:16 PM -0500 Frank Cusack wrote: I have auth_default { mechanisms = plain } yet clients are able to login using cram-md5. how can i force use of plain? the reason i think folks are using non-plain is that i see resp=... in the auth debug, as opposed to pass=... .

[Dovecot] dovecot-shared

2009-12-27 Thread Frank Cusack
I'm confused about dovecot-shared. If the file exists, \SEEN flags are NOT shared? So if dovecot-shared exists, flags are actually private. The doc seems clear on this (albeit not worded very well). I only question it because intuitively you would think the opposite. If backwards compatibilit

[Dovecot] sieve vs deliver -m

2009-12-27 Thread Frank Cusack
I'm invoking deliver through postfix with a dovecot transport in master.cf, using the -m ${extension} argument. If I have no sieve script, or a sieve script with an implicit keep, the mail gets correctly filed into the -m mailbox. However if the sieve script has an explicit discard, this gets ho

Re: [Dovecot] Shared mailboxes do not support subfolders

2009-12-28 Thread Frank Cusack
On December 28, 2009 4:44:45 PM +0100 Nick Rosier wrote: Hi, I'm currently running Dovecot 1.2.8 with dbox mailboxes. I've configured the use of shared mailboxes. I'm able to only see the top-level mailboxes: e.g. Inbox LogWatch Trash Sent but not LogWatch/Server1 LogWatch/Server2 Is this a k

Re: [Dovecot] sieve vs deliver -m

2009-12-28 Thread Frank Cusack
On December 28, 2009 8:30:11 PM +0100 Stephan Bosch wrote: What exactly are you trying to achieve here? Do you want to execute the Sieve script only when no -m parameter is specified for deliver? Why? You can also use the subaddress extension in Sieve and get rid of the -m parameter altogether.

Re: [Dovecot] sieve vs deliver -m

2009-12-28 Thread Frank Cusack
On December 28, 2009 10:50:32 PM +0100 Stephan Bosch wrote: See the solution I presented elsewhere in this thread. That should do just that. Not if the user has control over his sieve scripts though (in which case anything can happen). -frank

Re: [Dovecot] sieve vs deliver -m

2009-12-28 Thread Frank Cusack
On December 28, 2009 11:02:19 PM +0100 Stephan Bosch wrote: Frank Cusack wrote: On December 28, 2009 10:50:32 PM +0100 Stephan Bosch wrote: See the solution I presented elsewhere in this thread. That should do just that. Not if the user has control over his sieve scripts though (in which

[Dovecot] disable lazy_expunge for some mailboxes?

2009-12-28 Thread Frank Cusack
How to disable lazy_expunge for certain mailboxes? My problem is I have a public namespace, whose mail is on a different filesystem than user mails. Some users are allowed to expunge on this shared mailbox, but lazy_expunge is stopping that from working since the mail has to cross a filesystem b

Re: [Dovecot] Shared mailboxes do not support subfolders

2009-12-28 Thread Frank Cusack
On December 29, 2009 12:06:06 AM +0100 Nick Rosier wrote: Shared as in user-shared mailboxes. I think it was a mailclient (TB) problem. After subscribing from webmail (roundcube) I'm able to see them. I will do some more testing to see if I can reproduce. Did you read the bottom of

Re: [Dovecot] dovecot-shared

2009-12-29 Thread Frank Cusack
On December 29, 2009 1:59:53 AM -0500 Timo Sirainen wrote: Yeah, that's been in todo for a while. I'd probably make dovecot-shared file have options: I was just thinking today it would be nice to have per-USER private or shared. So e.g. all users by default might share \Seen \Answered but som

Re: [Dovecot] dovecot-shared

2009-12-29 Thread Frank Cusack
On December 29, 2009 4:49:56 PM -0500 Timo Sirainen wrote: On Tue, 2009-12-29 at 03:03 -0500, Frank Cusack wrote: On December 29, 2009 1:59:53 AM -0500 Timo Sirainen wrote: > Yeah, that's been in todo for a while. I'd probably make dovecot-shared > file have options: I w

Re: [Dovecot] dovecot-shared

2009-12-30 Thread Frank Cusack
On December 29, 2009 3:03:56 AM -0500 Frank Cusack wrote: I was just thinking today it would be nice to have per-USER private or shared. So e.g. all users by default might share \Seen \Answered but some admin users have private \Seen, and don't have to worry about resetting the \Seen flag

Re: [Dovecot] disable lazy_expunge for some mailboxes?

2009-12-30 Thread Frank Cusack
On December 29, 2009 5:20:40 PM -0500 Timo Sirainen wrote: That's not intentional. Even if they were in same filesystem, it shouldn't do that. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/029c3afcfbd0 looks great. i won't be able to test until after the weekend but it sure looks like how i wa

[Dovecot] 1.2.9 -llber

2009-12-31 Thread Frank Cusack
1.2.9: configure: Added -llber to ldap libs. Fixes linking in some systems. and breaks it on others. Sun Solaris' native ldap library does not have a separate liblber. I normally check for ber_free in libldap, then in liblber, then fail. -frank

Re: [Dovecot] disable lazy_expunge for some mailboxes?

2010-01-02 Thread Frank Cusack
On December 29, 2009 5:20:40 PM -0500 Timo Sirainen wrote: That's not intentional. Even if they were in same filesystem, it shouldn't do that. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/029c3afcfbd0 works for me

Re: [Dovecot] imap default separator ignored?

2010-01-03 Thread Frank Cusack
On January 3, 2010 6:16:18 PM +0100 Harald Dunkel wrote: What is supposed to happen if I try to create a folder named "a.b" in this configuration? Since '.' is not a separator character anymore, and since the client doesn't know anything about the internals of Dovecot, I do not see why Dovecot c

[Dovecot] stripping attachments

2010-01-08 Thread Frank Cusack
there is a windows tool that strips attachments from emails on the server. i think it works for exchange. is there a tool or a way to do this for imap? i don't mean a mail filter that would strip them before the user sees them, i mean that the user could actively cooperate to reduce mail storag

[Dovecot] outlook 2007 can't see public folders more than 1 deep

2010-01-08 Thread Frank Cusack
dovecot-1.2.9 I have a public folder using ACLs to determine who can access it. namespace public { separator = / prefix = shared/ location = maildir:/var/maildir/shared subscriptions = no } Outlook 2007 can't see any folders except at the top level. It can create them just fine, but can't

Re: [Dovecot] "leave mail on server" workaround

2010-01-10 Thread Frank Cusack
On January 10, 2010 1:34:25 AM +0100 Kirill Miazine wrote: What would be the best way to disallow them using such approach. That is, what is the best way to force deletion of messages that have been RETRieved in a POP session at the end of that POP session? RETRieved messages will be marked as

[Dovecot] shared namespaces with common prefix prefix

2010-01-14 Thread Frank Cusack
Can shared/public namespaces' prefixes have a common prefix? :) namespace public { separator = / prefix = zz/shared/ location = maildir:/var/maildir/shared:INDEX=/var/maildir/%n/shared subscriptions = no } # to share other employees mailboxes (term'd or admin access) namespace shared { separ

Re: [Dovecot] shared namespaces with common prefix prefix

2010-01-14 Thread Frank Cusack
On January 14, 2010 2:22:08 PM -0500 Frank Cusack wrote: # to share other employees mailboxes (term'd or admin access) namespace shared { separator = / prefix = zz/shared/%%u/ location = maildir:/var/maildir/%%n:INDEX=/var/maildir/users/%%u subscriptions = no list = children }

[Dovecot] listen to imap*s* on multiple ports?

2010-01-15 Thread Frank Cusack
is out of date. How can I listen to ssl-wrapped IMAP on multiple ports? I need to listen on both 993 (for some stupid clients I have to support that can't do START

Re: [Dovecot] shared namespaces with common prefix prefix

2010-01-19 Thread Frank Cusack
On January 19, 2010 2:54:35 PM +0200 Timo Sirainen wrote: Right. Another thing that seems a bit scary is that you sometimes use %n and sometimes %u. If %n is enough to identify the user, maybe it should be consistently used everywhere? That was intentional.

Re: [Dovecot] outlook 2007 can't see public folders more than 1 deep

2010-01-20 Thread Frank Cusack
On January 12, 2010 4:29:42 PM +0200 Timo Sirainen wrote: On 9.1.2010, at 4.22, Frank Cusack wrote: Outlook 2007 can't see any folders except at the top level. It can create them just fine, but can't see them after quit and restart. Get the IMAP traffic between Outlook and Dov

[Dovecot] format of file dict

2010-01-22 Thread Frank Cusack
For shared (between users) mailboxes, I am using a file dict. plugin { acl_shared_dict = file:/etc/dovecot/acl_shared_dict/shared.db } What is the format of this file? I would like to manage it directly rather than have SETACL update it. I see lines which describe a sharing entry (the format

[Dovecot] mailbox format w/ separate headers/data

2010-01-22 Thread Frank Cusack
In the future, it would be cool if there were a mailbox format (dbox2?) where mail headers and each mime part were stored in separate files. This would enable the zfs dedup feature to be used to maximum benefit. In the zfs filesystem, there is a dedup feature which stores only 1 copy of duplicate

Re: [Dovecot] mailbox format w/ separate headers/data

2010-01-22 Thread Frank Cusack
On January 22, 2010 11:05:22 PM +0200 Timo Sirainen wrote: Dunno about zfs, but I've heard that at least in one NetApp installation deduplication was way too heavyweight. zfs dedup is pretty resources intensive -- for writes. For mail I suspect reads overwhelm writes? -frank

Re: [Dovecot] mailbox format w/ separate headers/data

2010-01-22 Thread Frank Cusack
On January 22, 2010 11:05:22 PM +0200 Timo Sirainen wrote: On Fri, 2010-01-22 at 15:53 -0500, Frank Cusack wrote: In the future, it would be cool if there were a mailbox format (dbox2?) where mail headers and each mime part were stored in separate files. This would enable the zfs dedup feature

Re: [Dovecot] mailbox format w/ separate headers/data

2010-01-22 Thread Frank Cusack
On January 22, 2010 11:21:09 PM +0200 Timo Sirainen wrote: Or will there be a global index? Yes. That's what dbox SIS is about. You have a global repository of (large) MIME parts, indexed by their SHA1 sum (or something). In the case of zfs then, the filesystem may as well do the dedup'ing.

Re: [Dovecot] mailbox format w/ separate headers/data

2010-01-22 Thread Frank Cusack
On January 22, 2010 11:44:07 PM +0200 Timo Sirainen wrote: On 22.1.2010, at 23.39, Frank Cusack wrote: On January 22, 2010 11:21:09 PM +0200 Timo Sirainen wrote: Or will there be a global index? Yes. That's what dbox SIS is about. You have a global repository of (large) MIME

[Dovecot] maildir on zfs (was: mailbox format w/ separate headers/data)

2010-01-22 Thread Frank Cusack
On January 22, 2010 9:03:42 PM -0500 Charles Sprickman wrote: Sorry for the tangent, You should probably start a new thread when changing the subject. Then you don't have to be sorry. :) but I wonder if anyone here is running lots of Maildirs on zfs? When you say "lots of Maildirs" I assu

  1   2   >