Roundcube Community Forum

 

Recent posts

#91
Off-Topic / Eagles or Chiefs
Last post by Kaleb47 - February 09, 2025, 04:47:05 PM
Who's going to the win the Super Bowl LIX?
#92
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by 111eto - February 08, 2025, 06:47:50 AM
Fixed ))))

in my case

dovecot-sql.conf.ext
user_query = SELECT '/var/my_mail/mail_box/%d/%u' as home, 'maildir:/var/my_mail/mail_box/%d/%u' as mail, 1024 AS uid, 8 AS gid, concat('*:bytes=', quota) AS quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
conf.d/10-mail.conf
# Enable quota plugin for tracking and enforcing the quota.
mail_plugins = $mail_plugins quota

conf.d/20-imap.conf
protocol imap {
 # Enable the IMAP QUOTA extension, allowing IMAP clients to ask for the
 # current quota usage.
 mail_plugins = $mail_plugins imap_quota
}

conf.d/90-quota.conf
plugin {
quota_rule = *:storage=0
quota = dirsize:User quota
quota_grace = 10%%
# 10% is the default
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
}

With these settings, when I set a quota in postfixadmin - it is correctly displayed in Roundcube
(a couple of mb are losing, but this is not critical, the main thing is that the data on the limit is received from the database)

Thank you SKaero!
#93
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by 111eto - February 08, 2025, 04:13:24 AM
Quote from: SKaero on February 07, 2025, 09:41:47 PMSince you seem to be using Dovecot you'll need to make sure the imap_quota plugin is setup https://doc.dovecot.org/2.3/configuration_manual/quota_plugin/ it sounds like the quota plugin is already setup but you should verify that is done correctly as well.
- very useful, Thank you!

Good news, after making a change in 20-imap:
protocol imap {
mail_plugins = $mail_plugins imap_quota
}

the Roundcube started displaying quota data


However, I still can't solve the problem with the limit
Quota name      Type    Value  Limit    %
storage=51200000 STORAGE 25092 102400    24

The current limit was define
plugin {
  quota_rule = *:storage=0
  quota_rule2 = *:bytes=100M
}

But I am looking for the limit to be taken from the postfixadmin_database, not set manually as I did like 100 Mb,

For example, if I set for each user its own limit in postfix admin, for example for one mailbox - 100 MB and for another mailbox I set 50 MB, then I would like to see for each user its own limit and not the same limit for all mailboxes that I set manually in quota_rule2

Maybe I did something wrong... idk
but now my 90-quota looks like this:
plugin {
  quota_rule = *:storage=0
  quota_rule2 = *:bytes=100M

plugin {
  quota = dict:User quota::proxy::sqlquota
}

dict {
  sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf
}

plugin {
  quota_grace = 10%%
  # 10% is the default
  quota_status_success = DUNNO
  quota_status_nouser = DUNNO
  quota_status_overquota = "552 5.2.2 Mailbox is full"
}
#94
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by SKaero - February 07, 2025, 09:41:47 PM
Since you seem to be using Dovecot you'll need to make sure the imap_quota plugin is setup https://doc.dovecot.org/2.3/configuration_manual/quota_plugin/ it sounds like the quota plugin is already setup but you should verify that is done correctly as well.
#95
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by 111eto - February 07, 2025, 12:00:39 PM
Do you know how to fix that?

I set the quota for each mailbox in postfixadmin

I found that the whole block is called layout-sidebar and the part I need is footer small

But I couldn't find in the templates where footer small is...

Also, if I execute the command
doveadm quota get -u user@my_domain.comI will get a response in the terminal
Quota name       Type    Value  Limit    %
storage=51200000 STORAGE 25092 102400    24
- "storage=51200000" - this record is taken from the postfixadmin db and displayed in bytes
but the limit will show me the one that I set in dovecot >>> 90-quota.conf and not in postfixadmin

maybe it will be helpful - my user_query is:
user_query = SELECT '/var/my_mail/mail_box/%d/%u' as home, 'maildir:/var/my_mail/mail_box/%d/%u' as mail, 1024 AS uid, 8 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = '%u' AND active = '1'
#96
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by SKaero - February 07, 2025, 11:46:33 AM
You can see in the IMAP log that the imap server isn't returning the "QUOTA" capability. Since your imap server doesn't support it Roundcube can't show it.
#97
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by 111eto - February 07, 2025, 03:23:06 AM
Quote from: SKaero on February 07, 2025, 12:48:43 AMRoundcube can only show the disk usage if your mail server reports it, most likely your mail server isn't disclosing the disk usage. You can enable imap_debug in the config and review the imap logs to confirm.

There is an imap_debug log from one session (I didn't include the mail headers data)

[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0002 CAPABILITY
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0003 ID ("name" "Roundcube" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=login")
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0004 NAMESPACE
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * NAMESPACE (("" ".")) NIL NIL
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0004 OK Namespace completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0005 LIST (SPECIAL-USE) "" "*" RETURN (SUBSCRIBED)
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Trash) "." Trash
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Junk) "." Junk
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Sent) "." Sent
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Drafts) "." Drafts
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0005 OK List completed (0.007 + 0.000 + 0.006 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [DFD8] C: A0006 LOGOUT
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [DFD8] S: * BYE Logging out
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [DFD8] S: A0006 OK Logout completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0002 CAPABILITY
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0003 ID ("name" "Roundcube/Kolab" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=mail&_token=qyBmoFy4xZIbSvw8j92eQ89sZ14cqN71")
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0004 LIST (SUBSCRIBED) "" "*"
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Drafts
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Sent
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Junk
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Trash
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." "My Gmail"
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." INBOX
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0004 OK List completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0005 LOGOUT
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * BYE Logging out
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0005 OK Logout completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0002 CAPABILITY
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0003 ID ("name" "Roundcube/Kolab" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=mail&_action=getunread&_page=1&_remote=1&_unlock=0&_=1738915568666")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0004 LIST (SUBSCRIBED) "" "*"
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Drafts
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Sent
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Junk
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Trash
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." "My Gmail"
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." INBOX
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0004 OK List completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0005 STATUS INBOX (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS INBOX (MESSAGES 35 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0005 OK Status completed (0.004 + 0.000 + 0.003 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0006 STATUS Drafts (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0002 CAPABILITY
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Drafts (MESSAGES 2 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0006 OK Status completed (0.002 + 0.000 + 0.001 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0007 STATUS Sent (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0003 ID ("name" "Roundcube/Kolab" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=mail&_action=list&_refresh=1&_layout=widescreen&_mbox=INBOX&_page=&_remote=1&_unlock=loading1738915568744&_=1738915568665")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Sent (MESSAGES 23 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0007 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0008 STATUS Junk (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Junk (MESSAGES 55 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0008 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0009 STATUS Trash (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Trash (MESSAGES 305 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0009 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0010 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 3 UNSEEN 2)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0010 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0011 STATUS "My Gmail" (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS "My Gmail" (MESSAGES 12 UNSEEN 3)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0011 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0012 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 0 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0012 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0013 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 0 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0013 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0014 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0004 STATUS INBOX (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 3 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0014 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0015 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 0 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0015 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0016 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 1 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0016 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * STATUS INBOX (MESSAGES 35 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0004 OK Status completed (0.002 + 0.000 + 0.001 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0005 SELECT INBOX
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft Junk)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft Junk \*)] Flags permitted.
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * 35 EXISTS
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * 0 RECENT
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [UIDVALIDITY 1736766904] UIDs valid
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [UIDNEXT 373] Predicted next UID
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [HIGHESTMODSEQ 774] Highest
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0005 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0006 UID SEARCH 35
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0017 LOGOUT
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * SEARCH 371
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0006 OK Search completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * BYE Logging out
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0017 OK Logout completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0007 UID SEARCH ALL
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * SEARCH 13 14 18 22 151 152 273 274 275 276 277 278 279 280 281 282 283 291 292 304 308 318 322 330 331 337 338 348 351 357 359 361 367 369 371
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0007 OK Search completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0008 UID FETCH 13:14,18,22,151:152,273:283,291:292,304,308,318,322,330:331,337:338,348,351,357,359,361,367,369,371 (UID RFC822.SIZE FLAGS INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY RECEIVEDRECEIVED X-KOLAB-TYPE X-KOLAB-MIME-VERSION MESSAGE-ID)])

{
... my_emails
}

[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: )
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0008 OK Fetch completed (0.006 + 0.000 + 0.005 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0009 LOGOUT
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * BYE Logging out
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0009 OK Logout completed (0.001 + 0.000 secs).
#98
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by SKaero - February 07, 2025, 12:48:43 AM
Roundcube can only show the disk usage if your mail server reports it, most likely your mail server isn't disclosing the disk usage. You can enable imap_debug in the config and review the imap logs to confirm.
#99
Pending Issues / Re: Disk Usage Indicator Not S...
Last post by 111eto - February 06, 2025, 05:46:17 PM
Hello there,

It seems I have the same problem, I've tried everything but I don't understand how to solve it at all
So I check the https://demo.roundcubeplus.com in the demo version for some reason they display this disk usage

I don't have it and I don't understand what the problem is
I don't know what and how to fix it

Stack
Ubuntu 22.04, postfix v3.6.4, dovecot v2.3.16, postfixadmin v3.3.14, roundcude v1.6.9


#100
General Discussion / Re: Configuring OAuth2 ->No Lo...
Last post by TomcatMJ - February 06, 2025, 12:31:31 PM
Result of the testfile:
REDIRECT_SCRIPT_URL:
SCRIPT_NAME: /serverinfo3.php
REQUEST_URI: /serverinfo3.php
Seems ok,but i found out that on another node where i changed the config according to the efforts we made here doen´t make such troble...guess in my tries to fix the problem somewhere an error sneakd into the code ... now i get on another node (maildomains are loadbalanced via an apache reverse proxy and this works!) jut a hint that told me to upgrade my dovecot as the newer version 2.3.21 instead of 2.3.7.2) supports more oauth options and these ways better than the older version...but i try this tomorrow as jobtime is over for today (18:27 CET here now, starting tormorrow at 9:00 again).. :-)


Error.log from the other node actually adopted to Multidomain configuration and oauth used in the first Maildomain (but without the small amount of debug-settings):
[06-Feb-2025 17:26:00 +0100]: <2ktbfcnh> PHP Error: OAuth token request failed: Client error: `POST https://sso.node2.mykeycloakdomain.tld:8443/realms/MySSORealm/protocol/openid-connect/token` resulted in a `400 Bad Request` response:
{"error":"invalid_grant","error_description":"Code not valid"}
; cznode1 GuzzleHttp/7 - [06/Feb/2025:17:26:00 +0100] "POST /realms/MySSORealm/protocol/openid-connect/token HTTP/1.1" 400 62 in /var/lib/roundcube/program/include/rcmail_oauth.php on line 321 (GET /index.php/login/oauth?state=6uM1IWeopmAI&session_state=b0941ada-c8f9-4043-8c03-dbd93a267a9b&iss=https%3A%2F%2Fsso.node2.mykeycloakdomain.tld%3A8443%2Frealms%2FMySSORealm&code=dd93c1f0-c7b5-4c47-bc82-48aaa132f3ad.b0941ada-c8f9-4043-8c03-dbd93a267a9b.cdd15124-a187-42b4-99f4-3e68801fe39a)
[06-Feb-2025 17:26:04 +0100]: <2ktbfcnh> IMAP Error: Login failed for [email protected] against node2.myfirstmaildomain.tld from 78.48.241.104. AUTHENTICATE XOAUTH2: A0002 NO [AUTHENTICATIONFAILED] Authentication failed. in /var/lib/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /index.php/login/oauth?state=3fGfhdkRCo95&session_state=b0941ada-c8f9-4043-8c03-dbd93a267a9b&iss=https%3A%2F%2Fsso.node2.mykeycloakdomain.tld%3A8443%2Frealms%2FMySSORealm&code=c551cbbe-c2de-4c80-b2c1-050b07353f66.b0941ada-c8f9-4043-8c03-dbd93a267a9b.cdd15124-a187-42b4-99f4-3e68801fe39a)