Hi,
I've installed sieve and managesieve(pigeonhole) on qmail and dovecot(v2.0.11).
I've install sieverules on Roundcube. I can see the plugin on the webinterface, and i can add rules.
But there is a problem:
I've put this .qmail file on "deneme" user's home directory according to 1.
|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER
Then I got this message on qmail log:
deferral: /var/qmail/bin/preline:_line_1:_test:_too_many_arguments/
Incoming e-mail written to the disk but doesn't seen on inbox.
If i have change my .qmail file to this: /usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER
Plugin doesn't return a message to mail sender:
Debug: Loading modules from directory: /usr/local/lib/dovecot Debug: Module loaded: /usr/local/lib/dovecot/lib90_sieve_plugin.so Debug: auth input: deneme@example.com 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=4D80A733.8010906@test.com.tr: discarded vacation reply to <> Info: sieve: msgid=4D80A733.8010906@test.com.tr: stored mail into mailbox 'INBOX'
But i can forward the incoming mail to another address.
Why doesn't work this plugin, any ideas?
[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 = postmaster@example.com 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'
-- Selcuk MIYNAT Endersys Ltd. Sistem Destek Muhendisi / System Support Engineer
Phone : +90 216-4709423 | Fax : +90 216-4709508 Web : http://www.endersys.com.tr
Blog : http://blog.endersys.com Twitter : http://www.twitter.com/endersys LPI : The #1 Linux Certification for IT Professionals LPI (Linux Professional Institute) Turkey http://www.lpi-turkey.com
Endersys is the first Advanced Business Partner of Red Hat in Turkey ! http://www.europe.redhat.com/partners/endersys/
-- Selcuk MIYNAT Endersys Ltd. Sistem Destek Muhendisi / System Support Engineer
Phone : +90 216-4709423 | Fax : +90 216-4709508 Web : http://www.endersys.com.tr
Blog : http://blog.endersys.com Twitter : http://www.twitter.com/endersys LPI : The #1 Linux Certification for IT Professionals LPI (Linux Professional Institute) Turkey http://www.lpi-turkey.com
Endersys is the first Advanced Business Partner of Red Hat in Turkey ! http://www.europe.redhat.com/partners/endersys/