Re: [Dovecot] Problems with listescape and mutt

2009-12-10 Thread Christian Schmidt
Hello Daniel,

Daniel Spannbauer, 09.12.2009 (d.m.y):

> Hmmm, there is truely a small script, which lets mutt find the folders:
>
> mailboxes `echo -n "+ "; find ~/.maildir -maxdepth 1 -type d -name ".*"  
> -printf "+'%f' "`
>
> Hmm, I think this is the error

With find you are doing a *file system*-based search...

Gruss/Regards,
Christian Schmidt

-- 
You may be recognized soon.  Hide.


Re: [Dovecot] Problems with listescape and mutt

2009-12-09 Thread Daniel Spannbauer



Nicolas KOWALSKI schrieb:

Daniel Spannbauer  writes:


my ~.muttrc is completly empty. But in my globnal /etc/Muttrc there
are some configs.


IMHO, there is a script somewhere in your configuration generating the
list of mailboxes, and it generates it wrong, probably because it
thinks that the maildir structure is of the type LAYOUT=FS, and not
Maildir++.


Hmmm, there is truely a small script, which lets mutt find the folders:

mailboxes `echo -n "+ "; find ~/.maildir -maxdepth 1 -type d -name ".*" 
-printf "+'%f' "`


Hmm, I think this is the error


Regards

Daniel






folder="imap://d...@homedirs/"
spoolfile="imap://d...@homedirs/INBOX"


This is fine.


postponed="imap://d...@homedirs/.Drafts"
record="imap://d...@homedirs/.Sent"


This is wrong.


imap_list_subscribed is set


Not sure about this one, because you told that there were no dots in
the subscription file.



--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München



Re: [Dovecot] Problems with listescape and mutt

2009-12-09 Thread Nicolas KOWALSKI
Daniel Spannbauer  writes:

> my ~.muttrc is completly empty. But in my globnal /etc/Muttrc there
> are some configs.

IMHO, there is a script somewhere in your configuration generating the
list of mailboxes, and it generates it wrong, probably because it
thinks that the maildir structure is of the type LAYOUT=FS, and not
Maildir++.


> folder="imap://d...@homedirs/"
> spoolfile="imap://d...@homedirs/INBOX"

This is fine.

> postponed="imap://d...@homedirs/.Drafts"
> record="imap://d...@homedirs/.Sent"

This is wrong.

> imap_list_subscribed is set

Not sure about this one, because you told that there were no dots in
the subscription file.

-- 
Nicolas


Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Daniel Spannbauer



Nicolas KOWALSKI schrieb:

Daniel Spannbauer  writes:


Hmm, I log in with mutt over the dovecot imap, so a "c" shows exactly:


 1   0 imap://d...@homedirs/ 


 2   0 imap://d...@homedirs/.ADMIN
 3   0 imap://d...@homedirs/.DOVECOT
 4   0 imap://d...@homedirs/.Drafts


It looks like you have defined this list in your ~/.muttrc mailboxes
variable. The rawlog you showed later also indicates these mailboxes
do not exist.


my ~.muttrc is completly empty. But in my globnal /etc/Muttrc there are 
some configs.

I attached to this mail the output of mutt -D.




What about this setting instead:

set folder=imap://d...@homedirs/
mailboxes \
  =ADMIN \
  =DOVECOT \
  =Drafts \
  ... \
  ...



Hmmm, we have 250 Users here. I don't want to set the mailboxes for each 
user seperatly. I hoped that I could do the whole configuration over the 
global /etc/Muttrc.


Regards

Daniel




--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
abort_nosubject=ask-yes
abort_unmodified=yes
alias_file="/mnt/home/ds/.muttrc"
alias_format="%4n %2f %t %-10a   %r"
allow_8bit is set
allow_ansi is unset
arrow_cursor is unset
ascii_chars is unset
askbcc is unset
askcc is unset
attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
attach_sep="
"
attach_split is set
attribution="On %d, %n wrote:"
autoedit is set
auto_tag is unset
beep is set
beep_new is unset
bounce=ask-yes
bounce_delivered is set
braille_friendly is unset
charset="iso-8859-1"
check_new is set
collapse_unread is set
uncollapse_jump is unset
compose_format="-- Mutt: Compose  [Approx. msg size: %l   Atts: %a]%>-"
config_charset=""
confirmappend is set
confirmcreate is set
connect_timeout=30
content_type="text/plain"
copy=yes
crypt_use_gpgme is unset
crypt_autopgp is set
crypt_autosmime is set
date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z"
default_hook="~f %s !~P | (~P ~C %s)"
delete=ask-yes
delete_untag is set
digest_collapse is set
display_filter=""
dsn_notify=""
dsn_return=""
duplicate_threads is set
edit_headers is unset
editor="me"
encode_from is unset
envelope_from_address=""
escape="~"
fast_reply is unset
fcc_attach is set
fcc_clear is unset
folder="imap://d...@homedirs/"
folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
followup_to is set
force_name is unset
forward_decode is set
forward_edit=yes
forward_format="[%a: %s]"
forward_quote is unset
from="d...@marco.de"
gecos_mask="^[^,]*"
hdrs is set
header is unset
help is set
hidden_host is set
hide_limited is unset
hide_missing is set
hide_thread_subject is set
hide_top_limited is unset
hide_top_missing is set
history=10
honor_followup_to=yes
hostname="b-login.babenhausen.marco.de"
ignore_list_reply_to is unset
imap_authenticators=""
imap_check_subscribed is unset
imap_delim_chars="/."
imap_headers=""
imap_home_namespace=""
imap_idle is unset
imap_keepalive=900
imap_list_subscribed is set
imap_login=""
imap_pass=""
imap_passive is set
imap_peek is set
imap_servernoise is set
imap_user=""
implicit_autoview is set
include=ask-yes
include_onlyfirst is unset
indent_string="> "
index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
ispell="/usr/bin/ispell"
keep_flagged is unset
locale="C"
mail_check=5
mailcap_path="~/.mailcap:/usr/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap"
mailcap_sanitize is set
header_cache=""
maildir_header_cache_verify is set
header_cache_pagesize="16384"
maildir_trash is unset
mark_old is set
markers is set
mask="!^\.[^.]"
mbox="/mnt/home/ds/mbox"
mbox_type=Maildir
metoo is set
menu_context=0
menu_move_off is set
menu_scroll is unset
meta_key is unset
mh_purge is unset
mh_seq_flagged="flagged"
mh_seq_replied="replied"
mh_seq_unseen="unseen"
mime_forward=no
mime_forward_decode is unset
mime_forward_rest=yes
move=no
message_cachedir=""
message_format="%s"
narrow_tree is unset
net_inc=10
pager="builtin"
pager_context=4
pager_format="-%Z- %C/%m: %-20.20n   %s"
pager_index_lines=10
pager_stop is set
crypt_autosign is unset
crypt_autoencrypt is unset
pgp_ignore_subkeys is set
crypt_replyencrypt is set
crypt_replysign is unset
crypt_replysignencrypted is unset
crypt_timestamp is set
pgp_use_gpg_agent is unset
crypt_verify_sig=yes
sidebar_delim="|"
sidebar_visible is unset
sidebar_width=0
smime_is_default is unset
smime_ask_cert_label is set
smime_decrypt_use_default_key is set
pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"
pgp_good_sign=""
pgp_check_exit is set
pgp_long_ids is unset
pgp_retainable_sigs is unset
pgp_autoinline is unset
pgp_replyinline is unset
pgp_show_unusable is set
pgp_

Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Nicolas KOWALSKI
Daniel Spannbauer  writes:

> Hmm, I log in with mutt over the dovecot imap, so a "c" shows exactly:
>
>
>  1   0 imap://d...@homedirs/ 
>
>  2   0 imap://d...@homedirs/.ADMIN
>  3   0 imap://d...@homedirs/.DOVECOT
>  4   0 imap://d...@homedirs/.Drafts

It looks like you have defined this list in your ~/.muttrc mailboxes
variable. The rawlog you showed later also indicates these mailboxes
do not exist.

What about this setting instead:

set folder=imap://d...@homedirs/
mailboxes \
  =ADMIN \
  =DOVECOT \
  =Drafts \
  ... \
  ...

-- 
Nicolas


Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Timo Sirainen
On Dec 8, 2009, at 9:59 AM, Daniel Spannbauer wrote:

> a0001 LIST "" ""

This doesn't actually list any mailboxes.

> a0002 STATUS ".Drafts" (MESSAGES)

And in the next command it's already using the dot. See if deleting mutt's 
local cache helps. It's anyway clearly mutt bug.

Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Daniel Spannbauer



Steffen Kaiser schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 8 Dec 2009, Daniel Spannbauer wrote:

1   0 imap://d...@homedirs/ 2   
0 imap://d...@homedirs/.ADMIN


The term "homedirs" wonders me, are you sure that mutt is using IMAP and 
not using some other way - I know, the "imap://" suggests otherwise.


You could verify with http://wiki.dovecot.org/Debugging/Rawlog, what 
Dovecot and mutt transmit.


Ok, now I have the rawlog, I try to attach it to this mail.

Regards

Daniel




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSx4OVnWSIuGy1ktrAQK3awgAvRcDwDy7C+LMKwJNhG5IryFACKzU4+fO
Q1u3xn0YSBKDtsC3yyt372Ujj8ZVenifzp1yeXp9zRIlJUOCoD9cpzE6ZF1mJntI
xti8HEjKDoKmINH5+ng3u6AVEFd8S0oHa3li2NLzcer47dGgMukhqk+dGReuu6OR
V6Qd1xTvt3lBrnuvC4JjqtQSzCBsN4FGJhXqM8PEjd2i38R4KRgSD/EpEOz/LBN1
2VYJ9dDpJ2Flhut874am3dwJZjydGtCRaycY4TIPlig4qO5lToqIw/3b6VkZiYPP
/Stjj26T2LOz7jYdPfttNKWf8eREwWSilgcysYiwzjro0969ij2WLw==
=VpqF
-END PGP SIGNATURE-


--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
a0001 LIST "" ""
a0002 STATUS ".Drafts" (MESSAGES)
a0003 SELECT "INBOX"
a0004 FETCH 1:1837 (UID FLAGS INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS 
(DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION 
IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)])
a0005 STATUS ".maildir" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0006 STATUS ".antispam" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0007 STATUS ".nod32" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0008 STATUS ".archiv" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0009 STATUS ".Drafts" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0010 STATUS ".DOVECOT" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0011 STATUS ".Sent Messages" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0012 STATUS ".Melli" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0013 STATUS ".Sent" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0014 STATUS ".Sent Items" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0015 STATUS ".ADMIN" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0016 STATUS ".NX" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0017 STATUS ".Trash" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0018 STATUS ".kde" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0019 STATUS ".xup" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0020 STATUS ".SUSE" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0021 STATUS ".IT-Administrator" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0022 STATUS ".Samba" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0023 STATUS ".ronny" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0024 STATUS ".maildir" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0025 STATUS ".antispam" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0026 STATUS ".nod32" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0027 STATUS ".archiv" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0028 STATUS ".Drafts" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0029 STATUS ".DOVECOT" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0030 STATUS ".Sent Messages" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0031 STATUS ".Melli" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0032 STATUS ".Sent" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0033 STATUS ".Sent Items" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0034 STATUS ".ADMIN" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0035 STATUS ".NX" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0036 STATUS ".Trash" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0037 STATUS ".kde" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0038 STATUS ".xup" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0039 STATUS ".SUSE" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0040 STATUS ".IT-Administrator" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0041 STATUS ".Samba" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0042 STATUS ".ronny" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0043 NAMESPACE
a0044 LSUB "" "%"
a0045 CLOSE
a0046 STATUS ".Drafts" (MESSAGES)
a0047 SELECT ".IT-Administrator"
a0048 STATUS "INBOX" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0049 STATUS ".maildir" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0050 STATUS ".antispam" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0051 STATUS ".nod32" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0052 STATUS ".archiv" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0053 STATUS ".Drafts" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0054 STATUS ".DOVECOT" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0055 STATUS ".Sent Messages" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0056 STATUS ".Melli" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0057 STATUS ".Sent" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0058 STATUS ".Sent Items" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0059 STATUS ".ADMIN" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0060 STATUS ".NX" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0061 STATUS ".Trash" (UIDNEXT UIDVALIDITY UNSEEN MESSAGES)
a0062 STATUS ".kde" (UID

Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Daniel Spannbauer



Steffen Kaiser schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 8 Dec 2009, Daniel Spannbauer wrote:

1   0 imap://d...@homedirs/ 2   
0 imap://d...@homedirs/.ADMIN


The term "homedirs" wonders me, are you sure that mutt is using IMAP and 
not using some other way - I know, the "imap://" suggests otherwise.




homedirs ist just an alias for the server wehre the homedirectorys are. 
Whe have our .maildir in the home-directory.


You could verify with http://wiki.dovecot.org/Debugging/Rawlog, what 
Dovecot and mutt transmit.




Sorry, I can't give you a raw dump. If I configure "mail_executable = 
/usr/lib/dovecot/rawlog /usr/lib/dovecot/imap" in dovecot.conf, I get

"
/etc/rc.d/dovecot restart
Stopping dovecot done
Starting dovecot Fio_loop_handle_add: epoll_ctl(1, 0): Operation not 
permitted

Error: imap dump-capability process killed with signal 13
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
startproc:  exit status of parent of /usr/sbin/dovecot: 89

failed".
So I have to debug this first.

Regards

Daniel




I have one host with a (old) mutt v1.5.13 (2006-08-11), here I see:

 2 IMAP  Drafts
 6 IMAP +INBOX.

The local changes on the mutt-conf are:

set folder=imap://imap.example.com/
set spoolfile=+INBOX
set move=no

Regards,

- -- Steffen Kaiser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSx4OVnWSIuGy1ktrAQK3awgAvRcDwDy7C+LMKwJNhG5IryFACKzU4+fO
Q1u3xn0YSBKDtsC3yyt372Ujj8ZVenifzp1yeXp9zRIlJUOCoD9cpzE6ZF1mJntI
xti8HEjKDoKmINH5+ng3u6AVEFd8S0oHa3li2NLzcer47dGgMukhqk+dGReuu6OR
V6Qd1xTvt3lBrnuvC4JjqtQSzCBsN4FGJhXqM8PEjd2i38R4KRgSD/EpEOz/LBN1
2VYJ9dDpJ2Flhut874am3dwJZjydGtCRaycY4TIPlig4qO5lToqIw/3b6VkZiYPP
/Stjj26T2LOz7jYdPfttNKWf8eREwWSilgcysYiwzjro0969ij2WLw==
=VpqF
-END PGP SIGNATURE-


--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München


Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Daniel Spannbauer



Steffen Kaiser schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 8 Dec 2009, Daniel Spannbauer wrote:

1   0 imap://d...@homedirs/ 2   
0 imap://d...@homedirs/.ADMIN


The term "homedirs" wonders me, are you sure that mutt is using IMAP and 
not using some other way - I know, the "imap://" suggests otherwise.


homedirs ist just an alias for the server wehre the homedirectorys are. 
Whe have our .maildir in the home-directory.




You could verify with http://wiki.dovecot.org/Debugging/Rawlog, what 
Dovecot and mutt transmit.





Sorry, I can't give you a raw dump. If I configure "mail_executable = 
/usr/lib/dovecot/rawlog /usr/lib/dovecot/imap" in dovecot.conf, I get

"
/etc/rc.d/dovecot restart
Stopping dovecot done
Starting dovecot Fio_loop_handle_add: epoll_ctl(1, 0): Operation not 
permitted

Error: imap dump-capability process killed with signal 13
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
startproc:  exit status of parent of /usr/sbin/dovecot: 89

failed".
So I have to debug this first.

Regards

Daniel





I have one host with a (old) mutt v1.5.13 (2006-08-11), here I see:

 2 IMAP  Drafts
 6 IMAP +INBOX.

The local changes on the mutt-conf are:

set folder=imap://imap.example.com/
set spoolfile=+INBOX
set move=no

Regards,

- -- Steffen Kaiser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSx4OVnWSIuGy1ktrAQK3awgAvRcDwDy7C+LMKwJNhG5IryFACKzU4+fO
Q1u3xn0YSBKDtsC3yyt372Ujj8ZVenifzp1yeXp9zRIlJUOCoD9cpzE6ZF1mJntI
xti8HEjKDoKmINH5+ng3u6AVEFd8S0oHa3li2NLzcer47dGgMukhqk+dGReuu6OR
V6Qd1xTvt3lBrnuvC4JjqtQSzCBsN4FGJhXqM8PEjd2i38R4KRgSD/EpEOz/LBN1
2VYJ9dDpJ2Flhut874am3dwJZjydGtCRaycY4TIPlig4qO5lToqIw/3b6VkZiYPP
/Stjj26T2LOz7jYdPfttNKWf8eREwWSilgcysYiwzjro0969ij2WLw==
=VpqF
-END PGP SIGNATURE-


--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München



Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Daniel Spannbauer



Timo Sirainen schrieb:

On Dec 8, 2009, at 1:57 AM, Daniel Spannbauer wrote:


Hmm, I log in with mutt over the dovecot imap, so a "c" shows exactly:


1   0 imap://d...@homedirs/ 
2   0 imap://d...@homedirs/.ADMIN

3   0 imap://d...@homedirs/.DOVECOT

..

This is the folder-List.


Wonder if it's showing your subscriptions list? Are there dots in your 
subscriptions file?


No, there are no dots.





You could try what the actual IMAP traffic looks like:
telnet localhost 143
a login username password
b list "" *

Ok, there are no leading dots.


What about:

b lsub "" *


b lsub "" *
* LSUB () "/" "Trash"
* LSUB () "/" "ADMIN"
* LSUB () "/" "antispam"
* LSUB () "/" "SUSE"
* LSUB () "/" "xup"
* LSUB () "/" "Sent"
* LSUB () "/" "Drafts"
* LSUB () "/" "IT-Administrator"
* LSUB () "/" "nod32"
* LSUB () "/" "NX"
* LSUB () "/" "kde"
* LSUB () "/" "Sent Messages"
* LSUB () "/" "INBOX"
* LSUB () "/" "archiv"
* LSUB () "/" "Samba"
* LSUB () "/" "DOVECOT"
* LSUB () "/" "Sent Items"
b OK Lsub completed.






? Or what does "c namespace" say?



c namespace
* NAMESPACE (("" "/")) NIL NIL
c OK Namespace completed.



There really just shouldn't be any leading dots..


Yes, I know.

Regards

Daniel



--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München


Re: [Dovecot] Problems with listescape and mutt

2009-12-08 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 8 Dec 2009, Daniel Spannbauer wrote:

1   0 imap://d...@homedirs/ 
2   0 imap://d...@homedirs/.ADMIN


The term "homedirs" wonders me, are you sure that mutt is using IMAP and 
not using some other way - I know, the "imap://" suggests otherwise.


You could verify with http://wiki.dovecot.org/Debugging/Rawlog, what 
Dovecot and mutt transmit.


I have one host with a (old) mutt v1.5.13 (2006-08-11), here I see:

 2 IMAP  Drafts
 6 IMAP +INBOX.

The local changes on the mutt-conf are:

set folder=imap://imap.example.com/
set spoolfile=+INBOX
set move=no

Regards,

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSx4OVnWSIuGy1ktrAQK3awgAvRcDwDy7C+LMKwJNhG5IryFACKzU4+fO
Q1u3xn0YSBKDtsC3yyt372Ujj8ZVenifzp1yeXp9zRIlJUOCoD9cpzE6ZF1mJntI
xti8HEjKDoKmINH5+ng3u6AVEFd8S0oHa3li2NLzcer47dGgMukhqk+dGReuu6OR
V6Qd1xTvt3lBrnuvC4JjqtQSzCBsN4FGJhXqM8PEjd2i38R4KRgSD/EpEOz/LBN1
2VYJ9dDpJ2Flhut874am3dwJZjydGtCRaycY4TIPlig4qO5lToqIw/3b6VkZiYPP
/Stjj26T2LOz7jYdPfttNKWf8eREwWSilgcysYiwzjro0969ij2WLw==
=VpqF
-END PGP SIGNATURE-


Re: [Dovecot] Problems with listescape and mutt

2009-12-07 Thread Timo Sirainen
On Dec 8, 2009, at 1:57 AM, Daniel Spannbauer wrote:

> Hmm, I log in with mutt over the dovecot imap, so a "c" shows exactly:
> 
> 
> 1   0 imap://d...@homedirs/ 
> 2   0 imap://d...@homedirs/.ADMIN
> 3   0 imap://d...@homedirs/.DOVECOT
..
> This is the folder-List.

Wonder if it's showing your subscriptions list? Are there dots in your 
subscriptions file?

>> You could try what the actual IMAP traffic looks like:
>> telnet localhost 143
>> a login username password
>> b list "" *
> 
> Ok, there are no leading dots.

What about:

b lsub "" *

? Or what does "c namespace" say?

There really just shouldn't be any leading dots..

Re: [Dovecot] Problems with listescape and mutt

2009-12-07 Thread Daniel Spannbauer



Timo Sirainen schrieb:

On Mon, 2009-12-07 at 13:58 +0100, Daniel Spannbauer wrote:

Hello,

we are using Dovecot 1.2.6 with activated listescape-Plugin.
Mutt mutt seems to have a problem with listescape (or my configuration 
[1] is screwed).


When I log in with mutt over imap an press "c", I see al the folders,
.Trash, .Drafts etc.


You actually see the leading dot? You shouldn't.

But when I try to change to .Drafts (for example), mutt gives me the 
error the he can't find the folder "\2eDrafts".


This apparently happens because for some reason mutt is showing the
leading dot and then tries to open the mailbox using the escaped dot,
which fails.


Hmm, I log in with mutt over the dovecot imap, so a "c" shows exactly:


 1   0 imap://d...@homedirs/ 


 2   0 imap://d...@homedirs/.ADMIN
 3   0 imap://d...@homedirs/.DOVECOT
 4   0 imap://d...@homedirs/.Drafts
 5   0  imap://d...@homedirs/.IT-Administrator
 6   0 imap://d...@homedirs/.test
 7   0 imap://d...@homedirs/.NX
 8   0 imap://d...@homedirs/.SUSE
 9   0 imap://d...@homedirs/.Samba
10   0 imap://d...@homedirs/.Sent
11   0 imap://d...@homedirs/.Sent Items
12   0 imap://d...@homedirs/.Sent Messages
13   0 imap://d...@homedirs/.Trash
14   0 imap://d...@homedirs/.antispam
15   0 imap://d...@homedirs/.archiv
16   0 imap://d...@homedirs/.kde
17   0 imap://d...@homedirs/.maildir
18   0 imap://d...@homedirs/.nod32
20   0 imap://d...@homedirs/.xup

This is the folder-List.



You could try what the actual IMAP traffic looks like:

telnet localhost 143
a login username password
b list "" *



Ok, there are no leading dots.

Regards

Daniel




--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München


Re: [Dovecot] Problems with listescape and mutt

2009-12-07 Thread Timo Sirainen
On Mon, 2009-12-07 at 13:58 +0100, Daniel Spannbauer wrote:
> Hello,
> 
> we are using Dovecot 1.2.6 with activated listescape-Plugin.
> Mutt mutt seems to have a problem with listescape (or my configuration 
> [1] is screwed).
> 
> When I log in with mutt over imap an press "c", I see al the folders,
> .Trash, .Drafts etc.

You actually see the leading dot? You shouldn't.

> But when I try to change to .Drafts (for example), mutt gives me the 
> error the he can't find the folder "\2eDrafts".

This apparently happens because for some reason mutt is showing the
leading dot and then tries to open the mailbox using the escaped dot,
which fails.

You could try what the actual IMAP traffic looks like:

telnet localhost 143
a login username password
b list "" *



signature.asc
Description: This is a digitally signed message part


[Dovecot] Problems with listescape and mutt

2009-12-07 Thread Daniel Spannbauer

Hello,

we are using Dovecot 1.2.6 with activated listescape-Plugin.
Mutt mutt seems to have a problem with listescape (or my configuration 
[1] is screwed).


When I log in with mutt over imap an press "c", I see al the folders,
.Trash, .Drafts etc.
But when I try to change to .Drafts (for example), mutt gives me the 
error the he can't find the folder "\2eDrafts".


Is this a Problem with the listescape-Plugin or a Problem mith the 
mutt-Configuration?


Any hints are welcome.

Regards

Daniel



[1] Output from dovecot -n:

# 1.2.6: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18.2-34-default i686 openSUSE 10.2 (i586)
protocols: pop3 imap imaps managesieve
listen(default): *
listen(imap): *
listen(pop3): *:110
listen(managesieve): *
ssl: no
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
first_valid_uid: 100
mail_location: maildir:~/.maildir
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): deleted_to_trash listescape
mail_plugins(imap): deleted_to_trash listescape
mail_plugins(pop3):
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep
imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
namespace:
  type: private
  separator: /
  location: maildir:~/.maildir
  inbox: yes
  list: yes
  subscriptions: yes
lda:
  postmaster_address: postmas...@example.com
  mail_plugins: sieve
  mail_plugin_dir: /usr/lib/dovecot/modules/lda
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd




--
Daniel Spannbauer Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München