I'm hoping that this isn't something stupid and that I'm not wasting
bandwidth here, but I'm stuck and don't know any further ways of
debugging this.  And most non-documentation, end-user created info I
find is for 1.0 with cmusieve.

Running Dovecot 1.2.11 on Fedora Core 12.  Added 'sieve' to
'mail_plugins'.  Have enabled verbose logging with 'mail_debug = yes'.
 But I'm not seeing anything in the logs relating to sieve, and the
sieve script I point to isn't being compiled (no .log file).
Everything else works fine, this is a production system where I'm
trying to add sieve support.

What steps can I take to troubleshoot?

Config files:

# dovecot -n
=========

# 1.2.11: /etc/dovecot.conf
# OS: Linux 2.6.31.6-166.fc12.i686.PAE i686 Fedora release 12 (Constantine) ext3
log_path: /var/log/dovecot/dovecot-err.log
info_log_path: /var/log/dovecot/dovecot-info.log
protocols: imap imaps pop3 pop3s managesieve
ssl_cert_file: /etc/postfix/ssl/dovecot/certs/dovecot.pem
ssl_key_file: /etc/postfix/ssl/dovecot/private/dovecot.pem
disable_plaintext_auth: yes
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
login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
login_process_per_connection: no
login_processes_count: 10
first_valid_gid: 5000
last_valid_gid: 5000
mail_uid: 5000
mail_gid: 5000
mail_location: maildir:/home/vmail/%d/%n/Maildir
mail_debug: yes
maildir_very_dirty_syncs: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_executable(managesieve): /usr/libexec/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/managesieve
lda:
  postmaster_address: [email protected]
  hostname: domain.com
  mail_plugins: sieve quota
auth default:
  mechanisms: plain login apop
  user: nobody
  passdb:
    driver: sql
    args: /etc/postfix/dovecot.sql
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: vmail
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: vmail
plugin:
  sieve: /home/vmail/sieve-scripts/sieve.siv



/etc/postfix/dovecot.sql:
=================

driver = mysql
connect = host=/var/lib/mysql/mysql.sock dbname=postfix user=dovecot
password=dovecot

user_query = SELECT concat('/home/vmail/', maildir) as home,
concat('maildir:/home/vmail/', maildir) as mail, 5000 AS uid, 5000 AS
gid, concat('maildir:storage=', quota) AS quota FROM mailbox WHERE
username = '%u' AND active = '1'

password_query = SELECT username as user, password,
concat('/home/vmail/', maildir) as userdb_home,
concat('maildir:/home/vmail/', maildir) as userdb_mail, 5000 as
userdb_uid, 5000 as userdb_gid FROM mailbox WHERE username = '%u' AND
active = '1'


=================
[r...@sys ~]# cd /var/log/dovecot/
[r...@sys dovecot]# grep -i sieve *
dovecot-info.log:Jun 14 13:09:22 managesieve-login: Info: Disconnected
(no auth attempts): rip=::1, lip=::1, secured

Only log entry from me telnetting to the managesieve port.

-- Darek

Reply via email to