[Dovecot] CMUSieve with virtual users

Roderick A. Anderson raanders at cyber-office.net
Fri Feb 20 18:52:13 EET 2009



Guillaume HILT wrote:
> I don't have any sieve error file.

Do you have and messages in the dovecot (or postfix) log files that 
relate to 'sieve'?

Here is the one I got when I'd forgotten to install dovecot-sieve (yum 
or rpm)

deliver(info at mydomain.com): Feb 03 08:39:27 Fatal: Plugin
  cmusieve not found from directory /usr/lib/dovecot/lda

And this after I installed dovecot-sieve and it was working for another 
account.

deliver(raanders at mydomain.com): Feb 20 08:47:25 Info: cmusieve: 
Executing script /var/mail/vhosts/mydomain.com/raanders/dovecot.sievec

And then this if there is no dovecot.sieve file (I don't hide mine like 
in the examples as this is a virtual mailbox server.)

deliver(info at aesoft-sbcs.com): Feb 17 13:42:42 Info: cmusieve:
/var/mail/vhosts/mydomain.com/info/dovecot.sieve doesn't exist


Rod
-- 
> 
> # dovecot -n
> # 1.1.11: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.28-gentoo-r1-xxxx-std-ipv4-64 x86_64 Gentoo Base System 
> release 1.12.11.1 ext3
> base_dir: /var/run/dovecot/
> log_path: /var/log/mail/dovecot.log
> info_log_path: /var/log/mail/dovecot.info
> protocols: imap imaps pop3 pop3s
> listen(default): *:143
> listen(imap): *:143
> listen(pop3): *:110
> ssl_listen(default): *:993
> ssl_listen(imap): *:993
> ssl_listen(pop3): *:995
> ssl_cert_file: /etc/ssl/dovecot/server.pem
> ssl_key_file: /etc/ssl/dovecot/server.key
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot//login
> login_executable(default): /usr/libexec/dovecot/imap-login
> login_executable(imap): /usr/libexec/dovecot/imap-login
> login_executable(pop3): /usr/libexec/dovecot/pop3-login
> first_valid_uid: 1001
> last_valid_uid: 1001
> mail_privileged_group: mail
> mail_uid: vmail
> mail_gid: mail
> mail_location: maildir:/home/vmail/%d/%n/.maildir
> maildir_copy_preserve_filename: yes
> mail_executable(default): /usr/libexec/dovecot/imap
> mail_executable(imap): /usr/libexec/dovecot/imap
> mail_executable(pop3): /usr/libexec/dovecot/pop3
> mail_plugins(default): antispam
> mail_plugins(imap): antispam
> mail_plugins(pop3):
> mail_plugin_dir(default): /usr/lib/dovecot/imap
> mail_plugin_dir(imap): /usr/lib/dovecot/imap
> mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
> imap_client_workarounds(default): delay-newmail
> imap_client_workarounds(imap): delay-newmail
> imap_client_workarounds(pop3):
> pop3_client_workarounds(default):
> pop3_client_workarounds(imap):
> pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
> auth default:
>  user: nobody
>  gssapi_hostname: mail.myserver.com
>  passdb:
>    driver: sql
>    args: /etc/dovecot/dovecot-sql.conf
>  userdb:
>    driver: sql
>    args: /etc/dovecot/dovecot-sql.conf
>  socket:
>    type: listen
>    client:
>      path: /var/spool/postfix/private/auth
>      mode: 432
>      user: postfix
>      group: postfix
>    master:
>      path: /var/run/dovecot/auth-master
>      mode: 432
>      user: vmail
>      group: mail
> plugin:
>  quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
>  quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80
>  quota: maildir
>  antispam_signature: X-DSPAM-Signature
>  antispam_signature_missing: error
>  antispam_trash: Trash
>  antispam_spam: Spam
>  antispam_dspam_binary: /usr/bin/dspam
>  sieve: /home/vmail/%d/%n/.dovecot.sieve
> dict:
>  quota: mysql:/etc/dovecot/dovecot-dict-quota.conf


More information about the dovecot mailing list