1

Topic: SOGo user quotas and spam/ham emails

After installing the new iRedMail server using SOGo on debian 13 and copying all the users data on it, I would like to display the users quota and ensure the ham/spam like with the old server using the same code as I implemented using the iRedMail documentation here.

How can I display users quota?

How can I implement 'Auto learn spam/ham with Dovecot imap_sieve plugin' with Dovecot 2.4 on Debian 13?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: SOGo user quotas and spam/ham emails

- Mailbox quota usage info is now displayed in user profile page since EE v1.7.0.
- The `Auto learn spam/ham` feature is enabled in EE by default, you don't need to update Dovecot config file manually, just tell end users to move spams to Junk folder, or move legitimate emails from Junk to any other folder, such moves will trigger auto-learning.

3

Re: SOGo user quotas and spam/ham emails

Hi Zhang,

Fine for the Ham/Spam report, it will ease my work.

But for the user quota, I don't see it displayed in the user profile in SOGo. I have also checked in the user parameters but no display at all.

When you speak about user quota in the user profile, is it in iRedMail Admin?

4

Re: SOGo user quotas and spam/ham emails

Hi Zhang,

I re-checked on the old server and under the user name on the left in SOGo I can see the user quota displayed corretly, but I get nothing displayed under the user name on the new server.

It's like if there was missing an information in dovecot to allow SOGo display the user quota.

If you have any idea

5

Re: SOGo user quotas and spam/ham emails

Hi Zhang,

I have found the problem with the display of the users quotas with dovecot 2.4 service on debian trixie.

In the dovecot.conf file you have those lines:

quota "User quota" {
}

which defines the name of the users quotas.

But when you query the IMAP server for the quotas, it adds this labelling which makes SOGo not understanding the naming of the quotas.

I commented those two lines and the IMAP server does not display anymore this labelling and permits SOGo interface to display the users quotas.