[Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
I have installed dovecot and sieve using the FreeBSD ports. Authentication is against a MySql Database.
Dovecot is running using deliver as the LDA.
But when I try to Sieve I get the following error in /var/log/dovecot.log
deliver(mike@systemrt.com): Apr 19 14:07:19 Info: Loading modules from directory: /usr/local/libexec/dovecot deliver(mike@systemrt.com): Apr 19 14:07:19 Fatal: Plugin sieved not found from directory /usr/local/libexec/dovecot
Yet in /usr/local/libexec/dovecot the binaries are there
root@db3 /usr/local/libexec/dovecot> ll total 2432 -r-xr-xr-x 1 root wheel 29980 Apr 17 15:51 checkpassword-reply* -r-xr-xr-x 1 root wheel 476884 Apr 17 15:51 deliver* -r-xr-xr-x 1 root wheel 88700 Apr 17 15:51 dict* -r-xr-xr-x 1 root wheel 254984 Apr 17 15:51 dovecot-auth* -r-xr-xr-x 1 root wheel 30588 Apr 17 15:51 gdbhelper* -r-xr-xr-x 1 root wheel 34816 Apr 17 15:51 idxview* -r-xr-xr-x 1 root wheel 523128 Apr 17 15:51 imap* -r-xr-xr-x 1 root wheel 103968 Apr 17 15:51 imap-login* -r-xr-xr-x 1 root wheel 31996 Apr 17 15:51 logview* -r-xr-xr-x 1 root wheel 474288 Apr 17 15:51 pop3* -r-xr-xr-x 1 root wheel 98932 Apr 17 15:51 pop3-login* -r-xr-xr-x 1 root wheel 52764 Apr 17 15:51 rawlog* -r-xr-xr-x 1 root wheel 108980 Apr 11 09:17 sievec* -r-xr-xr-x 1 root wheel 50228 Apr 11 09:17 sieved* -r-xr-xr-x 1 root wheel 30784 Apr 17 15:51 ssl-build-param*
What am I doing wrong?
Ed
Here is the dovecot.conf file
## Dovecot configuration file
mail_debug = yes log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot.log
# IC - EL 2006.09.29 protocols = imap imaps pop3 pop3s
# IC - EL 2006.09.29 disable_plaintext_auth = no
# IC - EL 2006.09.29 ssl_disable = no
# IC - EL 2006.09.29 ssl_cert_file = /usr/share/ssl/s/Cert.pem ssl_key_file = /usr/share/ssl/s/PrivateKey.pem
login_process_size = 64
# IC - EL 2006.09.29 login_processes_count = 6
# IC - EL 2006.09.29 login_greeting = InternetCrusade ready.
# IC - EL 2006.09.29 default_mail_env = maildir:/var/mail/%Ld/%Ln mail_save_crlf = yes maildir_copy_with_hardlinks = yes
mail_extra_groups = mail
verbose_proctitle = yes
first_valid_gid = 0
protocol imap { imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep }
protocol pop3 { # IC - EL 2006.09.29 pop3_uidl_format = %v.%u
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh }
protocol lda { postmaster_address = postmaster@internetcrusade.com sendmail_path = /usr/sbin/sendmail
# Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. mail_plugin_dir = /usr/local/libexec/dovecot mail_plugins = sieved
# If there is no user-specific Sieve-script, global Sieve script is # executed if set. global_script_path = /usr/local/etc/sieve.default }
auth default { # IC - EL 2006.09.29 mechanisms = plain login cram-md5 digest-md5 ntlm
# IC - EL 2006.09.29 passdb sql { args = /usr/local/etc/dovecot-sql.conf }
# IC - EL 2006.09.29 userdb static { args = uid=5000 gid=5000 home=/var/mail/%Ld/%Ln }
# IC - EL 2006.09.29 socket listen { master { # Master socket provides access to userdb information. It's typically # used to give Dovecot's local delivery agent access to userdb so it # can find mailbox locations. path = /var/run/dovecot/auth-master mode = 0600 # Default user/group is the one who started dovecot-auth (root) user = icmail group = icmail } client { user = postfix group = postfix path = /var/spool/postfix/private/auth mode = 0660 } } }
#dict { #quota = mysql:/etc/dovecot-dict-quota.conf #}
auth_debug = yes auth_debug_passwords = yes verbose_ssl = yes mmap_disable=yes #fsync_disable=yes
AFAIK, sieved is not a sieve plugin. At least here on Gentoo it is called cmusieve (same in wiki) and it is located in /usr/lib/dovecot/lda/.
Láďa
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Ed Lucero Sent: Friday, April 20, 2007 12:05 AM To: dovecot@dovecot.org Subject: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
I have installed dovecot and sieve using the FreeBSD ports. Authentication is against a MySql Database.
Dovecot is running using deliver as the LDA.
But when I try to Sieve I get the following error in /var/log/dovecot.log
deliver(mike@systemrt.com): Apr 19 14:07:19 Info: Loading modules from directory: /usr/local/libexec/dovecot deliver(mike@systemrt.com): Apr 19 14:07:19 Fatal: Plugin sieved not found from directory /usr/local/libexec/dovecot
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Láda Sent: Friday, April 20, 2007 12:33 AM To: Ed Lucero; dovecot@dovecot.org Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
AFAIK, sieved is not a sieve plugin. At least here on Gentoo it is called cmusieve (same in wiki) and it is located in /usr/lib/dovecot/lda/.
Láďa
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot- bounces@dovecot.org] On Behalf Of Ed Lucero Sent: Friday, April 20, 2007 12:05 AM To: dovecot@dovecot.org Subject: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
I have installed dovecot and sieve using the FreeBSD ports. Authentication is against a MySql Database.
Dovecot is running using deliver as the LDA.
But when I try to Sieve I get the following error in /var/log/dovecot.log
deliver(mike@systemrt.com): Apr 19 14:07:19 Info: Loading modules from directory: /usr/local/libexec/dovecot deliver(mike@systemrt.com): Apr 19 14:07:19 Fatal: Plugin sieved not found from directory /usr/local/libexec/dovecot
This is a FreeBSD port. It creates two binaries sievec and sieved. I looked at the src in the port and the one downloaded from the web. They are identical except for some files used nthe FreeBSD port.
I'll contact the man doing the p[ort.
Thanks Ed
Yeh, of course, these two files are also present on Linux. But none of them is actually plugin, according to wiki: http://wiki.dovecot.org/LDA/Sieve
Maybe I am wrong, but cmusieve is working nice for me :-)
Láďa
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Ed Lucero Sent: Friday, April 20, 2007 6:00 PM To: dovecot@dovecot.org Cc: nivo+kw+ports.bfa274@is-root.com Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
This is a FreeBSD port. It creates two binaries sievec and sieved. I looked at the src in the port and the one downloaded from the web. They are identical except for some files used nthe FreeBSD port.
I'll contact the man doing the p[ort.
Thanks Ed
"ed" == Ed Lucero edlucero@internetcrusade.com writes:
ed> It creates two binaries sievec and sieved. [...]
- sievec is a standalone bytecode compiler
- sieved is a standalone bytecode de-compiler
You can use them to verify that .dovecot.sieve and .dovecot.sievec are being updated correctly by the cmusieve plugin. The dovecot-sieve tarball bundles CMU libsieve, from which they originate, and they get installed 'for free'.
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of pod Sent: Friday, April 20, 2007 10:44 AM To: dovecot@dovecot.org Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
"ed" == Ed Lucero edlucero@internetcrusade.com writes:
ed> It creates two binaries sievec and sieved. [...]
- sievec is a standalone bytecode compiler
- sieved is a standalone bytecode de-compiler
You can use them to verify that .dovecot.sieve and .dovecot.sievec are being updated correctly by the cmusieve plugin. The dovecot-sieve tarball bundles CMU libsieve, from which they originate, and they get installed 'for free'.
Im not finding cmusieve unless its just a library
Here is my find on user local for sieve
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so /usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.la /usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.a /usr/local/libdata/ldconfig/dovecot-sieve /usr/local/libexec/dovecot/sievec /usr/local/libexec/dovecot/sieved
Ed
Ed Lucero wrote on 20-4-2007 18:00:
deliver(mike@systemrt.com): Apr 19 14:07:19 Info: Loading modules from
directory: /usr/local/libexec/dovecot deliver(mike@systemrt.com): Apr 19 14:07:19 Fatal: Plugin sieved not found from directory /usr/local/libexec/dovecot
This is a FreeBSD port. It creates two binaries sievec and sieved. I looked at the src in the port and the one downloaded from the web. They are identical except for some files used nthe FreeBSD port.
I'll contact the man doing the p[ort.
That would be me.
Your dovecot is looking in the wrong place to find the sieve plugin. Try pointing it to
/usr/local/lib/dovecot/lda
Greets,
Nils
-- Those who desire to give up freedom in order to gain security, will not have, nor do they deserve, either one.
~Benjamin Franklin (American Statesman, Scientist, Philosopher, Printer, Writer and Inventor. 1706-1790)
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Nils Vogels Sent: Friday, April 20, 2007 11:36 AM To: Ed Lucero Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
Ed Lucero wrote on 20-4-2007 18:00:
deliver(mike@systemrt.com): Apr 19 14:07:19 Info: Loading modules from
directory: /usr/local/libexec/dovecot deliver(mike@systemrt.com): Apr 19 14:07:19 Fatal: Plugin sieved not found from directory /usr/local/libexec/dovecot
This is a FreeBSD port. It creates two binaries sievec and sieved. I looked at the src in the port and the one downloaded from the web. They are identical except for some files used nthe FreeBSD port.
I'll contact the man doing the p[ort.
That would be me.
Your dovecot is looking in the wrong place to find the sieve plugin. Try pointing it to
/usr/local/lib/dovecot/lda
Greets,
Nils
-- Those who desire to give up freedom in order to gain security, will not have, nor do they deserve, either one.
~Benjamin Franklin (American Statesman, Scientist, Philosopher, Printer, Writer and Inventor. 1706-1790)
Thanks Nils
It is working now.
Ed
Ed Lucero wrote:
I have installed dovecot and sieve using the FreeBSD ports. Authentication is against a MySql Database.
Dovecot is running using deliver as the LDA.
But when I try to Sieve I get the following error in /var/log/dovecot.log
deliver(mike@systemrt.com): Apr 19 14:07:19 Info: Loading modules from directory: /usr/local/libexec/dovecot deliver(mike@systemrt.com): Apr 19 14:07:19 Fatal: Plugin sieved not found from directory /usr/local/libexec/dovecot
Your lda setup is incorrect:
protocol lda { postmaster_address = postmaster@internetcrusade.com sendmail_path = /usr/sbin/sendmail
# Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. mail_plugin_dir = /usr/local/libexec/dovecot mail_plugins = sieved
mail_plugin_dir = /usr/local/lib/dovecot/lda mail_plugins = cmusieve
# If there is no user-specific Sieve-script, global Sieve script is # executed if set. global_script_path = /usr/local/etc/sieve.default }
participants (5)
-
Ed Lucero
-
Justin McAleer
-
Láďa
-
Nils Vogels
-
pod