Quote:
Originally Posted by till
For dovecot 1.0:
/usr/local/ispconfig/server/conf/sieve_filter.master
For dovecot 1.2:
/usr/local/ispconfig/server/conf/sieve_filter_1.2.master
|
Thanks for your reply.
I'm using Dovecot 2.0.19 so i've changed the sieve_filter_1.2.master.
I've also updated this file in order to create the .Spam folder in the vmail root :
Code:
vim /usr/local/ispconfig/server/plugins-available/mail_plugin.inc.php
@lines 147,150 and 281,284
if(!is_dir($data['new']['maildir'].'/.Junk')) {
//exec("su -c 'maildirmake -f Junk ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name']);
//$app->log('Created submaildir Junk: '."su -c 'maildirmake -f Junk ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name'],LOGLEVEL_DEBUG);
$app->system->maildirmake($maildomain_path,$mail_config['mailuser_name'],'Junk');
}
Now, everything seems to be ok : )
Just a little issue: Thunderbird doesn't recongnize the Spam folder with the special icon.
Any idea ?
Thanks,
Massimo
Recent comments
10 hours 42 min ago
13 hours 9 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 7 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 9 hours ago
2 days 10 hours ago