[Dovecot] AIX mail quota plugin problems

Stewart Dean sdean at bard.edu
Wed May 30 19:46:58 EEST 2007


  From reading the wiki for a filesystem quota, I took my shot at
1) building my binaries using the mods in AIXPluginsSupport
2) changing dovecot.conf and
3) putting the plugins in the library
But I'm getting this error message when I invoke dovecot:

Plugin imap_quota not found from directory /usr/local/lib/dovecot
Error: imap dump-capability process returned 89

It would seem that
a) I have the syntax or the parameters wrong
b) I didn't get the changes to the AIX build environment right

I've attached the dovecot -n output.

Here are the details of what I did.

1) dovecot.conf

  =========== within the imap config section ===========
   # Support for dynamically loadable plugins. mail_plugins is a space 
separated
   # list of plugins to load.
   #mail_plugins =
   #mail_plugin_dir = /usr/lib/dovecot/imap
   # SD 5/24/07 tryout FS quota plugin
   mail_plugins = quota imap_quota
   mail_plugin_dir = /usr/local/lib/dovecot/imap


plugin {
   # Here you can give some extra environment variables to mail processes.
   # This is mostly meant for passing parameters to plugins. %variable
   # expansion is done for all values.

   # Quota plugin. Multiple backends are supported:
   #   dirsize: Find and sum all the files found from mail directory.
   #            Extremely SLOW with Maildir. It'll eat your CPU and disk 
I/O.
   #   dict: Keep quota stored in dictionary (eg. SQL)
   #   maildir: Maildir++ quota
   #   fs: Read-only support for filesystem quota
   #quota = maildir
   # SD 5/24/07 Try FS quota support
   quota = fs

I've tried it as both

mail_plugin_dir = /usr/local/lib/dovecot/imap

and

mail_plugin_dir = /usr/local/lib/dovecot

2) Both ways I see this error message:
> 4229 root at mercury:/usr/local/etc ## dovecot
> ILoading modules from directory: /usr/local/lib/dovecot
> IModule loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so
> FPlugin imap_quota not found from directory /usr/local/lib/dovecot
> Error: imap dump-capability process returned 89
>
> 4272 root at mercury:/usr/local/lib/dovecot/imap ## dovecot
> ILoading modules from directory: /usr/local/lib/dovecot/imap
> IModule loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
> FPlugin imap_quota not found from directory /usr/local/lib/dovecot/imap
> Error: imap dump-capability process returned 89
>   
3) These directories have the following contents:

4292 root at mercury:/usr/local/lib/dovecot ## ls -al
total 1168
drwxr-xr-x   3 root     system          512 May 24 12:36 ./
drwxr-xr-x   7 root     system          512 May 21 14:31 ../
-rw-r--r--   1 root     sys          292522 May 22 15:12 
052207-1455-64bit-ssl.lib10_quota_plugin.a
-rwxr-xr-x   1 root     sys             904 May 22 15:12 
052207-1455-64bit-ssl.lib10_quota_plugin.la*
-rwxr-xr-x   1 root     sys          270499 May 22 15:12 
052207-1455-64bit-ssl.lib10_quota_plugin.so*
drwxr-xr-x   2 root     system          512 May 24 12:41 imap/
lrwxrwxrwx   1 root     system           65 May 24 12:36 
lib10_quota_plugin.a@ -> /usr/local/lib/dovecot/052207-1
455-64bit-ssl.lib10_quota_plugin.a
lrwxrwxrwx   1 root     system           66 May 24 12:36 
lib10_quota_plugin.la@ -> /usr/local/lib/dovecot/052207-
1455-64bit-ssl.lib10_quota_plugin.la*
lrwxrwxrwx   1 root     system           66 May 24 12:36 
lib10_quota_plugin.so@ -> /usr/local/lib/dovecot/052207-
1455-64bit-ssl.lib10_quota_plugin.so*

root at mercury:/usr/local/lib/dovecot/imap ## ls -al
total 152
drwxr-xr-x   2 root     system          512 May 24 12:41 ./
drwxr-xr-x   3 root     system          512 May 24 12:36 ../
-rw-r--r--   1 root     system        19250 May 22 15:12 
052207-1455-64bit-ssl.lib11_imap_quota_plugin.a
-rwxr-xr-x   1 root     system          944 May 22 15:12 
052207-1455-64bit-ssl.lib11_imap_quota_plugin.la*
-rwxr-xr-x   1 root     system        28645 May 22 15:12 
052207-1455-64bit-ssl.lib11_imap_quota_plugin.so*
lrwxrwxrwx   1 root     system           66 May 24 12:36 
lib10_quota_plugin.so@ -> /usr/local/lib/dovecot/052207-
1455-64bit-ssl.lib10_quota_plugin.so*
lrwxrwxrwx   1 root     system           75 May 24 12:36 
lib11_imap_quota_plugin.a@ -> /usr/local/lib/dovecot/ima
p/052207-1455-64bit-ssl.lib11_imap_quota_plugin.a
lrwxrwxrwx   1 root     system           76 May 24 12:36 
lib11_imap_quota_plugin.la@ -> /usr/local/lib/dovecot/im
ap/052207-1455-64bit-ssl.lib11_imap_quota_plugin.la*
lrwxrwxrwx   1 root     system           76 May 24 12:36 
lib11_imap_quota_plugins.so@ -> /usr/local/lib/dovecot/i

Any suggestions?

-- 
====
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York  12504
sdean at bard.edu  voice: 845-758-7475, fax: 845-758-7035


-------------- next part --------------
An embedded message was scrubbed...
From: Stewart Dean <sdean>
Subject: Dovecot enironmnet
Date: Thu, 24 May 2007 15:04:21 -0400
Size: 868
Url: http://dovecot.org/pipermail/dovecot/attachments/20070530/e0c629a7/attachment-0001.mht 


More information about the dovecot mailing list