[Dovecot] Dovecot - Sieve script loaded but filtering doesn't works ?
Clement PAULET
list.it at lmaccess.net
Mon Mar 18 11:51:57 EET 2013
Hello,
I'm trying to install dovecot as LDA, IMAP server and Sieve functions,
all of this with a Postfix, Spamassassin and a MySQL Auth.
When I use a Sieve script, it 's loaded but actions are not respect
with this logs :
Mar 18 10:31:19 localhost dovecot: lda(info at info.xx.com): Debug: sieve:
using sieve path for user's script: /vmail/sieve/info.xx.com/info.sieve
Mar 18 10:31:19 localhost dovecot: lda(info at info.xx.com): Debug: sieve:
opening script /vmail/sieve/info.xx.com/info.sieve
Mar 18 10:31:19 localhost dovecot: lda(info at info.xx.com): Debug: sieve:
script binary /vmail/sieve/info.xx.com/info.svbin successfully loaded
Mar 18 10:31:19 localhost dovecot: lda(info at info.xx.com): Debug: sieve:
binary save: not saving binary /vmail/sieve/info.xx.com/info.svbin,
because it is already stored
Mar 18 10:31:19 localhost dovecot: lda(info at info.xx.com): Debug: sieve:
executing script from /vmail/sieve/info.xx.com/info.svbin
Mar 18 10:31:19 localhost dovecot: lda(info at info.xx.com): sieve:
msgid=<20130318093119.7EAAEC063D at nflda02.xx.lan>: stored mail into
mailbox 'INBOX'
Mar 18 10:31:19 localhost postfix/pipe[25000]: 7EAAEC063D:
to=<info at info.xx.com>, relay=dovecot, delay=0.54,
delays=0.15/0.03/0/0.37, dsn=2.0.0, status=sent (delivered via dovecot
service)
The sieve script just trying to redirect to INBOX.Test folder but
doesn't works..
Bellow my dovecot and postfix configuration :
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.0.1.el6.x86_64 x86_64 CentOS release 6.4 (Final)
ext4
mail_debug = yes
mail_gid = 5000
mail_location = maildir:/vmail/%d/%n:INDEX=/vmail/index/%d/%n
mail_privileged_group = vmail
mail_uid = 5000
mbox_write_locks = fcntl
namespace {
inbox = yes
location =
prefix =
separator = .
subscriptions = yes
type = private
}
passdb {
driver = pam
}
passdb {
args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
driver = sql
}
plugin {
sieve = /vmail/sieve/%d/%n.sieve
sieve_dir = /vmail/sieve/%d
}
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
userdb {
args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
driver = sql
}
protocol lmtp {
mail_plugins = sieve
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-userdb
mail_plugins = sieve
postmaster_address = postmaster at smtp.xx.com
}
# /etc/postfix/master.conf
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a
"$RECIPIENT"
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = xx.lan
myhostname = nflda02.xx.lan
mynetworks = 192.168.0.0/24, 192.168.3.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /vmail/
virtual_mailbox_domains =
mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000
Sorry for this easy question, I'm new on LINUX.
Thanks in advance.
--
Clément PAULET
More information about the dovecot
mailing list