Selam,

qmail ve dovecot(v2.0.11) üzerine sieve ve managesieve (pigeonhole)
kurulumu yaptım.

Roundcube üzerine sieverules eklentisini kurdum. Webarayüzünde bu
eklenti görünüyor ve kural eklenebiliyor.

Şöyle bir sıkıntı var:

deneme kullanıcısının ev dizinine .qmail dosyası koydum[1]:

|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER

Bu durumda qmail loglarına şu hata mesajı düşüyor:

deferral: /var/qmail/bin/preline:_line_1:_test:_too_many_arguments/

Mail'ler diske (kullanıcının ev dizinine) yazılıyor ancak inbox'a düşmüyor.

.qmail dosyasını şu hale getirdiğimde:
/usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER

Gelen mail'e cevap dönemiyor:

Debug: Loading modules from directory: /usr/local/lib/dovecot
Debug: Module loaded: /usr/local/lib/dovecot/lib90_sieve_plugin.so
Debug: auth input: [email protected]
home=/home/vpopmail/domains/example.com/deneme uid=89 gid=89
Debug: Effective uid=89, gid=89, home=/home/vpopmail/domains/example.com/deneme
Debug: fs: root=/home/vpopmail/domains/example.com/deneme/Maildir,
index=, control=,
inbox=/home/vpopmail/domains/example.com/deneme/Maildir
Debug: none: root=, index=, control=, inbox=
Debug: sieve: using sieve path for user's script:
/home/vpopmail/domains/example.com/deneme/.dovecot.sieve
Debug: sieve: opening script
/home/vpopmail/domains/example.com/deneme/.dovecot.sieve
Debug: sieve: script binary
/home/vpopmail/domains/example.com/deneme/.dovecot.svbin successfully
loaded
Debug: sieve: binary save: not saving binary
/home/vpopmail/domains/example.com/deneme/.dovecot.svbin, because it
is already stored
Debug: sieve: executing script from
/home/vpopmail/domains/example.com/deneme/.dovecot.svbin
Info: sieve: msgid=<[email protected]>: discarded vacation
reply to <>
Info: sieve: msgid=<[email protected]>: stored mail into
mailbox 'INBOX'

Gelen mail'i başka bir adrese forwardlamak istediğimizde bir problem olmuyor.
Sorun ne olabilir?

dovecot -n çıktısı:

[root@mail ~]# dovecot -n
# 2.0.11: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-194.32.1.el5 x86_64 CentOS release 5.5 (Final)
auth_debug = yes
auth_default_realm = example.com
auth_mechanisms = plain digest-md5 cram-md5
auth_socket_path = /usr/local/var/run/dovecot/auth-userdb
auth_verbose = yes
disable_plaintext_auth = no
first_valid_uid = 0
last_valid_uid = 100
log_path = /var/log/dovecot
mail_debug = yes
mail_location = maildir:~/Maildir:LAYOUT=fs
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
passdb {
  args = /usr/local/etc/dovecot-sql.conf
  driver = sql
}
plugin/sieve = ~/.dovecot.sieve
plugin/sieve_dir = ~/sieve
protocols = imap pop3 sieve
service auth {
  unix_listener auth-userdb {
    group = vchkpw
    mode = 0600
    user = vpopmail
  }
}
ssl = no
userdb {
  args = /usr/local/etc/dovecot-sql.conf
  driver = sql
}
protocol lda {
  info_log_path = /var/log/dovecot-deliver.log
  log_path = /var/log/dovecot-deliver-errors.log
  mail_plugins = " sieve"
  postmaster_address = [email protected]
  sendmail_path = /var/qmail/bin/sendmail
}

dovecot-sql.conf çıktısı:

driver = mysql
connect = host=localhost user=vpopmailuser password=vpopmailpassword
dbname=vpopmail
default_pass_scheme = PLAIN
password_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user,
pw_clear_passwd AS password FROM vpopmail WHERE pw_name = '%n' AND
pw_domain = '%d'
user_query = SELECT pw_dir as home, 89 AS uid, 89 AS gid FROM vpopmail
WHERE pw_name = '%n' AND pw_domain = '%d'

[1]: http://wiki2.dovecot.org/LDA/Qmail

-- 
Selçuk
_______________________________________________
Linux-sunucu E-Posta Listesi
[email protected]

Liste kurallarını http://liste.linux.org.tr/kurallar.php  bağlantısından 
okuyabilirsiniz;

Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen 
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux-sunucu

Cevap