Displaying 2 results from an estimated 2 matches for "mbox_snarf_plugin".
2007 May 17
4
UW-IMAP style mbox snarfing from /var/mail/ to ~/mbox
http://dovecot.org/patches/mbox-snarf-plugin.c
Also committed to CVS HEAD.
Usage:
mail_location = mbox:~/mail:INBOX=/var/mail/%u
protocol imap {
mail_plugins = mbox_snarf
}
protocol pop3 {
mail_plugins = mbox_snarf
}
plugin {
mbox_snarf = ~/mbox
}
If ~/mbox doesn't exist, nothing special is done.
If ~/mbox exists, it's treated as INBOX and mails are moved
from /var/mail/%u
2007 Jul 16
0
Can't compile mbox-snarf-plugin.c on AIX 5.3
...4.0.
Building Dovecot 1.0.1 and 1.0.2 works fine.
[root at aix root]# export DOVECOT=/root/dovecot-1.0.1
[root at aix root]# gcc -fPIC -shared -Wall -I$DOVECOT -I$DOVECOT/src/lib
-I$DOVECOT/src/lib-storage -I$DOVECOT/src/lib-mail -I
$DOVECOT/src/lib-imap -DHAVE_CONFIG_H mbox-snarf-plugin.c -o
mbox_snarf_plugin.so
ld: 0711-317 ERROR: Undefined symbol: .mailbox_sync_init
ld: 0711-317 ERROR: Undefined symbol: .mailbox_sync_next
ld: 0711-317 ERROR: Undefined symbol: .mailbox_sync_deinit
ld: 0711-317 ERROR: Undefined symbol: .mailbox_transaction_begin
ld: 0711-317 ERROR: Undefined symbol: .mailbox_searc...