RH9 and Virtual Domains (fatal: open database)

From: (no name) (no email)
Date: Tue Dec 09 2003 - 11:25:17 EST


Greetings all,

I am having a bit of trouble getting virtual domains working. I am
running postfix-1.1.11-11 on a fairly stock RedHat9 system. When I
attempt to send mail a virtual domain, it is accepted for delivery, but
then sits in the queue. The following error message explains why, but I
can't figure out what the probblem is...

From maillog

Dec 9 10:10:19 www postfix/virtual[22801]: fatal: open database
/etc/postfix/virtual.db: No such file or directory
Dec 9 10:10:20 www postfix/master[21030]: warning: process
/usr/libexec/postfix/virtual pid 22801 exit status 1
Dec 9 10:10:20 www postfix/master[21030]: warning:
/usr/libexec/postfix/virtual: bad command startup -- throttling

(Sorry about the line breaks...)

Now for the configuration stuff. From main.cf, I have the following
relevant lines

virtaul_minimum_uid = 89
virtual_gid_maps = static:89
virtual_uid_maps = static:89
virtual_mailbox_base = /var/spool/virtual/
virtual_mailbox_maps = hash:/etc/postfix/virtual
transport_maps = hash:/etc/postfix/transport

(89:89 is the uid:gid for postfix:postfix)

The map source files are

/etc/postfix/virtual:
arealdomain.org virtual
 tad/

(Th domain name has been changed from the real one)

/etc/postfix/transport:
arealdomain.org virtual

Both files have been indexd with postmap hash:/etc/postfix/filename, the
resulting .db files are owned by root:root and protected 644.

The mailbox base directory exists and is owned by root:root (perm 755),
the tad subdirectory for the delivered files exists and is owned by
postfix:postfix (perm 755)

Did I miss (or omit from the descrption) anything obvious? I initially
suspected that the problem was Redhat's use of berkeley DB4, but I also
have an aliases.db file which postfix reads just fine.

Any thoughts?

Thanks,
Tad








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD