On Tue, May 20, 2003 at 09:40:36PM +0300, Timo Sirainen wrote:
On Tue, 2003-05-20 at 04:13, Charlie Allom wrote:
http://dovecot.procontrol.fi/patches/drac-imap.c
Set "imap_use_modules = yes" in config file and that should hopefully do it. this does less than the original patch.
Sounds like it's not even trying to use the module. Are you sure you put it in the correct directory?
#imap_use_modules = no #imap_modules = /usr/lib/dovecot/imap imap_use_modules = no imap_modules = /usr/pkg/lib/dovecot/imap
# Support for dynamically loadable modules. #pop3_use_modules = no #pop3_modules = /usr/lib/dovecot/pop3 pop3_use_modules = no pop3_modules = /usr/pkg/lib/dovecot/pop3
14:32 yeled@lazy:~$ ls -Rl /usr/pkg/lib/dovecot total 4 drwxr-xr-x 2 root wheel 512 May 20 11:07 imap/ drwxr-xr-x 2 root wheel 512 May 20 11:07 pop3/
/usr/pkg/lib/dovecot/imap: total 12 -rwxr-xr-x 1 root wheel 6031 May 20 21:51 drac.so*
/usr/pkg/lib/dovecot/pop3: total 12 -rwxr-xr-x 1 root wheel 6031 May 20 21:51 drac.so*
can I strace/ktruss something for you?
"strace -f dovecot" would work. You should see something like this after logging in:
[pid 10271] open("/usr/local/lib/dovecot/imap", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4 .. [pid 10271] open("/usr/local/lib/dovecot/imap/drac.so", O_RDONLY) = 5
gah nothing mentioning drac.so there... I am using ktruss -ip o nthe first dovecot PID.
C.
charlie@rubberduck.com - Melbourne, Australia http://rubberduck.com/~yeled/ PGP: 0x14AA7941 || finger yeled@lazy.spodder.com