Argh, this really seems like something that must be answered already, but I didn’t find anything in the FAQ, forum, or wiki
I want mail delivered normally into a folder in the user’s account called ‘Spam’. I see that there is a .spam file in the Maildir, but it’s not visible to the users through their IMAP account. One has to log into the virtualmin/webmin module and view the mail to see that folder.
I went into System Settings -> Module Config -> Spam filtering options, and tried to set the Default delivery for spam.
it may be wise to retain messages for some period of time and allow users to check the spam folder using Usermin webmail, or via IMAP folders (if IMAP is available to your users).
The IMAP option sounds like what I want, but how do I make that work?
A well behaved IMAP client won’t just show all available mailbox folders by default.
For IMAP, you may need to "subscribe" to folders that interest you, including the spam folder.
How exactly you do that depends on your specific client, but in essence you may need to click a few buttons and have it show additional folders you’re interested in.
For example, you could follow these steps if you’re using Outlook 2003:
Dovecot uses Maildir++ directory layout for organizing mailbox directories. This means that all the folders are directly inside ~/Maildir directory:
* ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain the messages for INBOX. The tmp directory is used during delivery, new messages arrive in new and read shall be moved to cur by the clients.
* ~/Maildir/.folder/ is a mailbox folder
* ~/Maildir/.folder.subfolder/ is a subfolder of a folder (ie. "folder/subfolder"«»)
[/code:1]
So with the . there in the folder name, it’s setup exactly as we’d expect.
Are any other folders that do show up as being available in Outlook/Thunderbird?
And if you were to create a new folder through Outlook/Thunderbird, does it show up on the filesystem?
-Eric
Great questions, I’m going to try them out right now…
If I create folders on the client, they show up on the server. If I create them on the server, they show up in the client’s “subscribe” window, but not automagically on the client, as expected.
So I might be able to tell customes to create the spam folder on their client, and it will be available. However, I can’t seem to get a spam message to inject into the folder if they are created by the client. I’m not sure what the cause is of that yet, might just be that the filters aren’t working at all now