• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Spam Folder Location

BuzzLightBurger

Basic Pleskian
Server operating system version
Ubuntu 20.04 & Ubunti 24.4
Plesk version and microupdate number
18.0.71 #1
Hi
Quick Q. It was my understanding that Plesk moved the default location of the Spam folder to within the inbox (Inbox.Spam) to make it more compatible with other extensions like SpamAssassin, but after setting up a new Ubuntu 24.04 server running the latest Plesk/Roundcube etc, the Spam folder is at the root level (not within the inbox).

I have another server, running the same version of Plesk/Roundcube, albeit back on Ubuntu 20.04 that also has Plesk Premium Email installed.

Although PPE is only active on one domain, it seems the ActiveSync enhancement is available across every domain's webmail settings in Roundcube so it must be a global implementation.

Anyways, on the older server, the Spam folder exists as Inbox.Spam. This of course means that iPhones for example show both the Inbox/Spam folder as well as its own Junk folder.

iPhones connected to the new server do not have this double Spam/Junk folder annoyance and if the real names are shown (via Roundcube's settings) the Junk folder becomes Spam on the iPhone.

So the question is, is the new server exhibiting a configuration issue as it should have a Spam folder under the Inbox for each account or is the older server incorrectly configured to have a Spam folder within the Inbox?

Does SpamAssassin work with Spam folders located at the root level (as is the case on the new server)..

Which server is correct??

Regards
B
 
[...] It was my understanding that Plesk moved the default location of the Spam folder to within the inbox (Inbox.Spam) to make it more compatible with other extensions like SpamAssassin [...]
Yes, however not because of SpamAssassin but to be compatible with Qmail.

[...] So the question is, is the new server exhibiting a configuration issue as it should have a Spam folder under the Inbox for each account or is the older server incorrectly configured to have a Spam folder within the Inbox? [...]
To my knowledge the default configuration on Plesk is still to have the spam folder inside the inbox (Inbox.Spam). This hasn't changed as far as I am aware (there is no mention of a change in the change log). So I would assume that the fact this is different on your new server is because of a configuration issue.

You could compare the Dovecot namespace configuration on your servers to see if they use a different configuration. You'll find the namespace configuration in the /etc/dovecot/dovecot.conf file. I do want to point out that PPE uses a very different configuration for some mail aspects, not sure if that's the case for Dovecot too. Just in case, this the snippet of the default namespace configuration:

Code:
namespace inbox {
  separator = .
  prefix = INBOX.
  inbox = yes

  mailbox Sent {
    auto = subscribe # autocreate and autosubscribe the Sent mailbox
    special_use = \Sent
  }
  mailbox Spam {
    auto = create # autocreate Spam, but don't autosubscribe
    special_use = \Junk
  }
  mailbox Drafts {
    auto = create
    special_use = \Drafts
  }
  mailbox Trash {
    auto = create
    special_use = \Trash
  }
}

Does SpamAssassin work with Spam folders located at the root level (as is the case on the new server)..
Well, yes, but I suspect you're referring to the spam learning capability. Which probably won't work as intended when the spam folder is located somewhere else.
 
Hi
Both servers have the same contents in the dovecot.conf file, with the namespace matching the code quoted above.

I wasn't specifically referring to the learning, but that too. I was referring to the movement of mail to a spam folder at the server side (rule in the mail accounts)

Regards
 
Back
Top