Hi All!!! I'm configure mail server with Postix+Mysql+Dovecot. How can I'm using to work sieve plugins? My dovecot.conf /protocol lda { mail_plugin_dir = /usr/lib/dovecot/lda #sendmail_path = /usr/sbin/postfix #auth_socket_path = /var/run/dovecot/auth-master mail_plugins = cmusieve #global_script_path = /etc/sieve.conf } plugin { sieve = /etc/sieve.conf sieve = /home/vmail/domain.ru/user@domain.ru/.dovecot.sieve/ My sieve.conf cat sieve.conf /require "fileinto"; if header :contains "Subject" "***SPAM***" { fileinto ".Spam"; stop; My .dovecot.sieve require "fileinto"; if header :contains "Subject" "***SPAM***" { fileinto ".Spam"; stop; }/ The mail server is already installed and work, but the sieve plugins is not work((( /ls /usr/lib/dovecot/lda lib01_acl_plugin.so lib11_trash_plugin.so lib20_expire_plugin.so lib20_mail_log_plugin.so lib90_cmusieve_plugin.la lib10_quota_plugin.so lib20_convert_plugin.so lib20_fts_plugin.so lib21_fts_squat_plugin.so lib90_cmusieve_plugin.so/ All messages marked as ***SPAM*** , get to a folder the .INBOX... _Sieve plugins is not working._ In what there can be a problem? Thanks for All!!! Best Regards Andrey...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 6 Apr 2009, Andrey Garkin wrote:
I'm configure mail server with Postix+Mysql+Dovecot.
Sieve is used at LDA phase, hence, you must configure Postfix to use Dovecot deliver to spool the messages.
plugin { sieve = /etc/sieve.conf sieve = /home/vmail/domain.ru/user@domain.ru/.dovecot.sieve/
These two specs look odd to me. I think the last one superceeds the previous ones.
BTW: dovecot -n displays the effective settings.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSd2ya3WSIuGy1ktrAQKUzggAuxGCyTLbrmQqkEaf9KPijoNDreYmmzQu cfYl1WMYKTm7wemqJ7Hv5PgKup7/mRZQUraAREh4dBbatKPune7156PTNlr5o51P RL/XiJp/53I1Uo5j1jhOwb0de37X+rgAyC33HtQqiRW5SbZFI4lB0J2eYM/QGPfC Or9GONPNkYIimdrWCORUDUkm8Ro7c2mM5b3GoOZMbrngv9cpRo4oMRtuDlcsgV3M BqZAO9s92lAaTZCQNVTT9V0ebIXBPON/hVjaiALZOjZuP4XN+4U5AwDIjZIiWX// ioNYPA1CIVeqliHPZd9PnTpxLzUbcmRDcZJV3dbH9y+BbRY78CY7BA== =EAQM -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 6 Apr 2009, Andrey Garkin wrote:
I'm configure mail server with Postix+Mysql+Dovecot.
Sieve is used at LDA phase, hence, you must configure Postfix to use Dovecot deliver to spool the messages.
plugin { sieve = /etc/sieve.conf sieve = /home/vmail/domain.ru/user@domain.ru/.dovecot.sieve/
These two specs look odd to me. I think the last one superceeds the previous ones.
BTW: dovecot -n displays the effective settings.
Bye,
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSd2ya3WSIuGy1ktrAQKUzggAuxGCyTLbrmQqkEaf9KPijoNDreYmmzQu cfYl1WMYKTm7wemqJ7Hv5PgKup7/mRZQUraAREh4dBbatKPune7156PTNlr5o51P RL/XiJp/53I1Uo5j1jhOwb0de37X+rgAyC33HtQqiRW5SbZFI4lB0J2eYM/QGPfC Or9GONPNkYIimdrWCORUDUkm8Ro7c2mM5b3GoOZMbrngv9cpRo4oMRtuDlcsgV3M BqZAO9s92lAaTZCQNVTT9V0ebIXBPON/hVjaiALZOjZuP4XN+4U5AwDIjZIiWX// ioNYPA1CIVeqliHPZd9PnTpxLzUbcmRDcZJV3dbH9y+BbRY78CY7BA== =EAQM -----END PGP SIGNATURE----- My dovecot -n # 1.1.13: /etc/dovecot.conf # OS: Linux 2.6.18-92.1.22.el5.centos.plus i686 CentOS release 5.3 (Final) ext3
Steffen Kaiser пишет: base_dir: /var/run/dovecot/ log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot-info.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps listen: *:143 ssl_listen: *:993 verbose_ssl: yes login_dir: /var/run/dovecot//login login_executable: /usr/libexec/dovecot/imap-login first_valid_uid: 5000 last_valid_uid: 5000 mail_access_groups: mail mail_location: maildir:/home/vmail/%d/%n@%d mail_debug: yes auth default: mechanisms: plain login cram-md5 verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot-mysql.conf userdb: driver: sql args: /etc/dovecot-mysql.conf plugin: sieve: /etc/sieve.conf sieve: /home/vmail/domain.ru/user@domain.ru/.dovecot.sieve
Sorry: What I'm must be add to master.cf (Postfix configuration) <you must configure Postfix to use Dovecot deliver to spool the messages. >
Thanks for All.
On 4/9/2009 10:23 AM, Administrator wrote:
Sorry: What I'm must be add to master.cf (Postfix configuration) <you must configure Postfix to use Dovecot deliver to spool the messages. >
http://wiki.dovecot.org/LDA/Postfix
--
Best regards,
Charles
Hi All!!! I have successfully configure my mail server. Dovecot+Postfix+Mysql. It is work. In the mail.log I see: postfix/pipe[19520]: DFCCC640048: to=user@domain.ru, relay=dovecot, delay=0.19, delays=0.06/0.07/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service) But the sieve plugin isn't work. :'( My dovecot.conf: plugin { sieve = /home/vmail/domain.ru/user@domain.ru/dovecot.sieve } /In the dovecot.log I see:/ Error: sieve_execute_bytecode(/home/vmail/domain.ru/user@domain.ru/dovecot.sievec) failed /In the dovecot-info.log I see:/ Info: cmusieve: Using sieve path: /home/vmail/domain.ru/user@domain.ru/dovecot.sieve deliver(user@domain.ru): Info: cmusieve: Executing script /home/vmail/domain.ru/user@domain.ru/dovecot.sievec
Please Help Me... :'(
participants (4)
-
Administrator
-
Andrey Garkin
-
Charles Marcus
-
Steffen Kaiser