Hi,
My managesieve filters doesn't work
My config:
DirectAdmin v1.50.1
Custombuild 2.0.0 (rev: 1622)
Dovecot: 2.2.27 (c0f36b0) with Pidgeonhole SpamAssasin, SpamBlocker and DKIM
Exim 4.87
Debian 8.6
INSTALL:
/etc/dovecot/conf.d/90-sieve.conf
/etc/dovecot/conf/protocols.conf
/etc/exim.conf
/var/www/html/roundcube/plugins/managesieve/config.inc.php
/var/www/html/roundcube/config/config.inc.php
OK let TEST:
netstat -ntlp | grep '4190'
root@ds:/home/netcity# ls -la
root@ds:/home/netcity# cat sieve/managesieve.sieve
My managesieve filters doesn't work
PLEASE HELP.
My managesieve filters doesn't work
My config:
DirectAdmin v1.50.1
Custombuild 2.0.0 (rev: 1622)
Dovecot: 2.2.27 (c0f36b0) with Pidgeonhole SpamAssasin, SpamBlocker and DKIM
Exim 4.87
Debian 8.6
INSTALL:
Code:
cd /usr/local/directadmin/custombuild
./build set pigeonhole yes
./build dovecot
./build roundcube
/etc/dovecot/conf.d/90-sieve.conf
Code:
#Managesieve service (allows rules editing on client-side)
service managesieve-login {
inet_listener sieve {
port = 4190
}
service_count = 1
process_min_avail = 4
vsz_limit = 64M
}
service managesieve {
}
protocol sieve {
managesieve_max_line_length = 65536
managesieve_implementation_string = Dovecot Pigeonhole
managesieve_max_compile_errors = 5
managesieve_logout_format = bytes=%i/%o
log_path = /var/log/dovecot-sieve-errors.log
info_log_path = /var/log/dovecot-sieve.log
}
plugin {
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_default = /var/lib/dovecot/sieve/default.sieve
sieve_global = /var/lib/dovecot/sieve/global/
/etc/dovecot/conf/protocols.conf
Code:
protocols = imap pop3 lmtp sieve
/etc/exim.conf
Code:
virtual_user:
driver = accept
condition = ${perl{save_virtual_user}}
domains = lsearch;/etc/virtual/domainowners
group = mail
retry_use_local_part
transport = dovecot_lmtp_udp
#COMMENT#64:
address_reply:
driver = autoreply
dovecot_lmtp_udp:
driver = lmtp
socket = /var/run/dovecot/lmtp
#maximum number of deliveries per batch, default 1
batch_max = 200
delivery_date_add
envelope_to_add
return_path_add
user = mail
/var/www/html/roundcube/plugins/managesieve/config.inc.php
Code:
$config['managesieve_port'] = 4190;
$config['managesieve_host'] = 'localhost';
/var/www/html/roundcube/config/config.inc.php
Code:
$config['plugins'] = array(
'managesieve',
'password',
'archive',
'zipdownload',
);
OK let TEST:
netstat -ntlp | grep '4190'
Code:
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 2203/managesieve-lo
root@ds:/home/netcity# ls -la
Code:
razem 48
drwx--x--- 8 netcity access 4096 gru 10 22:06 .
drwx--x--x 9 root root 4096 gru 12 16:53 ..
drwx--x--x 3 netcity netcity 4096 gru 10 17:52 .appdata
-rw-r--r-- 1 netcity netcity 220 lis 13 2014 .bash_logout
-rw-r--r-- 1 netcity netcity 3515 lis 13 2014 .bashrc
drwx--x--x 3 netcity netcity 4096 gru 10 17:40 domains
lrwxrwxrwx 1 netcity netcity 23 gru 10 22:06 .dovecot.sieve -> sieve/managesieve.sieve
drwxrwx--- 3 netcity mail 4096 gru 10 17:40 imap
drwxrwx--- 10 netcity mail 4096 gru 14 21:22 Maildir
drwxrwx--- 2 netcity apache 4096 gru 14 00:10 .php
-rw-r--r-- 1 netcity netcity 675 lis 13 2014 .profile
lrwxrwxrwx 1 netcity netcity 35 gru 10 17:40 public_html -> ./domains/netcity.kl.pl/public_html
-rw-r----- 1 netcity mail 34 gru 10 17:40 .shadow
drwx------ 3 netcity netcity 4096 gru 12 16:38 sieve
root@ds:/home/netcity# cat sieve/managesieve.sieve
Code:
require ["fileinto"];
# rule:[@ds.pl]
if header :contains "subject" "testx"
{
fileinto "ds";
}
My managesieve filters doesn't work
PLEASE HELP.