Hi Mouss,
Thank you for your prompt reply.
The following is the smptd verbose log, but I do not see any clue from it :-
=== begin of mail log ===
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: connect from
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_list_match:
imapsv02.auth.hk1.sml.citizen.co.jp: no match
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_list_match:
10.144.1.50: no match
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_list_match:
imapsv02.auth.hk1.sml.citizen.co.jp: no match
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_list_match:
10.144.1.50: no match
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_hostname:
imapsv02.auth.hk1.sml.citizen.co.jp ~? 127.0.0.0/8
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_hostaddr:
10.144.1.50 ~? 127.0.0.0/8
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_hostname:
imapsv02.auth.hk1.sml.citizen.co.jp ~? 10.144.1.0/24
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: match_hostaddr:
10.144.1.50 ~? 10.144.1.0/24
< Jul 24 14:15:59 imapsv02 postfix/smtpd[17966]: >
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: 220 imapsv02 ESMTP
Postfix (Ubuntu)
< Jul 24 14:16:03 imapsv02 postfix/smtpd[17966]: <
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: helo sml.citizen.co.jp
< Jul 24 14:16:03 imapsv02 postfix/smtpd[17966]: >
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: 250 imapsv02
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: <
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: mail from:
j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: extract_addr: input:
j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: smtpd_check_addr:
addr=j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: connect to subsystem
private/rewrite
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: send attr request = rewrite
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: send attr rule = local
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: send attr address =
j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: flags
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name: flags
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute value: 0
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: address
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name:
address
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute value:
j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: (list terminator)
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name: (end)
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: rewrite_clnt: local:
j...@sml.citizen.co.jp -> j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: send attr request = resolve
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: send attr sender =
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: send attr address =
j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: flags
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name: flags
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute value: 0
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: transport
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name:
transport
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute value: smtp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: nexthop
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name:
nexthop
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute value:
sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: recipient
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name:
recipient
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute value:
j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: flags
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name: flags
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute value: 4096
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: (list terminator)
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: input attribute name: (end)
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: resolve_clnt: `' ->
`j...@sml.citizen.co.jp' -> transp=`smtp' host=`sml.citizen.co.jp'
rcpt=`j...@sml.citizen.co.jp' flags= class=default
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: ctable_locate: install
entry key j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: extract_addr: in:
j...@sml.citizen.co.jp, result: j...@sml.citizen.co.jp
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: fsspace: .: block size
4096, blocks free 1723925
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: smtpd_check_queue:
blocks 4096 avail 1723925 min_free 0 msg_size_limit 10240000
< Jul 24 14:16:10 imapsv02 postfix/smtpd[17966]: >
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: 250 2.1.0 Ok
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: <
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: rcpt to:
venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: extract_addr: input:
venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: smtpd_check_addr:
addr=venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr request = rewrite
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr rule = local
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr address =
venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value: 0
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: address
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name:
address
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value:
venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: (list terminator)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: (end)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: rewrite_clnt: local:
venus....@auth.hk1.sml.citizen.co.jp -> venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr request = resolve
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr sender =
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr address =
venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value: 0
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: transport
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name:
transport
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value:
error
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: nexthop
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name:
nexthop
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value:
User unknown in virtual alias table
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: recipient
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name:
recipient
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value:
venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value: 512
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: (list terminator)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: (end)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: resolve_clnt: `' ->
`venus....@auth.hk1.sml.citizen.co.jp' -> transp=`error' host=`User
unknown in virtual alias table'
rcpt=`venus....@auth.hk1.sml.citizen.co.jp' flags= class=alias
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: ctable_locate: install
entry key venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: extract_addr: in:
venus....@auth.hk1.sml.citizen.co.jp, result:
venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr request = rewrite
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr rule = local
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr address =
double-bounce
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: flags
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value: 0
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: address
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name:
address
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value:
double-bou...@imapsv02.auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: private/rewrite socket:
wanted attribute: (list terminator)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: (end)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: rewrite_clnt: local:
double-bounce -> double-bou...@imapsv02.auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: >>> START Recipient
address RESTRICTIONS <<<
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: generic_checks:
name=permit_mynetworks
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: permit_mynetworks:
imapsv02.auth.hk1.sml.citizen.co.jp 10.144.1.50
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: match_hostname:
imapsv02.auth.hk1.sml.citizen.co.jp ~? 127.0.0.0/8
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: match_hostaddr:
10.144.1.50 ~? 127.0.0.0/8
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: match_hostname:
imapsv02.auth.hk1.sml.citizen.co.jp ~? 10.144.1.0/24
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: match_hostaddr:
10.144.1.50 ~? 10.144.1.0/24
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: generic_checks:
name=permit_mynetworks status=1
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: >>> CHECKING RECIPIENT
MAPS <<<
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: ctable_locate: leave
existing entry key venus....@auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: maps_find:
recipient_canonical_maps: venus....@auth.hk1.sml.citizen.co.jp: not found
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: match_list_match:
auth.hk1.sml.citizen.co.jp: no match
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: maps_find:
recipient_canonical_maps: @auth.hk1.sml.citizen.co.jp: not found
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: mail_addr_find:
venus....@auth.hk1.sml.citizen.co.jp -> (not found)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: maps_find:
canonical_maps: venus....@auth.hk1.sml.citizen.co.jp: not found
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: match_list_match:
auth.hk1.sml.citizen.co.jp: no match
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: maps_find:
canonical_maps: @auth.hk1.sml.citizen.co.jp: not found
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: mail_addr_find:
venus....@auth.hk1.sml.citizen.co.jp -> (not found)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: dict_ldap_lookup: In
dict_ldap_lookup
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: dict_ldap_lookup: No
existing connection for LDAP source /etc/postfix/ldap-virtualalias,
reopening
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: dict_ldap_connect:
Connecting to server ldaps://kdcsv01.auth.hk1.sml.citizen.co.jp:636
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: dict_ldap_connect:
Actual Protocol version used is 3.
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: dict_ldap_connect:
Cached connection handle for LDAP source /etc/postfix/ldap-virtualalias
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: dict_ldap_lookup:
/etc/postfix/ldap-virtualalias: Searching with filter
(&(mail=venus....@auth.hk1.sml.citizen.co.jp)(accountStatus=active))
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]:
dict_ldap_get_values[1]: Search found 1 match(es)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]:
dict_ldap_get_values[1]: search returned 1 value(s) for requested result
attribute mailAlternateAddress
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]:
dict_ldap_get_values[1]: Leaving dict_ldap_get_values
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: dict_ldap_lookup:
Search returned venus....@imapsv02.auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: maps_find:
virtual_alias_maps:
ldap:/etc/postfix/ldap-virtualalias(0,lock|fold_fix):
venus....@auth.hk1.sml.citizen.co.jp =
venus....@imapsv02.auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: mail_addr_find:
venus....@auth.hk1.sml.citizen.co.jp ->
venus....@imapsv02.auth.hk1.sml.citizen.co.jp
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: smtpd_check_rewrite:
trying: permit_inet_interfaces
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: permit_inet_interfaces:
imapsv02.auth.hk1.sml.citizen.co.jp 10.144.1.50
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: before
input_transp_cleanup: cleanup flags = enable_header_body_filter
enable_automatic_bcc enable_address_mapping enable_milters
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: after
input_transp_cleanup: cleanup flags = enable_header_body_filter
enable_automatic_bcc enable_address_mapping
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: connect to subsystem
public/cleanup
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: public/cleanup socket:
wanted attribute: queue_id
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name:
queue_id
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute value:
BD1B825E43
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: public/cleanup socket:
wanted attribute: (list terminator)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: input attribute name: (end)
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: send attr flags = 178
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: BD1B825E43:
client=imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]
< Jul 24 14:16:22 imapsv02 postfix/smtpd[17966]: >
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: 250 2.1.5 Ok
< Jul 24 14:16:22 imapsv02 postfix/master[17734]: warning: process
/usr/lib/postfix/cleanup pid 17969 exit status 2
< Jul 24 14:16:22 imapsv02 postfix/master[17734]: warning:
/usr/lib/postfix/cleanup: bad command startup -- throttling
< Jul 24 14:16:24 imapsv02 postfix/smtpd[17966]: <
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: data
< Jul 24 14:16:24 imapsv02 postfix/smtpd[17966]: >
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: 354 End data with
<CR><LF>.<CR><LF>
< Jul 24 14:16:31 imapsv02 postfix/smtpd[17966]: >
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: 451 4.3.0 Error: queue
file write error
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: <
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: quit
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: >
imapsv02.auth.hk1.sml.citizen.co.jp[10.144.1.50]: 221 2.0.0 Bye
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: match_hostname:
imapsv02.auth.hk1.sml.citizen.co.jp ~? 127.0.0.0/8
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: match_hostaddr:
10.144.1.50 ~? 127.0.0.0/8
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: match_hostname:
imapsv02.auth.hk1.sml.citizen.co.jp ~? 10.144.1.0/24
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: match_hostaddr:
10.144.1.50 ~? 10.144.1.0/24
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: smtpd_chat_notify:
notify postmaster
< Jul 24 14:16:32 imapsv02 postfix/smtpd[17966]: connect to subsystem
public/cleanup
=== end of mail log ===
Thanks a lot.
John Mok
--- Begin Message ---
John/SML a écrit :
> [snip]
>
> It worked well by storing the virtual_alias_maps in hash table, but it
> failed when changed to LDAP with an error "Error : 4.3.0 queue file
> write error...".
Show postfix _logs_. see the DEBUG README.
>[snip]
--- End Message ---