Spam Folder

Christian Mack christian.mack at uni-konstanz.de
Mon Nov 22 09:36:10 UTC 2021


Hello

Am 22.11.21 um 00:58 schrieb bobby:
> I have been following the tutorial here:
> https://www.linuxbabe.com/mail-server/block-email-spam-check-header-body-with-postfix-spamassassin
> 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: <https://dovecot.org/pipermail/dovecot/attachments/20211122/03781c44/attachment.bin>


More information about the dovecot mailing list