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-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
cryp

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" (UIDNEX

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-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


[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


[Dovecot] Web-Interface for Dovecot-Sieve?

2009-11-17 Thread Daniel Spannbauer

Hello,

is there anywhere a web-interface for managing sieve-filters with dovecot?

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] Dovecot 1-2-6 and management-sieve

2009-10-12 Thread Daniel Spannbauer



Pascal Volk schrieb:

On 10/12/2009 03:44 PM Daniel Spannbauer wrote:

Hello,

I try to patch the dovecot-Sources to use the management-sieve.

I've downloaded the Sources, unpacked them, do a "gzip -dc 
dovecot-1-2-managesieve-patch-52abc11d7f48.tar.gz |patch -p1".

I get a Error rom the patch:
patching file README.managesieve
patching file dovecot-example.conf
patching file src/master/child-process.c
patching file src/master/child-process.h
patching file src/master/listener.c
patching file src/master/login-process.c
patching file src/master/mail-process.c
patching file src/master/main.c
patching file src/master/master-settings-defs.c
patching file src/master/master-settings.c
patching file src/master/master-settings.h
patch unexpectedly ends in middle of line

What do I wrong?


You are trying to apply the file series as patch, but this is not a patch.
Extract the gziped archive and apply only the managesieve.patch.



Ah, ok. Thanks. I should look at what im downloaded :)

Tanks a lot

Regards

Daniel





Regards,
Pascal


--
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


[Dovecot] Dovecot 1-2-6 and management-sieve

2009-10-12 Thread Daniel Spannbauer

Hello,

I try to patch the dovecot-Sources to use the management-sieve.

I've downloaded the Sources, unpacked them, do a "gzip -dc 
dovecot-1-2-managesieve-patch-52abc11d7f48.tar.gz |patch -p1".

I get a Error rom the patch:
patching file README.managesieve
patching file dovecot-example.conf
patching file src/master/child-process.c
patching file src/master/child-process.h
patching file src/master/listener.c
patching file src/master/login-process.c
patching file src/master/mail-process.c
patching file src/master/main.c
patching file src/master/master-settings-defs.c
patching file src/master/master-settings.c
patching file src/master/master-settings.h
patch unexpectedly ends in middle of line

What do I wrong?

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] Dovecot and ACL

2009-07-11 Thread Daniel Spannbauer



Mario Antonio schrieb:

Daniel,

I think you need to use (make sure of the imap_acl configuration):

protocol imap {
 mail_plugins = acl imap_acl

}



Yes, thats in the conf-

dovecot -n:

# 1.2.0: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18.2-34-default i686 openSUSE 10.2 (i586)
protocols: imap imaps pop3
listen(default): *
listen(imap): *
listen(pop3): *:26
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
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_plugins(default): acl imap_acl
mail_plugins(imap): acl imap_acl
mail_plugins(pop3):
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
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd
plugin:
  acl: vfile
  acl_shared_dict: file:/var/lib/dovecot/shared-mailboxes


Re: [Dovecot] Dovecot and ACL

2009-07-11 Thread Daniel Spannbauer



Steffen Kaiser schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 10 Jul 2009, Daniel Spannbauer wrote:


Seems to work, now error in the logs at the moment.
Bute wehn I log in over telnet port 143 theres no "acl" at the 
capabilities-String.



Can anybody tell me why?


You use the wrong/old/not-restarted demon ;-)

You are not logged in.

* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE 
STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

1 login user pwd
1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE 
SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN 
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH 
ESORT SEARCHRES WITHIN CONTEXT=SEARCH ACL RIGHTS=texk QUOTA] Logged in


Bye,



/usr/sbin/dovecot --version gives me 1.2.0. Should be the rights deamon.

Regards

Daniel




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

iQEVAwUBSlcOtHWSIuGy1ktrAQKutgf/cYYoHOgukqevKfQ5HXS655RtlbOfoRlz
jF6BBBWX+A3BhoaVvHl80iJSumceHz+kt3Mv5UmZNSiVUTHeI/P6e3TFiu55hpD2
gtleEzVwXvU7q+HOmpMGc38oxmnMlRfMPa/PIUdtmcRv/tEupDw0ZIRZ/i46eAe+
bqJE9hQffP4KLcAVPIT2auTg8ImjXuQuzS8Qn3VL2d9/eWQm1nE59R8O+8S6Sb6E
GBmUnMSlBMd50flcywBHQOj03UirUZx7reRMoozeuR2fZ1vF/Eiq0eGZD4f8HpJt
H3+Cc2W/CQhKq3kk6Ign/mVcYpW9mTqtMxbFWDD12wDK9tp5Fpv5NQ==
=YxW7
-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] Dovecot and ACL

2009-07-10 Thread Daniel Spannbauer



Mario Antonio schrieb:


Daniel,

"Dovecot v1.0 and v1.1 supports administrator-configured ACL files.
v1.2+ supports also IMAP ACL extension which allows users to change ACLs
themselves."
http://wiki.dovecot.org/ACL

I think to share mailboxes in OPen-Xchange, you will need Version 1.2
(IMap ACL extension)

An Alternate way using Soft Links:
http://wiki.dovecot.org/SharedMailboxes/Symlinks

Regards,

Mario Antonio

Daniel Spannbauer wrote:

Hello,

I try to get per-mailbox-ACLs on dovecot.

So, I've modded dovecot.conf:

protocol imap {
mail_plugins = acl
}

and

plugin {
acl = vfile
}

When I telnet to dovecot an try the command "capability" there is 
nothing about acl.
I need acl for "open-xchange" so I can share Mailboxes over the 
webinterface.
Do I have to create the acl-file manually or does dovecot this 
automaticly?



Ok, now I have dovecot 1.2 running with configuerd per-user-acl with 
Plugins acl and imap-acl.

Seems to work, now error in the logs at the moment.
Bute wehn I log in over telnet port 143 theres no "acl" at the 
capabilities-String.


Can anybody tell me why?

Regards

Daniel











reagrds

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] Dovecot and ACL

2009-07-08 Thread Daniel Spannbauer



Axel Luttgens schrieb:

Le 8 juil. 09 à 11:55, Daniel Spannbauer a écrit :


[...]

Hmmm, I don't have a imap_acl-Plugin.

Sorry but I forgot the Version:
Version is 1.0.rc14


Hmm, I guess you're out of luck then; from http://wiki.dovecot.org/ACL:

Dovecot v1.0 and v1.1 supports administrator-configured ACL
files. v1.2+ supports also IMAP ACL extension which allows
users to change ACLs themselves.

Are there reasons for not trying to upgrade?


Hmmm, thats bad.
Update isn't easy. I use SuSE 10.2 on a few machines. On SuSE with RPM 
dovecot has a lot of dependencies which should alll be solved :)


I try to build a new one from SuSE 11.1 on my old system and try it to 
install.


Thanks a lot

Regards

Daniel





Axel



--
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] Dovecot and ACL

2009-07-08 Thread Daniel Spannbauer



Axel Luttgens schrieb:

Le 8 juil. 09 à 09:14, Daniel Spannbauer a écrit :


Hello,

I try to get per-mailbox-ACLs on dovecot.

So, I've modded dovecot.conf:

protocol imap {
mail_plugins = acl
}

and

plugin {
acl = vfile
}

When I telnet to dovecot an try the command "capability" there is 
nothing about acl.
I need acl for "open-xchange" so I can share Mailboxes over the 
webinterface.
Do I have to create the acl-file manually or does dovecot this 
automaticly?


Shouldn't this be a matter of enabling the imap_acl plugin?
But yes, the wiki is somewhat silent, since that plugin seems to be 
mentioned only once and very briefly:

http://wiki.dovecot.org/SharedMailboxes/Shared



Hmmm, I don't have a imap_acl-Plugin.

Sorry but I forgot the Version:
Version is 1.0.rc14

dovecot -n:

# /etc/dovecot/dovecot.conf
protocols: imap imaps pop3
listen(default): *
listen(imap): *
listen(pop3): *:26
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
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_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
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd


Regards

Daniel





HTH,
Axel



--
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


[Dovecot] Dovecot and ACL

2009-07-08 Thread Daniel Spannbauer

Hello,

I try to get per-mailbox-ACLs on dovecot.

So, I've modded dovecot.conf:

protocol imap {
mail_plugins = acl
}

and

plugin {
acl = vfile
}

When I telnet to dovecot an try the command "capability" there is 
nothing about acl.
I need acl for "open-xchange" so I can share Mailboxes over the 
webinterface.

Do I have to create the acl-file manually or does dovecot this automaticly?

reagrds

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