[Dovecot] Plugins for Dovecot at FreeBSD 6.0
Hi
I met problem developing plug-in under FreeBSD 6.1.
First I tried to use internal plugins like quota and acl but I got:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so: dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found, required by "imap"
This library doesn't exist on FreeBSD 6.1 Same story when u mention any plugin in dovecot.conf…
Any ideas how to fix it?
Yours Boris
Boris Ivanov wrote:
Hi
I met problem developing plug-in under FreeBSD 6.1.
First I tried to use internal plugins like quota and acl but I got:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so: dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found, required by "imap"
This library doesn't exist on FreeBSD 6.1 Same story when u mention any plugin in dovecot.conf…
Any ideas how to fix it?
The nss functions are in libc. So I'd guess removing all reference to any nss_*.so libs would be sufficient.
-- Yours Boris
Dominic
On 2006-09-07 13:24:19 +0100, Dominic Marks wrote:
Boris Ivanov wrote:
Hi
I met problem developing plug-in under FreeBSD 6.1.
First I tried to use internal plugins like quota and acl but I got:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so: dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found, required by "imap"
This library doesn't exist on FreeBSD 6.1 Same story when u mention any plugin in dovecot.conf…
Any ideas how to fix it?
The nss functions are in libc. So I'd guess removing all reference to any nss_*.so libs would be sufficient.
how about cleaning up our nsswitch.conf? or the fbsd equivalent of it.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Marcus Rueckert wrote:
On 2006-09-07 13:24:19 +0100, Dominic Marks wrote:
Hi
I met problem developing plug-in under FreeBSD 6.1.
First I tried to use internal plugins like quota and acl but I got:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so: dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found, required by "imap"
This library doesn't exist on FreeBSD 6.1 Same story when u mention any plugin in dovecot.conf…
Any ideas how to fix it? The nss functions are in libc. So I'd guess removing all reference to any nss_*.so
Boris Ivanov wrote: libs would be sufficient.
how about cleaning up our nsswitch.conf? or the fbsd equivalent of it.
What do you mean exactly? By the it is /etc/nsswitch.conf on FreeBSD too.
A default one looks like:
group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files
I'm no expert on nsswitch by the way! :)
Dominic
On 2006-09-07 15:17:28 +0100, Dominic Marks wrote:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so: dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found, required by "imap"
[snip]
hosts: files dns
i leave the simple math to the reader.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Hi
After zeroing nsswitch.conf everything work like charm...
On 07/09/06, Dominic Marks dom@goodforbusiness.co.uk wrote:
Marcus Rueckert wrote:
On 2006-09-07 13:24:19 +0100, Dominic Marks wrote:
Hi
I met problem developing plug-in under FreeBSD 6.1.
First I tried to use internal plugins like quota and acl but I got:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so: dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found, required by "imap"
This library doesn't exist on FreeBSD 6.1 Same story when u mention any plugin in dovecot.conf…
Any ideas how to fix it? The nss functions are in libc. So I'd guess removing all reference to any nss_*.so
Boris Ivanov wrote: libs would be sufficient.
how about cleaning up our nsswitch.conf? or the fbsd equivalent of it.
What do you mean exactly? By the it is /etc/nsswitch.conf on FreeBSD too.
A default one looks like:
group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files
I'm no expert on nsswitch by the way! :)
Dominic
-- Yours Boris
Hi
Are there any chance to write plugin-hook on every IMAP command?
Thank you BR Boris
On 12/09/06, Boris Ivanov boris.ivanov@gmail.com wrote:
Hi
After zeroing nsswitch.conf everything work like charm...
On 07/09/06, Dominic Marks
wrote: Marcus Rueckert wrote:
On 2006-09-07 13:24:19 +0100, Dominic Marks wrote:
Boris Ivanov wrote:
Hi
I met problem developing plug-in under FreeBSD 6.1.
First I tried to use internal plugins like quota and acl but I got:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so: dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found, required by "imap"
This library doesn't exist on FreeBSD 6.1 Same story when u mention any plugin in dovecot.conf…
Any ideas how to fix it? The nss functions are in libc. So I'd guess removing all reference to
any nss_*.so libs would be sufficient.
how about cleaning up our nsswitch.conf? or the fbsd equivalent of it.
What do you mean exactly? By the it is /etc/nsswitch.conf on FreeBSD too.
A default one looks like:
group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files
I'm no expert on nsswitch by the way! :)
Dominic
-- Yours Boris
-- Yours Boris
participants (3)
-
Boris Ivanov
-
Dominic Marks
-
Marcus Rueckert