Hi,
I have inserted my observations between your original email.
Hi Ingo,
The reason I change to Cyrus IMAP Server, because I get information from
some article said that need to change to Cyrus IMAP Server(Site
configuration) in order to use sieve. I’m using using Dovecot/sieve v2.0,
default port 4190, but I set /etc/dovecot/dovecot.conf to listen port 2000
too. Also I can see the .sieve generated on mail server side when actived
"vacation notice". but still not working.
port 4190:
[root@server1 ~]# telnet localhost 2000
Trying ::1…
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
“IMPLEMENTATION” "Cyrus timsieved v2.2.13"
“SIEVE” “fileinto reject envelope encoded-character vacation subaddress
comparator-i;ascii-numeric relational regex imap4flags copy include
variables body enotify environment mailbox date”
“NOTIFY” “mailto”
“SASL” “PLAIN”
“STARTTLS”
“VERSION” "1.0"
OK “Dovecot ready.”
Hmm, why refused first?
I get
ingo@server:/etc/dovecot$ telnet localhost 2000
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
“IMPLEMENTATION” “Dovecot Pigeonhole”
“SIEVE” “fileinto reject envelope encoded-character vacation subaddress
comparator-i;ascii-numeric relational regex imap4flags copy include variables
body enotify environment mailbox date ihave”
“NOTIFY” “mailto”
“SASL” “PLAIN”
“STARTTLS”
“VERSION” "1.0"
OK “Dovecot ready.”
port 4190 output:
[root@server1 ~]# telnet localhost 4190
Trying ::1…
Connected to localhost.
Escape character is ‘^]’.
“IMPLEMENTATION” "Cyrus timsieved v2.2.13"
“SIEVE” “fileinto reject envelope encoded-character vacation subaddress
comparator-i;ascii-numeric relational regex imap4flags copy include
variables body enotify environment mailbox date”
“NOTIFY” “mailto”
“SASL” “PLAIN”
“STARTTLS”
“VERSION” "1.0"
OK “Dovecot ready.”
And the above show that sieve is rather running on port 4190 instead of 2000.
On my system I get
ingo@server:/etc/dovecot$ telnet localhost 4190
Trying 127.0.0.1…
telnet: Unable to connect to remote host: Connection refused
here is my setting in /etc/dovecot/dovecot.conf
protocols = sieve imap pop3
above is okay
plugin {
plugin = sieve
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
Just check whether the above sieve dir exists
service managesieve-login {
inet_listener managesieve-login {
address = *
port = 2000
}
}
I have a different setting:
service managesieve-login {
inet_listener sieve {
port = 2000
}
protocol lda {
#hostname = example.com
mail_plugins = sieve quota
postmaster_address = postmaster@example.com
auth_socket_path = /var/run/dovecot/auth-master
log_path = /var/log/dovecot-deliver.log
}
Above looks okay.
protocol sieve {
managesieve_implementation_string = Cyrus timsieved v2.2.13
managesieve_logout_format = bytes ( in=%i : out=%o )
managesieve_max_line_length = 65536
}
Is the setting correct ?
Change managesieve into sieve for service and try again.
It would appear that your sieve is running on port 4190 instead of 2000.
Use Kmail with configured sieve to test or thunderbird with sieve plugin.
Cheers,
Ingo