Hi everyone,
yesterday I changed my IMAP directory structure in dovecot because Android mobile phones using the standard maill app weren't able to delete mails permanently. The problem is the standard IMAP structure of dovecot wich is nomally like this:
INBOX
INBOX.Junk
INBOX.Sent
INBOX.Trash
I added the following lines into /etc/dovecot/conf.d/40-plesk-imap_structure.conf for changing the prefix:
namespace inbox {
separator = .
prefix =
inbox = yes
}
Now the new IMAP structure looks like this:
INBOX
.Junk
.Sent
.Trash
This works fine for me and my android mobile phone but after this change mails wich where marked as ***SPAM*** wasn't moved to the IMAP junk folder correctly. I know that I have to change the sieve filter but damn i can't find this file....
where can I find the following SIEVE FILTER lines:
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto "INBOX.Junk";
}
I need to change them to:
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto ".Junk";
}
Can someone please help me?
Merry X-MAS!!!!
greetz
Dennis
yesterday I changed my IMAP directory structure in dovecot because Android mobile phones using the standard maill app weren't able to delete mails permanently. The problem is the standard IMAP structure of dovecot wich is nomally like this:
INBOX
INBOX.Junk
INBOX.Sent
INBOX.Trash
I added the following lines into /etc/dovecot/conf.d/40-plesk-imap_structure.conf for changing the prefix:
namespace inbox {
separator = .
prefix =
inbox = yes
}
Now the new IMAP structure looks like this:
INBOX
.Junk
.Sent
.Trash
This works fine for me and my android mobile phone but after this change mails wich where marked as ***SPAM*** wasn't moved to the IMAP junk folder correctly. I know that I have to change the sieve filter but damn i can't find this file....
where can I find the following SIEVE FILTER lines:
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto "INBOX.Junk";
}
I need to change them to:
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto ".Junk";
}
Can someone please help me?
Merry X-MAS!!!!
greetz
Dennis