I have been following the tutorial here: https://www.linuxbabe.com/mail-server/block-email-spam-check-header-body-wit... 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?
Should you not be asking linux babe? Here there are only grumpy old men!!!! ;)
Dovecot is a mail server, it just manages what ever folder (aka mailboxes) you create.
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?
You don't say if you're connecting Thunderbird with POP or IMAP.
With IMAP you need to 'subscribe' to folders. You can do this within the email client manually. Or you can put autosubscribe in the namespace eg.
mailbox Spam { auto = subscribe autoexpunge = 0 autoexpunge_max_mails = 0 comment = driver = }
On 22/11/2021 07.58, bobby wrote:
I have been following the tutorial here: https://www.linuxbabe.com/mail-server/block-email-spam-check-header-body-wit... https://www.linuxbabe.com/mail-server/block-email-spam-check-header-body-wit... 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?
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-wit... 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
I am using IMAP. I've updated my config to use "auto = subscribe", then restarted dovecot and postfix. I still do not see the folder though.
On Mon, Nov 22, 2021 at 4:36 AM Christian Mack < christian.mack@uni-konstanz.de> wrote:
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-wit...
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
I accidentally replied directly to OP.
I noticed something similar, too. Under Account Settings > Junk Settings, I had to check the box for Destination & Retention. Then, my Junk folder appeared.
On Thu, Nov 25, 2021 at 4:28 PM bobby architectofthefuture@gmail.com wrote:
I am using IMAP. I've updated my config to use "auto = subscribe", then restarted dovecot and postfix. I still do not see the folder though.
participants (5)
-
bobby
-
Christian Mack
-
Marc
-
Plutocrat
-
Tyler Montney