Spam Folder

Christian Mack christian.mack at
Mon Nov 22 09:36:10 UTC 2021


Am 22.11.21 um 00:58 schrieb bobby:
> I have been following the tutorial here:
> I notice that when I log into my mail via nextcloud mail, there is no spam
> folder.  Is there something further I need to do so it is generated?

Dovecot will autocreate folder when you tell it to do so with "auto" option.
In my example it also automatically subscribes this folder, as most
email clients only show subscribed folders.

The special_use option will tell all email clients, that this is an
folder for Junk.
So if they have some builtin "Mark as Junk/Spam" button, it will use
that folder to move to.

In /etc/dovecot/conf.d/15-mailboxes.conf set:
namespace inbox {
  mailbox Junk {
    special_use = \Junk
    auto = subscribe

Kind regards,
Christian Mack

Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung und Lehre
78457 Konstanz
+49 7531 88-4416

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5351 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the dovecot mailing list