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

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

my Configuration:
alias_database = hash:/usr/local/etc/postfix/aliases
smtpd_sender_restrictions = reject_unknown_sender_domain,
    reject_non_fqdn_sender,
    permit_mynetworks
smtpd_helo_required = yes
disable_vrfy_command = yes
smtpd_client_restrictions = hash:/usr/local/etc/postfix/access
smtpd_helo_restrictions = permit_mynetworks,
    reject_non_fqdn_hostname,
    reject_invalid_hostname
smtpd_recipient_restrictions = permit_mynetworks,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
unknown_address_reject_code = 554
unknown_hostname_reject_code = 554
unknown_client_reject_code = 554
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
unknown_local_recipient_reject_code = 550
strict_rfc821_envolopes = yes
myorigin = domain.tls
myhostname = machine1.domain.tls
mydestination = domain1.tls, domain21.tls
mynetworks = 127.0.0.0/8, 
biff = no
smtpd_banner = machine1.domain.tls
message_size_limit = 50000000
anvil_rate_time_unit = 2s
smtpd_error_sleep_time=0
local_recipient_maps = hash:/usr/local/etc/postfix/userdb,
hash:/usr/local/etc/postfix/uservirt
content_filter=smtp-amavis:[127.0.0.1]:10024
alternate_config_directories = /usr/local/etc/postfix-out

Any suggestions are welc ome. 
Thanks, 
-motty

Reply via email to