miro.rovis at croatiafidelis.hr
2013-Oct-02 14:55 UTC
[Dovecot] Dovecot namespace solved while writing; preparing to refilter
Hi! My plea to readers: ==================Pls., people who only want strictly technical issues to read, and frown at any broader context regardless how intrinsically related, but not strictly technically related, it might be, skip all the way, all the way to, search for exact words: "strictly technical" or visually, find two lines of sole "===" characters. Thank you! Upon umptieth failure, and having cloned the system onto another same arch, much more: same MBO-model box (cloning and restoring clean is my defence to get the system into as clean a state as can be, after any longer time online --I had had systems comprimised, and now I am a little paranoid)... So, after weeks of some failures in some phases of installations of dovecot and friends (as explained further in this text), I cloned the same system, but from previously taken clean backup, used it some time, and now I want to update the mailbox back because now the first system is in clean state, having I restored from clean backup... This is a Debian weekly testing install, which I clone btwn two same MBO-model boxes to keep it as clean as a non-expert user like me can have it... To a large extent I do trust installing and update/upgrading my systems from the weekly builds (but hey, why don't they PGP-sign those as kernel tarballs and as Grsecurity or Tor-browser tarballs are signed? any Debian developer reading this, why not?)... because I can check with some trust the weekly builds' sums for integrity, but how and why could or would I trust simply installing anything straight from the internet? By cloning (I used to dd disk dump when cloning, but nowadays it seems faster and reliable enough with Sysresccd's fsarchiver, so I dd just the small boot partition), by cloning I keep the system as close to clean as those non-pgp-signed weekly builds allow... Now add to that that the real FFmpeg is not allowed into Debian, and I am a fan of it (I very much use it, it's running almost all the time, on some or other of my systems), but you have to get it through deb-multimedia.org if you want it on Debian (what freedom is that, banning programs from official repositories?!)... and add to that that I want Grsecurity/Pax at all cost, in my system, and not: http://www.nsa.gov/research/selinux/ which I don't want in my system, at all cost, but to which the Debian current leadership seems to be total-blind-fidelity bound to... Add those and you get pretty much all the basic ingredients of my fight for freedom and true privacy which are layed siege onto in the GNU/Linux Operating System and the few related other free OS's, in most of its flavors and branches and deployments of the day, from the outside and also from the inside. Because even with the long-delayed-in-updating gNewSense, for insufficient developer power (I mean: too few), probably, what's the use of the fine deblobbed kernel if they put SELinux into it? Where's freedom with what I suspect can not be other than fake security with surreptitious surveillance? (BTW, go and ask people, but not loudly, who compile their Gentoo's --there' a link to my short post on forums.gentoo.org a few lines below-- like I compile (on other systems of mine), only a minority of very uninformed or some special entities' aficionados use anything other than Grsecurity on their Hardened Gentoos --and Gentoo is unquestionably the leader in hardening-- it's not just me, it's only that I am loud about it)... But I also tried to call this issue to GNU-freedom seeking people's attention such as here: https://lists.nongnu.org/archive/html/gnewsense-users/2013-09/msg00001.html and entire thread: Grsecurity on gNewSense, but for real? I didn't mean to dwell on these issues here, and it is not the reason I write my messege to dovecot-mailing list, but this is the broad perspective of my, and I am sure not only my case, of my deployment of dovecot and broadly these are the reasons why I deploy it on my system. No, this broader picture I don't think is not off-topic. I did think hard about it... No, I believe it is good to mention these issues in this post-Snowden era when the scale and scope of total surveillance can not be successfully sneered and scoffed at and dismissed, like some "exceptional" (Obama talking to the U.S. of A. nation in September 2013, in his quest for support, thankfully lacking, of then being planned Iraq-2003-like-in-pretence-and-lies attack-to-be on Syria)... like some "exceptional" people would want it (that's the Gentoo Forum's link mentioned above)... http://forums.gentoo.org/viewtopic-t-967806.html A case of actual protection of my Gentoo box by Grsecurity At least these issues should not be anymore successfully sneered and scoffed at and dismissed, but we're all less and less free as mankind... And, since I don't connect to my SOHO network the box which I open to the internet, I have mails to refilter into the very probably clean cloned box... And I need to refilter using dovecot (which I finally got to work)... These lines, all the dozen or so paragraphs from the beginning up unto here, do appear first for reading, but are written just about all the very last, after the rest of the text below has already been written, except the final proofreading notes intersparsed). ========================================================================================================================================================Now nearly only strictly technical I go, for the sake of people who prefer so. That maildir mailbox being all poorly sorted (I must have made other mistakes, I am just still new and generally lack expertise in all these true mailer tools; but very impressed I am with them! thanks Sirainen, thanks Varshavchik, thanks MuttDude, thanks Venema, and all, I admire you people!), so I removed the old Maildir and I made this scriptlet: This is my configuration: me at mybox:# dovecot -n # 2.1.17: /etc/dovecot/dovecot.conf # OS: Linux 3.10.9-grsec-130827 x86_64 Debian jessie/sid auth_debug = yes mail_debug = yes mail_location = maildir:~/Maildir:LAYOUT=fs mail_plugins = acl quota mail_privileged_group = mail namespace { hidden = yes inbox = yes list = no location = mbox:~/mail:INBOX=/var/mail/%u prefix = "#mbox/" separator = / } namespace { location = maildir:~/Maildir prefix separator = / } passdb { args = dovecot driver = pam } protocols = " imap" ssl_cert = </etc/dovecot/dovecot.pem ssl_key = </etc/dovecot/private/dovecot.pem userdb { driver = passwd } protocol imap { mail_plugins = acl quota imap_acl imap_quota mail_log notify } me at mybox:# cd ~ maildirmake Maildir maildirmake -f Drafts Maildir/ maildirmake -f Sent Maildir/ maildirmake -f someFolder1 Maildir/ maildirmake -f someFolder2 Maildir/ maildirmake -f someFolder2.Facebk Maildir/ One note: pls. don't get me wrong, I hate Stasibook (Facebk above is less typing, but it's for Facebook mail), I just would like to learn enough to teach and get at least some of my friends who "socialize" there out of reach of those stasi-like entities that Zuck and his Gang serve all the "socializing" users' data to, which is so hard a task for me to do, but which desire keeps me moving in this steep-learning-curve quest of mine that got me this far where I am now, with dovecot and other tools. That is the reason I am still subscribed there, to be able to follow what my people do, occasionally. I'm not logging into that walled-off sewage-like stasi hole featuring as virtual garden! I saved that scriplet as maildirmake_00.sh, then $ chmod 755 maildirmake_00.sh and ran it. me at mybox:~$ ./maildirmake_00.sh And I have, I guess so far, all correct: me at mybox:~$ ls -la Maildir/ total 40 drwx------ 10 mr mr 4096 Oct 1 23:06 . drwxr-xr-x 33 mr mr 4096 Oct 1 23:06 .. drwx------ 2 mr mr 4096 Oct 1 23:06 cur drwx------ 5 mr mr 4096 Oct 1 23:06 .Drafts drwx------ 5 mr mr 4096 Oct 1 23:06 .someFolder1 drwx------ 5 mr mr 4096 Oct 1 23:06 .someFolder2 drwx------ 5 mr mr 4096 Oct 1 23:06 .someFolder2.Facebk drwx------ 2 mr mr 4096 Oct 1 23:06 new drwx------ 5 mr mr 4096 Oct 1 23:06 .Sent drwx------ 2 mr mr 4096 Oct 1 23:06 tmp me at mybox:~$ I really hope no mistake I made so far. someFolder1 and someFolder2 are for two different servers I get my mail from. Will probably need to tell some more about them later if the thread develops, when the problems I have are more fully explained/solved/expanded. Now the dovecot. It has, in Debian, and I'm on weekly testing branch, currently up to date, actually last week's, that's just a little behind... It has 15-mailboxes.conf like this (only pasting non-commented lines), /etc/dovecot/conf.d/15-mailboxes.conf namespace inbox { mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Trash { special_use = \Trash } mailbox Sent { special_use = \Sent } } [ here is a time lapse of cca 5-10 hours ] Well, since I began writing, I realized that I can get the namespace to work properly, but exactly only without the above: /etc/dovecot/conf.d/15-mailboxes.conf (I mean with all the lines above commented out) It kept telling me this (in the logs I find): Error: user me: Initialization failed: namespace configuration error: Duplicate namespace prefix Let me first say that it's I finally got closer to solution, and saw directories with mutt as ~/Maildir/this/that instead of what maildirs are: ~/Maildir/.this.that only after getting the following in the 10-mail.conf /etc/dovecot/conf.d/10-mail.conf: mail_location = maildir:~/Maildir:LAYOUT=fs mail_plugins = acl quota namespace { separator = / location = mbox:~/mail:INBOX=/var/mail/%u inbox = yes hidden = yes list = no } namespace { separator = / prefix location = maildir:~/Maildir } It's what is recommended in <Namespaces.txt> on the wiki and maybe other places. But only after the 15-mailboxes.conf was completely commented out. Now I can view my mailbox from anywhere on my network, I guess (tried from the other box and from the same box with mutt, it works!). So namespace is solved I guess. However, for my mail system to completely function in the right GNU/Linux way, I have to get more GNU good things together in harmony. Naming some of the other dovecot friends: *getmail*, which hands on to *maildrop* for delivery... And *postfix* with TLS for sending mail, via 465 port, *stunnel*... That bit feels daunting to me, really... This namespace thing also cost me a few ounces of raw nerves and some occasional darkness in feelings... The worse is still before my mind constantly: still not being able to send mail the normal way, since the normal way is simply not in cleartext anymore... I probably could just fine sent to port 25, but after all the political persecution and censorship that as homeland-living dissident I suffered and still suffer, I don't see that as a solution at all... The obscured morale that I was upon me for a while is due to that stunnel connection not being yet set up... So, sending this from the web yet, I guess (prepared upfront, jealous of my time fixing systems that suffer from strange behavior or break whenever I'm longer online)... However, since I have been writing this not really hoping to get the namespace working in the process (quite a few days I spent on it, and weeks on mail system altogether, I can only hope to get the stunnel right if I really study it as if attending university classes, I'm afraid, just like the hurdles that I went finally past cost me real studying your manuals, my GNU freedom heros!)... ...And this message I having had started some five or ten hours ago [ before the final broader picture paragraphs that are all in the beginning part of the message; this very note is at the time of the very last proofreading ], now I see that I went different direction before discovering the setup for namespace that worked for me. How I used maildirmake (it's the maildrop's not the dovecot's one) I thought but now see doesn't probably have much to do with the solution for namespace I found. I leave it there though, because I need to fix the mailbox by refiltering it, with the aid of the dovecot server, similar to how it is explained in: http://wiki.dovecot.org/HowTo/RefilterMail Because I got some syntax wrong in ~/.mailfiler for the maildrop MDA, and then I got some of those wrongly named (numbered, no a-z, only 0-9 digits in names) fake mailing-list folders that can be seen in my post on mutt mailing-list: http://marc.info/?l=mutt-users&m=138021971816188&w=2 (the .muttrc however is completely different now, sure, than in that link) I hope the main, the namespace dovecot part of this message may elicit someone's advice, if they got past that phase with the 15-mailboxes.conf at its default. Or it is explained in the manuals I need to give a second or a third read to understand them... And I'll be back to report if I made ordered mails in my Maildir right with the refiltering. Just pls. allow time, I'm a late adopter, I'm 56 years of age, can't make these things as quick as you youngsters do it. Thanks for the fine Dovecot mail server! Miroslav Rovis Zagreb, Croatia
miro.rovis at croatiafidelis.hr
2013-Oct-06 04:38 UTC
[Dovecot] Dovecot namespace solved while writing; preparing to refilter
Since I still have to send mail from web, I may not be able to get this message as a reply to my previous mail, but it belongs to this same thread: http://www.dovecot.org/list/dovecot/2013-October/092810.html Some of the work I have now done. I can now easily, lest some hurdle shows up, use a script based on the one I mentioned (here it is again: http://wiki.dovecot.org/HowTo/RefilterMail ), but I used maildrop, having harkened to the advice by the author of Debian Reference, Osamu Aoki: http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_the_remote_mail_retrieval_and_forward_utility http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_mail_delivery_agent_mda_with_filter So while, after connecting with the password, I wait some 5 or 10 minutes (the machines I install/clone Debian onto are old machines) for all the mail from the other Dovecot on the other machine, same MBO and all, as I explained in the previous message, again; I am preparing this before going online, I haven't see if there are any replies in the last maybe 40 hours)... me at mybox2:~$ getmail getmail version 4.43.0 Copyright (C) 1998-2012 Charles Cazabon. Licensed under the GNU GPL version 2. SimpleIMAPSSLRetriever:me at mybox1.myfantasydomain:993: read_all and not delete -- all messages will be retrieved each time getmail is run SimpleIMAPSSLRetriever:me at mybox1.myfantasydomain:993: Enter password for SimpleIMAPSSLRetriever:me at mybox1.myfantasydomain:993: The: me at mybox2:~$ getmail command that I issued has just churned out all the 2945 messages into my homefolder here. And this is the previously prepared ----%<-------------------------------------------------------- $ cat ~/.getmail/getmailrc [retriever] type = SimpleIMAPSSLRetriever server = mybox1.myfantasydomain username = mr mailboxes= ALL [destination] type = MDA_external path = /usr/bin/maildrop unixfrom = True [options] verbose = 2 delete = False read_all = True delivered_to = False message_log = ~/.getmail/Mrinet_refilter.log ----%<-------------------------------------------------------- Not much talk needed about the getmailrc above, because it's all in the getmail manual, faq, and places. Sure, I also, prepared .mailfilter, for the maildrop, the fine program that nicely put all mails where I decided I wanted them! ----%<-------------------------------------------------------- $ cat ~/.mailfilter # ~/.mailfilter # based on: # http://www.wonkity.com/~wblock/docs/html/maildrop.html TYPE="maildir" logfile "$HOME/.mailfilter.log" ECHO="/bin/echo" MAIL="/usr/bin/mail" MAILDIRMAKE="/usr/bin/maildirmake" REFORMAIL="/usr/bin/reformail" MBOX=($TYPE =~ /mbox/) MAILDIR=($TYPE =~ /maildir/) # use mbox by default DEFAULT="$HOME/mail" FOLDERS="$DEFAULT/" if ( $MAILDIR ) { DEFAULT="$HOME/Maildir" FOLDERS="$DEFAULT/." } if ( $MAILDIR ) { `${MAILDIRMAKE} "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS} folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } # filter out duplicate messages `${REFORMAIL} -D 8192 $HOME/.duplicate.cache` if ( $RETURNCODE == 0 ) { log "File: (duplicate) ($SIZE)\n" exit } if (/^(To|Cc|Envelope-To|Delivered-To):.*(miro\.rovis at croatiafidelis\.hr)/) { MYFOLDERDOT="$MATCH2" MYFOLDER=`echo $MYFOLDERDOT|sed 's/\.//g'` if ( $MAILDIR ) { `${MAILDIRMAKE} -f "$MYFOLDER" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}$MYFOLDER list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } # handle mailing list messages automatically if ( /^List-Id:.*<([0-9A-Za-z_\.\-]+)/ ) { LISTNAMEDOT="$MATCH1" LISTNAME=`echo $LISTNAMEDOT|sed 's/\.//g'` # don't create a folder for Mailman status messages, just deliver them if ( $LISTNAME =~ /Mailman/ ) to $DEFAULT if ( $MAILDIR ) { `${MAILDIRMAKE} -f "$MYFOLDER.$LISTNAME" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}$MYFOLDER.$LISTNAME list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } to ${FOLDERS}$MYFOLDER.$LISTNAME } to ${FOLDERS}$MYFOLDER } if (/^(To|Cc|Envelope-To|Delivered-To):.*(m.rovis at inet\.hr)/) { MYFOLDERDOT="$MATCH2" MYFOLDER=`echo $MYFOLDERDOT|sed 's/\.//g'` if ( $MAILDIR ) { `${MAILDIRMAKE} -f "$MYFOLDER" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}$MYFOLDER list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } if (/^Return-Path:.*@(facebookmail\.com)/) { MY2FOLDERDOT="$MATCH1" MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'` if ( $MAILDIR ) { `${MAILDIRMAKE} -f "${MYFOLDER}.${MY2FOLDER}" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}${MYFOLDER}.${MY2FOLDER} list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } # handle Facebook groups/lists messages automatically if ( /^List-Id:.*<([0-9A-Za-z_\-]+)\.+/ ) { LIST2NAME="$MATCH1" # don't create a folder for Mailman status messages, just deliver them if ( $LIST2NAME =~ /Mailman/ ) to $DEFAULT if ( $MAILDIR ) { `${MAILDIRMAKE} -f "${MYFOLDER}.${MY2FOLDER}.$LIST2NAME" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}${MYFOLDER}.${MY2FOLDER}.$LIST2NAME list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } to ${FOLDERS}${MYFOLDER}.${MY2FOLDER}.$LIST2NAME } to ${FOLDERS}${MYFOLDER}.$MY2FOLDER } if (/^(To|From):.*(childrenofmedugorje at gmail\.com)/) { MY2FOLDERDOT="$MATCH2" MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'` if ( $MAILDIR ) { `${MAILDIRMAKE} -f "${MYFOLDER}.${MY2FOLDER}" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}${MYFOLDER}.${MY2FOLDER} list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } to ${FOLDERS}${MYFOLDER}.$MY2FOLDER } if ( /^From:\s*EWTN\s*<(wings at ewtn.com)>/ ) { MY2FOLDERDOT="$MATCH1" MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'` if ( $MAILDIR ) { `${MAILDIRMAKE} -f "${MYFOLDER}.${MY2FOLDER}" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}${MYFOLDER}.${MY2FOLDER} list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } to ${FOLDERS}${MYFOLDER}.$MY2FOLDER } # handle mailing list messages automatically if ( /^List-Id:.*<([0-9A-Za-z_\.\-]+)/ ) { LISTNAMEDOT="$MATCH1" LISTNAME=`echo $LISTNAMEDOT|sed 's/\.//g'` # don't create a folder for Mailman status messages, just deliver them if ( $LISTNAME =~ /Mailman/ ) to $DEFAULT if ( $MAILDIR ) { `${MAILDIRMAKE} -f "$MYFOLDER.$LISTNAME" "$DEFAULT"` if ( $RETURNCODE == 0 ) { # notify the user when new folders are created NEWFOLDERMSG="${FOLDERS}$MYFOLDER.$LISTNAME list folder created" `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME` } } to ${FOLDERS}$MYFOLDER.$LISTNAME } to ${FOLDERS}$MYFOLDER } ----%<-------------------------------------------------------- Here is my .muttrc, to show nearly all the components of my setup, which I hope to be using for mail.. I really understand only now, that the basis is really e-mail, not the browsers, or other things, for the life on the internet... That the basis is really e-mail these days on Russia Today said also Ladar Levison, the Lavabit.com founder that fought for his users' privacy all the way to losing his business. I admire people of such integrity and humanity! Not like the Canadian Hushmail which sold NSA's whistleblower Thomas Drake... Who says I don't like people from NSA. I highly regard him, and Ross Tice, and some others! It's the usual perception most of people have, that email is less important/less advanced, whatnot, not just me, but not delving into it here. I'm yet to see if my "broader picture" provoked any angry reactions... (Note while proofreading: No reactions, neither good nor bad, I just saw.) But I hope this will be technical enough now and to the completion of this thread... I haven't found anywhere other then on the www.wonkity.com, the address that I gave above, examples for maildrop, so I hope other users will find mine useful, which will be source of content for me... I invested time and effort to arrange those lines. Just let me give you the .muttrc (and completely without the unrelated settings for this story), because the dominant talk is about the maildrop, not the other two configuration files. ----%<-------------------------------------------------------- $ cat ~/.muttrc set mbox_type="maildir" set spoolfile=imaps://me at mybox2/ set folder=imaps://me at mybox2/ set ssl_starttls=yes set ssl_force_tls=yes set imap_passive ----%<-------------------------------------------------------- What I got with that maildrop in my Dovecot, and it would need some functions set, because I used too much pastion to get same work repeated on different input, but I don't know hot to do it, and it is by no means urgent, since I achived all the refiltering and in the way I wanted it, is I decided I wanted all mail in folders by the e-mail address by which I recieve them, and used the usual List-Id header to sort mails into up to two levels deeper, exactly for the famous yukky Stasimail, oh, sorry! I meant zucky Facebookmail. Also it would be great to check for existance of a foled before attemting to create it... It hasn't been yet urgent to me, and I am rather exhausted now, not only from this coding, but also because I got the tumbleweed pollen allergy (American native plant, brought here as ornamental plant in Columbo's time, but nauseating/suffocating (but rarely to death), fever causing to lots of people in Europe, through allergy, so I was also bed-ridden much of the time... and I am not well neither as I am writing this, so not much of proofreading before sending this. And to check for existance I guess it's with ... ~= ( some expression) of folders, so not to get an error on every fail attempt at creating folders as Warren Block explained here: http://www.wonkity.com/~wblock/docs/html/maildrop.html#_em_maildir_em_compatibility , and maybe improve those lines by using some foreach loop or some such means... Ah, notice that I start with no folder whatsoever, neither mbox not maildir type, I let the script do it all in my /home/mr! The .mailfilter settings above for maildrop upon completion of refiltering gave me, in my mutt, not going back to no GUIs no more, thanx so kindly!, but no love lost there, with all your Java and Javascript and stinking popup windows out of nowhere and rummiging in my machine which I in no way provoked, let alone initiated, and most certainly not acquiesced to... So this is, with a few copy-pastes (just the Mutt fine colors will be missing): y:Exit c:Chdir m:Mask ?:Help 1 IMAP + INBOX/ 2 IMAP + mirorovis at croatiafidelishr/ 3 IMAP + mirovis at inethr/ 4 IMAP + mrovis at inethr/ /\ /\ /\ /\ /\ /\ /\ / / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \/ \/ \/ \/ \/ \/ \/ -- Mutt: Directory [imaps://me at mybox2/], File mask: !^\.[^.] y:Exit c:Chdir m:Mask ?:Help 1 IMAP ../ 2 IMAP dovecotdovecotorg /\ /\ /\ /\ /\ /\ /\ / / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \/ \/ \/ \/ \/ \/ \/ -- Mutt: Directory [=mirorovis at croatiafidelishr/], File mask: !^\.[^.] y:Exit c:Chdir m:Mask ?:Help 1 IMAP ../ 2 IMAP dmo-discussiondeb-multimediaorg 3 IMAP gnewsense-usersnongnuorg 4 IMAP helpdeskiskonhr /\ /\ /\ /\ /\ /\ /\ / / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \/ \/ \/ \/ \/ \/ \/ -- Mutt: Directory [=mirovis at inethr/], File mask: !^\.[^.] y:Exit c:Chdir m:Mask ?:Help 1 IMAP ../ 2 IMAP alsa-userlistssourceforgenet 3 IMAP blfs-supportlinuxfromscratchorg 4 IMAP childrenofmedugorje at gmailcom 5 IMAP cinelerraskolelinuxno 6 IMAP cjeniklosthr 7 IMAP dailydavelistsimmunityinccom 8 IMAP debburn-devellistsaliothdebianorg 9 IMAP + facebookmailcom/ 10 IMAP ffmpeg-userffmpegorg 11 IMAP gnewsense-usersnongnuorg 12 IMAP listalosthr 13 IMAP mencoder-usersmplayerhqhu 14 IMAP mplayer-usersmplayerhqhu 15 IMAP userslistsclaws-mailorg 16 IMAP wings at ewtncom 17 IMAP wireshark-announcewiresharkorg 18 IMAP wireshark-userswiresharkorg /\ /\ /\ /\ /\ /\ /\ / \/ \/ \/ \/ \/ \/ \/ -- Mutt: Directory [=mrovis at inethr/], File mask: !^\.[^.] It's this last directory, i.e. this e-mail address that has the most of the folders. So I'll show how I got all the Facebookmail in one folder, and devided by its' groups/lists you name what they are. y:Exit c:Chdir m:Mask ?:Help 1 IMAP ../ 2 IMAP 109806486481 3 IMAP 114674985270726 4 IMAP 116954758434576 5 IMAP 132773866800887 6 IMAP 141591592620540 7 IMAP 147623871992079 8 IMAP 148721478521575 9 IMAP 158927160843505 10 IMAP 166374096744320 11 IMAP 177486422318814 12 IMAP 178566045493622 13 IMAP 191938787541916 14 IMAP 195731330459694 15 IMAP 199083346818377 16 IMAP 203424869671315 17 IMAP 248203298232 18 IMAP 259057640810411 19 IMAP 312893169439 20 IMAP 37080471529 21 IMAP 77789534513 22 IMAP australiacroatiaunited 23 IMAP domovinausrcu 24 IMAP hrperoistine 25 IMAP hrvatirimokatolici 26 IMAP hrvatskastraza 27 IMAP nacionalist 28 IMAP stopkrscanofobiji 29 IMAP zakonoovrsi -- Mutt: Directory [=mrovis at inethr/facebookmailcom/], File mask: !^\.[^.] I didn't need any rudimentary ASCII drawing to represent the blank lines cut out, because this is all the Stasi lists/groups here. The fact that some are named in numbers and not in [a-z] is only because that is the first part of the address, before @facebookmail.com part. Not touching that, no need to spend time on those... If there is some user who would like to have any more explanaion on this, I can try and tell more, but I know most of the users here know more and can do better that I, so I leave the talk now. I'll take a few looks back to see if I got any replies, just I can't do it in very frequent periods at all. I also have a few issues probably for the Mutt people to solve, the issues I suspect are with Mutt, but they are not urgent either. And also, not major issue, I tried sticking :DIRNAME=mAildir to the end of my mail_location line, but it simply didn't work, I mean, as per: http://wiki2.dovecot.org/MailLocation/Maildir I will try and get the stunnel to get my outgoing mail on the 465 port with TLS, but that is not an issue related here at all I think. Thanks again to you fine developers for these great programs. Timo Sirainen, you are greatly appreciated here, and my respect for your fine country Finland, and for your nation! Miroslav Rovis Zagreb, Croatia