On 03/28/2011 09:01 PM, motty.cruz wrote:

Hello,

I'm running Postfix on FreeBSD 8.2. Postfix complaints about this line in my configuration

local_recipient_database = hash:/usr/local/etc/postfix/userdb, hash:/usr/local/etc/postfix/uservirt


ITYM local_recipient_MAPS.

The error:

postfix/smtpd[1476]: fatal: open database /usr/local/etc/postfix/userdb.db: Invalid argument


Did you run postmap(8) on it ?

local_recipient_maps = hash:/usr/local/etc/postfix/userdb, hash:/usr/local/etc/postfix/uservirt


This one is correct; all you're missing is

$ postmap /usr/local/etc/postfix/userdb

(and also uservirt, if you forgot that)

--
J.

Reply via email to