You are not logged in.
Pages: 1
hello
i installed dovecot and pigeonhole on my server
i want to add the filtering service (sieve) in roundcube
i configured properly the plugin in roundcube
/etc/dovecot/conf.d/20-managesieve.conf
/etc/dovecot/conf.d/90-plugin.conf
sieve is listening on the good port
but dovecot don't use sieve when it receives a message
thks
Offline
Has sieve been added to the plugins list in 15-lda.conf and 20-lmtp.cong?
They should have something like
protocol lda {
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins sieve
}
Mack
Offline
Here's my working dovecot+sieve+postfix+vmail+roundcube dovecot.conf:
!include_try local.conf
protocols = imap pop3 sieve
auth_mechanisms = plain
namespace {
location = maildir:/home/vmail/%u
type = private
inbox = yes
hidden = no
}
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
userdb sql {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
service auth {
unix_listener auth-client {
mode = 0600
user = postfix
}
}
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
}
protocol lda {
postmaster_address = <postmaster>@<domain.xxx>
hostname = <hostname>
sendmail_path = /usr/sbin/sendmail
mail_plugins = $mail_plugins sieve
log_path = /var/log/dovecot-lda-errors.log
info_log_path = /var/log/dovecot-lda.log
}
protocol sieve {
# Defaults are OK, so nothing in this section.
}
plugin {
sieve = ~/.dovecot.sieve
sieve_global_path = /home/vmail/globalsieverc
sieve_dir = ~/
}
ssl_cert = </etc/ssl/private/server.crt
ssl_key = </etc/ssl/private/server.key
ssl = yes
listen = *
Have you read this: http://www.ian-barton.com/blog/linux/20 … erver.html
Offline
hello
i checked my configuration and all seem to be ok
this is my log but the sieve filter d'ont works
lda: Debug: Added userdb setting: mail=maildir:/data/mail/mydomain.fr/webmaster/
Dec 3 14:11:40 ns27504 dovecot: lda: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: Effective uid=5000, gid=5000, home=/data/mail/mydomain.fr/webmaster/
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: maildir++: root=/data/mail/mydomain.fr/webmaster, index=, control=, inbox=/data/mail/mydomain.fr/webmaster, alt=
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: none: root=, index=, control=, inbox=, alt=
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: Destination address: myname@mydomain.fr (source: user@hostname)
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: sieve: executed before user's personal Sieve script(1): /data/mail/.sieve_before_rc
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: sieve: using the following location for user's Sieve script: /data/mail/mydomain.fr/webmaster/dovecot.sieve
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: sieve: opening script /data/mail/.sieve_before_rc
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: sieve: script binary /data/mail/.sieve_before_rc.svbin successfully loaded
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: sieve: binary save: not saving binary /data/mail/.sieve_before_rc.svbin, because it is already stored
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): Debug: sieve: executing script from /data/mail/.sieve_before_rc.svbin
Dec 3 14:11:40 ns27504 dovecot: lda(myname@mydomain.fr): sieve: msgid=<7CD893D3-FA5F-4C77-8EFD-5DF5D94477CD@anotherdomain.com>: stored mail into mailbox 'INBOX'
Dec 3 14:11:40 ns27504 postfix/pipe[8902]: DF02F20FD7: to=<myname@mydomain.fr>, relay=dovecot, delay=0.41, delays=0.07/0.01/0/0.33, dsn=2.0.0, status=sent (delivered via dovecot service)
Dec 3 14:11:40 ns27504 postfix/qmgr[6776]: DF02F20FD7: removed
this my /etc/dovecot/conf.d/15-lda.conf
mail_debug=yes
postmaster_address = webmaster@mydomain.com
protocol lda {
mail_plugins = $mail_plugins sieve
}
dovecot.conf
protocols = imap pop3 lmtp sieve
dict {
#quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
#expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
}
!include conf.d/*.conf
!include_try local.conf
/etc/dovecot/conf.d/20-lmtp.conf
protocol lmtp {
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins sieve
}
Last edited by freaks (2012-12-05 13:40:05)
Offline
Pages: 1