I have a domain hosted at one.com and lately seem to be missing mails that are not spam but that end up in the spam-folder anyway.
I’m now trying to set up a sensor that indicates if there is spam mail for my mail account using the IMAP-integration.
I can get the number of mails in the folder “INBOX”, but I have yet to find the proper/valid folder name for spam-mail.
I’ve tried names like spam, Spam, SPAM, INBOX/Spam, Trash,… but these are not working (error “The selected folder is invalid”).
I’ve asked one.com helpdesk and tried their suggestion “Spam” but this didn’t work.
RFC 6154IMAP LIST Extension for Special-Use Mailboxes gives some standard mailbox attributes for identifying special-use mailboxes.
\Junk
This mailbox is where messages deemed to be junk mail are held. Some server implementations might put messages here automatically. Alternatively, this might just be advice to a client-side spam filter.
Ok, well it was just a suggestion. Maybe contact one.com support and tell them their suggestion isn’t working. Try to get through to second level, who usually know what they’re talking about, as opposed to first level.
I know a guy who works at One.com and will try to ask him. He’s pretty high level though, and might find this beneath his dignity. I’ll get back to you, if he answers.