Doug Summers wrote:
I installed Postfix (latest from OpenPKG 2.4 updates) on a HPUX 11.00 box and copied over the main.cf from a working RHEL 3.0 machine. I'm running into problems creating any of the .db files required to get things started - aliases.db, access.db, virtual.db. For some reason postmap thinks I'm using dbm instead of hash:

(from postmap -v aliases)
postmap: dict_eval: const  mail
postmap: dict_eval: const  ipv4
postmap: name_mask: ipv4
postmap: dict_eval: const  xxx
postmap: dict_eval: const  xxx
postmap: dict_eval: const  Postfix
postmap: dict_eval: const  postfix
postmap: dict_eval: const  opkg
postmap: dict_eval: const  opkg-r
postmap: dict_eval: const
postmap: dict_eval: const  xxx
postmap: dict_eval: const  xxx
postmap: dict_eval: const  /openpkg/libexec/postfix
postmap: dict_eval: const  /openpkg/sbin
postmap: dict_eval: const  /openpkg/var/postfix
postmap: dict_eval: const  pid
postmap: dict_eval: const  127.0.0.1
postmap: dict_eval: const
postmap: dict_eval: const  double-bounce
postmap: dict_eval: const  opkg-n
postmap: dict_eval: const  hash:/openpkg/etc/postfix/aliases
postmap: dict_eval: const  20050428
postmap: dict_eval: const  2.2.3
postmap: dict_eval: const  dbm >>> why???
 >>> cut <<<

On the RHEL box this returns hash, as expected.

>>> cut <<<
Well, I got past this by adding "default_database_type = hash" to main.cf. Now I can't create/update any of the .db files in /openpkg/etc/postfix - all ending like this:

[EMAIL PROTECTED] /openpkg/etc/postfix # postmap -v virtual
postmap: dict_eval: const  mail
postmap: dict_eval: const  ipv4
postmap: name_mask: ipv4
postmap: dict_eval: const  xxx
postmap: dict_eval: const  xxx
postmap: dict_eval: const  Postfix
postmap: dict_eval: const  postfix
postmap: dict_eval: const  opkg
postmap: dict_eval: const  opkg-r
postmap: dict_eval: const
postmap: dict_eval: const  xxx
postmap: dict_eval: const  xxx
postmap: dict_eval: const  /openpkg/libexec/postfix
postmap: dict_eval: const  /openpkg/sbin
postmap: dict_eval: const  /openpkg/var/postfix
postmap: dict_eval: const  pid
postmap: dict_eval: const  127.0.0.1
postmap: dict_eval: const
postmap: dict_eval: const  double-bounce
postmap: dict_eval: const  opkg-n
postmap: dict_eval: const  hash:/openpkg/etc/postfix/aliases
postmap: dict_eval: const  20050428
postmap: dict_eval: const  2.2.3
postmap: dict_eval: const  hash
postmap: dict_eval: const  deferred, defer
postmap: dict_eval: const  +
postmap: dict_eval: expand $mydestination ->
postmap: dict_eval: expand $relay_domains ->
postmap: dict_eval: const  TZ MAIL_CONFIG
postmap: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY
postmap: dict_eval: const  subnet
postmap: dict_eval: const
postmap: dict_eval: const  +=
postmap: dict_eval: const  -=+
postmap: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
postmap: dict_eval: const
postmap: dict_eval: const  bounce
postmap: dict_eval: const  cleanup
postmap: dict_eval: const  defer
postmap: dict_eval: const  pickup
postmap: dict_eval: const  qmgr
postmap: dict_eval: const  rewrite
postmap: dict_eval: const  showq
postmap: dict_eval: const  error
postmap: dict_eval: const  flush
postmap: dict_eval: const  verify
postmap: dict_eval: const  trace
postmap: dict_eval: const  100s
postmap: dict_eval: const  100s
postmap: dict_eval: const  100s
postmap: dict_eval: const  100s
postmap: dict_eval: const  3600s
postmap: dict_eval: const  3600s
postmap: dict_eval: const  100s
postmap: dict_eval: const  100s
postmap: dict_eval: const  1000s
postmap: dict_eval: const  1000s
postmap: dict_eval: const  10s
postmap: dict_eval: const  10s
postmap: dict_eval: const  1s
postmap: dict_eval: const  1s
postmap: dict_eval: const  1s
postmap: dict_eval: const  1s
postmap: dict_eval: const  500s
postmap: dict_eval: const  500s
postmap: dict_eval: const  18000s
postmap: dict_eval: const  18000s
postmap: dict_eval: const  1s
postmap: dict_eval: const  1s
postmap: name_mask: subnet
postmap: inet_addr_local: configured 2 IPv4 addresses
postmap: mynetworks: 127.0.0.0/8
postmap: dict_eval: const  127.0.0.0/8
postmap: set_eugid: euid 0 egid 1000
postmap: open hash virtual
postmap: fatal: open database virtual.db:
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to