[Dovecot] Need help for configure sieve

Mathieu R. mathieu at 400iso.net
Tue Nov 20 21:10:38 EET 2012


Hello,

i just did set up a mail server with postfix+dovecot+mysql+roundcube
everything work fine.

Now i'm trying to configure dovecot to get sieve working, and i 
probably missing something, cause i can not get it to fall in work...

Thanks in advance, if you can help me a bit...

here is my dovecot (2.1.10) conf :


20:07 root at curzio /home/mathieu # dovecot -n
# 2.1.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.30-xenU-7157-x86_64 x86_64 Arch Linux
mail_home = /srv/vmail/%d/%u
mail_location = maildir:~
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
passdb {
   args = /etc/dovecot/dovecot-sql.conf
   driver = sql
}
plugin {
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
protocols = imap pop3 sieve
service auth {
   unix_listener auth-client {
     group = postfix
     mode = 0660
     user = postfix
   }
   user = root
}
ssl_cert = </etc/ssl/private/server.crt
ssl_key = </etc/ssl/private/server.key
userdb {
   args = /etc/dovecot/dovecot-sql.conf
   driver = sql
}
protocol lda {
   mail_plugins = " sieve"
}


here is my postfix conf :
20:07 root at curzio /home/mathieu # postconf -n
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd 
$daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_protocols = ipv4
local_recipient_maps = $virtual_mailbox_maps
local_transport = virtual
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
relay_domains = *
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, 
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_path = /var/run/dovecot/auth-client
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/private/server.crt
smtpd_tls_key_file = /etc/ssl/private/server.key
smtpd_tls_loglevel = 1
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/etc/postfix/virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /srv/vmail
virtual_mailbox_domains = 
proxy:mysql:/etc/postfix/virtual_domains_maps.cf
virtual_mailbox_limit = 512000000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/virtual_mailbox_maps.cf
virtual_minimum_uid = 5000
virtual_transport = virtual
virtual_uid_maps = static:5000


i use the roundcube plugin managesieve, wich seems to work correctly.


-- 
Mathieu R.



More information about the dovecot mailing list