I have a working Postfix server, and I copied the configuration files
over to another box with the exact same version(s) to do some testing.
But right away the box won't deliver messages to virtual domains, it
always says "User unknown in virtual alias table".  After what looks
like a successful lookup:

Aug 27 14:49:42 localhost postfix/smtpd[4963]: >>> CHECKING RECIPIENT
MAPS <<<
existing entry key adam.t.willi...@example.com
...
Aug 27 14:49:42 localhost postfix/smtpd[4963]: dict_ldap_lookup: No
existing connection for LDAP source /etc/postfix/ldap-delivery.cf,
reopening
..
dict_ldap_lookup: /etc/postfix/ldap-delivery.cf: Searching with filter
(&(objectclass=inetLocalMailRecipient)(maillocaladdress=adam.t.willi...@example.com))
Aug 27 14:49:42 localhost postfix/smtpd[4963]: dict_ldap_get_values[1]:
Search found 1 match(es)
Aug 27 14:49:42 localhost postfix/smtpd[4963]: dict_ldap_get_values[1]:
search returned 1 value(s) for requested result attribute
mailRoutingAddress
Aug 27 14:49:42 localhost postfix/smtpd[4963]: dict_ldap_get_values[1]:
Leaving dict_ldap_get_values
Aug 27 14:49:42 localhost postfix/smtpd[4963]: dict_ldap_lookup: Search
returned ot...@example.com
Aug 27 14:49:42 localhost postfix/smtpd[4963]: maps_find:
virtual_alias_maps: ldap:/etc/postfix/ldap-delivery.cf(0,lock|fold_fix):
adam.t.willi...@example.com = ot...@example.com
Aug 27 14:49:42 localhost postfix/smtpd[4963]: mail_addr_find:
adam.t.willi...@example.com -> ot...@example.com

- then, down the file -

Aug 27 14:49:42 localhost postfix/smtpd[4963]: > unknown[172.16.54.1]:
250 2.0.0 Ok
Aug 27 14:49:42 localhost postfix/smtpd[4963]: watchdog_pat: 0x9840df0
Aug 27 14:49:42 localhost postfix/smtpd[4963]: vstream_fflush_some: fd
10 flush 14

Aug 27 14:49:42 localhost postfix/error[4967]: 36FEBC03B5:
to=<adam.t.willi...@example.com>, relay=none, delay=0.1,
delays=0.08/0.01/0/0.01, dsn=5.0.0, status=bounced (User unknown in
virtual alias table)

Aug 27 14:49:42 localhost postfix/cleanup[4966]: 4AA66C03B7:
message-id=<20100827184942.4aa66c0...@kyack.example.com>
Aug 27 14:49:42 localhost postfix/qmgr[4961]: 4AA66C03B7: from=<>,
size=2335, nrcpt=1 (queue active)

What could I be missing?

Reply via email to