Isn't \* supposed to be (almost always) in flags after "SELECT" command in dovecot imap? Isn't \* meaning is "you can store any new flag" ? 20 select INBOX * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Flags permitted. so no \* ... [..] 50 store 1 +flags $MDNSent * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent)] Flags permitted. * 1 FETCH (FLAGS ($MDNSent)) 50 OK Store completed. 60 logout * BYE Logging out 60 OK Logout completed. [ new session ...] 20 select INBOX * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent)] Flags permitted. * 4 EXISTS * 2 RECENT * OK [UNSEEN 1] First unseen. * OK [UIDVALIDITY 1181546666] UIDs valid * OK [UIDNEXT 864597] Predicted next UID 20 OK [READ-WRITE] Select completed. ... but it saved $MDNSent flag, huh -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/
On Monday 26 of January 2009, Arkadiusz Miskiewicz wrote:> Isn't \* supposed to be (almost always) in flags after "SELECT" command in > dovecot imap?According to source code it should be there if mailbox is writtable and mine is (20 OK [READ-WRITE] Select completed.). Something broken there? # dovecot -n # 1.1.10: /etc/dovecot/dovecot.conf Warning: fd limit 1024 is lower than what Dovecot can use under full load (more than 2304). Either grow the limit or change login_max_processes_count and max_mail_processes settings # OS: Linux 2.6.25.12-1 x86_64 xfs protocols: imap imaps pop3 pop3s listen(default): *:143 listen(imap): *:143 listen(pop3): *:10110 ssl_listen(default): *:993 ssl_listen(imap): *:993 ssl_listen(pop3): *:10995 ssl_cert_file: /etc/openssl/certs/cert.pem ssl_key_file: /etc/openssl/certs/key.pem disable_plaintext_auth: no shutdown_clients: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib64/dovecot/imap-login login_executable(imap): /usr/lib64/dovecot/imap-login login_executable(pop3): /usr/lib64/dovecot/pop3-login login_greeting: Mail server ready. max_mail_processes: 2048 verbose_proctitle: yes first_valid_uid: 1500 first_valid_gid: 1500 mail_location: maildir:/var/mail/%Lu:CONTROL=/var/lib/dovecot/control/%Lu fsync_disable: yes mail_executable(default): /usr/lib64/dovecot/imap mail_executable(imap): /usr/lib64/dovecot/imap mail_executable(pop3): /usr/lib64/dovecot/pop3 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): zlib mail_plugin_dir(default): /usr/lib64/dovecot/plugins/imap mail_plugin_dir(imap): /usr/lib64/dovecot/plugins/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/plugins/pop3 imap_client_workarounds(default): outlook-idle imap_client_workarounds(imap): outlook-idle imap_client_workarounds(pop3): pop3_lock_session(default): no pop3_lock_session(imap): no pop3_lock_session(pop3): yes pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %Mf pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: mechanisms: plain login digest-md5 cram-md5 ntlm rpa apop user: nobody username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@ username_translation: @ passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 432 user: mail group: mail plugin: quota: fs:User quota:user quota2: fs:Group quota:group -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/