problem with exim4, cyrus21 and db4, help wanted..
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I just setup a exim4 mailserver with cyrus21 und a db4 database. No
mailuser is a local user on the system.
Now I want to check with a exim4-router, if the user has a valid
mailbox. On the net I found:
# look in the Cyrus IMAPD mailboxes.db file for local_domains local
# parts to be verified
local_user_verify:
~ driver = accept
~ domains = +local_domains
~ local_part_suffix = +*
~ local_part_suffix_optional
~ condition = ${lookup{user.${local_part}} dbmnz
{/var/lib/cyrus/mailboxes.db} {yes}{no}}
~ verify_only
But that one gives only the error hit:
2004-02-24 16:23:14 Berkeley DB error: /var/lib/cyrus/mailboxes.db:
unexpected file type or format
2004-02-24 16:23:14 failed to expand condition
"${lookup{user.${local_part}} dbmnz {/var/lib/cyrus/mailboxes.db}
{yes}{no}}" f
or local_user_verify router: failed to open /var/lib/cyrus/mailboxes.db
as a db (v3/4) file: Bad file descriptor
I use:
exim4:
~ Installed: 4.30-5
cyrus21-imapd:
~ Installed: 2.1.16-4
libdb4.2:
~ Installed: 4.2.52-10
db4.2-util:
~ Installed: 4.2.52-10
Has anyone a real solve for this problem?
I really want to check for a valid mailbox in the database without
having all the users local on the machine.
Thx in advance.
Cya
Lars
- --
- -----------------------------------------------------------------
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109 E-Mail: schimmer@cg.cs.tu-bs.de
PGP-Key-ID: 0xB87A0E03
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAPHtFVguzrLh6DgMRAuDsAJ4/D5lcynk7OobCmTu3MeWVbi6TTwCfTnbf
6ZMvysi5WPiKpIGs8oFclvc=
=hDro
-----END PGP SIGNATURE-----
Reply to: