Re: Patch for doveadm -f table nit (was Re: Dovecot current number of connections being used.)

2015-03-19 Thread Willem Jan Withagen
On 19-3-2015 9:30, Gedalya wrote:
 On 03/18/2015 08:49 PM, Timo Sirainen wrote:
 There's no reason why flow and pager should write headers to stderr
 because it would always result only in a mess. But instead of changing
 table headers to write to stdout, I think a better fix would be to
 make tab formatter write headers to stderr. Including headers in
 stdout makes it more difficult to write scripts that access the actual
 data. For example now you can do doveadm who -1 | sort and the
 output will work. If headers were written to stdout you'd have to make
 it more complicated. Also you can now easily specify what you want to
 do with the headers, 2/dev/null if you don't care about them or 21
 if you want to include them in stdout (which works even after |sort).

 So, I'll add in my v2.3 TODO that tab formatter should write to stderr..
 
 I've been using -f flow fetch text | sed s/^text=// when training
 spamassasin. Couldn't find a straightforward 'fetch raw message'. Seems
 unnecessarily awkward. Moving headers to stderr would help this, though.

I think that that is sort of forgoing the pupsoe of stderr.

Moving things to stderr for reasons of parsing and other trivia, just
complicates other sysadmin scripts where it is expected that only errors
are written to stderr. I would suggest to write all std-info just to
regular stdout, and deal with reporting tools just there.

just my 2 cts,

--WjW


[Dovecot] Missing IMAP folders

2008-03-04 Thread Willem Jan Withagen

Hi,

I'm fresh starting to use dovecot.
Before this I used bincimap, mainly because it was very simple to config.

I've tried to find the FAQ's and tried searching the archives, but little came 
up.

My current config:
server
FreeBSD i386, postfix 2.4
dovecot 1.0.10
client:
windows 2000
thunderbird 2.0.0.12

after some inital config this starts up, and I even have the advantage that I 
can
save in the Sent folder on the server.

However I have over 3500 folders and most of them are more than 3 levels deep.
And I only get to see the first top level of directories.
Searching and/or subscribing does not bring anything.

Does somebody have pointers on how to fix this, other than manually trying to
recreate al subscriptions.

--WjW



Re: [Dovecot] Missing IMAP folders

2008-03-04 Thread Willem Jan Withagen

Timo Sirainen wrote:

On Mar 4, 2008, at 1:44 PM, Willem Jan Withagen wrote:

However I have over 3500 folders and most of them are more than 3 
levels deep.

And I only get to see the first top level of directories.
Searching and/or subscribing does not bring anything.


Are they stored in subdirectories in filesystem? Dovecot v1.1 would 
support that, but v1.0 supports only Maildir++ directory layout. 
http://wiki.dovecot.org/MailboxFormat/Maildir#maildir++


Directories was perhaps the wrong word to use.
No they just follow the maildir format .aaa.bbb.ccc
So ccc is a subfolder of bbb which is a subfolder of aaa

Although I thought that Binc also supported only maildir++ and imapdir, 
and I thought imapdir also used a maildir++-like flat layout?


AFAIK Binc does not understand much other than the basics

--WjW