[Dovecot] (Maybe stupid) question about selecting mailbox

Kamil Jońca kjonca at o2.pl
Wed Aug 21 02:02:46 EEST 2013


Does mailbox with "\NoSelect"  can be select or examine?

I'm not sure but IMVHO  "select x" should not work.


$/usr/lib/dovecot/imap
* PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE COMPRESS=DEFLATE] Logged in as kjonca
2 LIST "x" "*"
* LIST (\Noselect \HasChildren) "/" "x"
* LIST (\HasNoChildren) "/" "x/y"
2 OK List completed.
3 SELECT x 
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1376977764] UIDs valid
* OK [UIDNEXT 1] Predicted next UID
* OK [NOMODSEQ] No permanent modsequences
3 OK [READ-WRITE] Select completed.
4 logout
IMAP(kjonca): Info: Disconnected: Logged out in=35 out=813
* BYE Logging out
4 OK Logout completed.

doveconf -n
# 2.1.17 (d463fab6db95): /etc/dovecot/dovecot.conf
# OS: Linux 3.8.9+1 x86_64 Debian wheezy/sid 
auth_debug = yes
auth_mechanisms = plain digest-md5 cram-md5 login
auth_username_format = %n
auth_verbose = yes
listen = alfa
log_path = /var/log/dovecot
mail_debug = yes
mail_location = maildir:~/Mail/1:LAYOUT=fs:INBOX=~/Mail/1/INBOX
mail_log_prefix = "%Us(%u): "
mail_plugins = zlib
passdb {
  args = scheme=PLAIN /etc/security/dovecot.pwd
  driver = passwd-file
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change save
  mail_log_fields = uid box msgid size from flags
  sieve = ~/.dovecot.sieve
  sieve_execute_bin_dir = %h/sieve/bin
  sieve_execute_exec_timeout = 86400s
  sieve_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute +vnd.dovecot.filter
  sieve_filter_bin_dir = %h/sieve/bin
  sieve_filter_exec_timeout = 86400s
  sieve_pipe_bin_dir = %h/sieve/bin
  sieve_pipe_exec_timeout = 86400s
  sieve_plugins = sieve_extprograms
}
protocols = " imap lmtp"
service auth {
  user = root
}
ssl = no
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = zlib sieve
}
protocol lda {
  deliver_log_format = msgid=%m: %$
  log_path = ~/log/deliver.log
  mail_plugins = zlib sieve
  postmaster_address = root at localhost
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins = zlib imap_zlib  mail_log notify acl
}


-- 
http://blogdebart.pl/2009/12/22/mamy-chorych-dzieci/
The goal of Computer Science is to build something that will last at
least until we've finished building it.



More information about the dovecot mailing list