Hello,

I'm having some difficulty getting mailman to work with virtual
addresses under postfix. Posts to my test domain: mail...@ohnosec.org
are bounced and when I go in to /var/log/maillog to see why, postfix is
converting the address to mail...@sh.qrvc.com. sh.qrvc.com is the host
name of the host running postfix and mailman and handling the test
domain ohnosec.org. In other words, it is intended to host virtual
domain ohnosec.org for use by mailman.

In /var/log/maillog there is one puzzling entry:

Mar 21 23:46:39 sh postfix/smtp[18702]: B6694A817F:
to=<mail...@sh.qrvc.com>, orig_to=<mail...@ohnosec.org>, relay=none,
delay=0.3, delays=0.22/0.01/0.07/0, dsn=5.4.6, status=bounced (mail for
sh.qrvc.com loops back to myself)

The orig_to entry is particularly concerning.

I don't need to handle mail for domain sh.qrvc.com even though that is
the DNS host name for the host running Postfix.  I would like to
understand why postfix is changing the domain from ohnosec.com to
sh.qrvc.com given my configuration, and the complete maillog
of the transaction posted below in this message.


*** postconf -n ***

[r...@sh ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
debug_peer_list = 68.99.120.0/24
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination =
mydomain = qrvc.com
myhostname = sh.qrvc.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
virtual_alias_domains = ohnosec.org,limeylinux.org
virtual_alias_maps =
hash:/etc/postfix/virtual,hash:/etc/mailman/virtual-mailman

*** /var/log/maillog with peer debug enabled ***

Mar 21 23:46:38 sh postfix/smtpd[18697]: maps_find:
recipient_canonical_maps: mail...@ohnosec.org: not found
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_list_match: ohnosec.org:
no match
Mar 21 23:46:38 sh postfix/smtpd[18697]: maps_find:
recipient_canonical_maps: @ohnosec.org: not found
Mar 21 23:46:38 sh postfix/smtpd[18697]: mail_addr_find:
mail...@ohnosec.org -> (not found)
Mar 21 23:46:38 sh postfix/smtpd[18697]: maps_find: canonical_maps:
mail...@ohnosec.org: not found
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_list_match: ohnosec.org:
no match
Mar 21 23:46:38 sh postfix/smtpd[18697]: maps_find: canonical_maps:
@ohnosec.org: not found
Mar 21 23:46:38 sh postfix/smtpd[18697]: mail_addr_find:
mail...@ohnosec.org -> (not found)
Mar 21 23:46:38 sh postfix/smtpd[18697]: maps_find: virtual_alias_maps:
hash:/etc/mailman/virtual-mailman(0,lock|fold_fix): mail...@ohnosec.org
= mailman
Mar 21 23:46:38 sh postfix/smtpd[18697]: mail_addr_find:
mail...@ohnosec.org -> mailman
Mar 21 23:46:38 sh postfix/smtpd[18697]: smtpd_check_rewrite: trying:
permit_inet_interfaces
Mar 21 23:46:38 sh postfix/smtpd[18697]: permit_inet_interfaces:
dukecmfep05.coxmail.com 68.99.120.40
Mar 21 23:46:38 sh postfix/smtpd[18697]: before input_transp_cleanup:
cleanup flags = enable_header_body_filter enable_automatic_bcc
enable_address_mapping enable_milters
Mar 21 23:46:38 sh postfix/smtpd[18697]: after input_transp_cleanup:
cleanup flags = enable_header_body_filter enable_automatic_bcc
enable_address_mapping
Mar 21 23:46:38 sh postfix/smtpd[18697]: connect to subsystem public/cleanup
Mar 21 23:46:38 sh postfix/smtpd[18697]: public/cleanup socket: wanted
attribute: queue_id
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute name: queue_id
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute value: B6694A817F
Mar 21 23:46:38 sh postfix/smtpd[18697]: public/cleanup socket: wanted
attribute: (list terminator)
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute name: (end)
Mar 21 23:46:38 sh postfix/smtpd[18697]: send attr flags = 50
Mar 21 23:46:38 sh postfix/smtpd[18697]: B6694A817F:
client=dukecmfep05.coxmail.com[68.99.120.40]
Mar 21 23:46:38 sh postfix/smtpd[18697]: >
dukecmfep05.coxmail.com[68.99.120.40]: 250 2.1.5 Ok
Mar 21 23:46:38 sh postfix/smtpd[18697]: watchdog_pat: 0x7f8edb6ca160
Mar 21 23:46:38 sh postfix/smtpd[18697]: <
dukecmfep05.coxmail.com[68.99.120.40]: DATA
Mar 21 23:46:38 sh postfix/smtpd[18697]: >
dukecmfep05.coxmail.com[68.99.120.40]: 354 End data with <CR><LF>.<CR><LF>
Mar 21 23:46:38 sh postfix/smtpd[18697]: public/cleanup socket: wanted
attribute: status
Mar 21 23:46:38 sh postfix/cleanup[18701]: B6694A817F:
message-id=<49c5b4bb.7090...@rodgers.sdcoxmail.com>
Mar 21 23:46:38 sh postfix/qmgr[18693]: B6694A817F:
from=<hws...@rodgers.sdcoxmail.com>, size=1071, nrcpt=1 (queue active)
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute name: status
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute value: 0
Mar 21 23:46:38 sh postfix/smtpd[18697]: public/cleanup socket: wanted
attribute: reason
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute name: reason
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute value: (end)
Mar 21 23:46:38 sh postfix/smtpd[18697]: public/cleanup socket: wanted
attribute: (list terminator)
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute name: (end)
Mar 21 23:46:38 sh postfix/smtpd[18697]: >
dukecmfep05.coxmail.com[68.99.120.40]: 250 2.0.0 Ok: queued as B6694A817F
Mar 21 23:46:38 sh postfix/smtpd[18697]: watchdog_pat: 0x7f8edb6ca160
Mar 21 23:46:38 sh postfix/smtpd[18697]: <
dukecmfep05.coxmail.com[68.99.120.40]: QUIT
Mar 21 23:46:38 sh postfix/smtpd[18697]: >
dukecmfep05.coxmail.com[68.99.120.40]: 221 2.0.0 Bye
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_hostname:
dukecmfep05.coxmail.com ~? 127.0.0.0/8
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_hostaddr: 68.99.120.40 ~?
127.0.0.0/8
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_hostname:
dukecmfep05.coxmail.com ~? 67.23.8.0/24
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_hostaddr: 68.99.120.40 ~?
67.23.8.0/24
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_hostname:
dukecmfep05.coxmail.com ~? 10.176.32.0/19
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_hostaddr: 68.99.120.40 ~?
10.176.32.0/19
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_list_match:
dukecmfep05.coxmail.com: no match
Mar 21 23:46:38 sh postfix/smtpd[18697]: match_list_match: 68.99.120.40:
no match
Mar 21 23:46:38 sh postfix/smtpd[18697]: send attr request = disconnect
Mar 21 23:46:38 sh postfix/smtpd[18697]: send attr ident = smtp:68.99.120.40
Mar 21 23:46:38 sh postfix/smtpd[18697]: private/anvil: wanted
attribute: status
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute name: status
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute value: 0
Mar 21 23:46:38 sh postfix/smtpd[18697]: private/anvil: wanted
attribute: (list terminator)
Mar 21 23:46:38 sh postfix/smtpd[18697]: input attribute name: (end)
Mar 21 23:46:38 sh postfix/smtpd[18697]: disconnect from
dukecmfep05.coxmail.com[68.99.120.40]
Mar 21 23:46:39 sh postfix/smtp[18702]: B6694A817F:
to=<mail...@sh.qrvc.com>, orig_to=<mail...@ohnosec.org>, relay=none,
delay=0.3, delays=0.22/0.01/0.07/0, dsn=5.4.6, status=bounced (mail for
sh.qrvc.com loops back to myself)
Mar 21 23:46:39 sh postfix/cleanup[18701]: 04AE4A8181:
message-id=<20090322034639.04ae4a8...@sh.qrvc.com>
Mar 21 23:46:39 sh postfix/qmgr[18693]: 04AE4A8181: from=<>, size=2857,
nrcpt=1 (queue active)
Mar 21 23:46:39 sh postfix/bounce[18703]: B6694A817F: sender
non-delivery notification: 04AE4A8181
Mar 21 23:46:39 sh postfix/qmgr[18693]: B6694A817F: removed
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
220 dukecmimpi03.coxmail.com IMP ESMTP server ready
Mar 21 23:46:40 sh postfix/smtp[18702]: > mx.coxmail.com[68.99.120.4]:
EHLO sh.qrvc.com
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250-dukecmimpi03.coxmail.com hello [67.23.8.125], pleased to meet you
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250-HELP
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250-SIZE 15000000
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250-ENHANCEDSTATUSCODES
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250 OK
Mar 21 23:46:40 sh postfix/smtp[18702]: server features: 0x1009 size
15000000
Mar 21 23:46:40 sh postfix/smtp[18702]: > mx.coxmail.com[68.99.120.4]:
MAIL FROM:<> SIZE=2857
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250 2.1.0 <> sender ok
Mar 21 23:46:40 sh postfix/smtp[18702]: > mx.coxmail.com[68.99.120.4]:
RCPT TO:<hws...@rodgers.sdcoxmail.com>
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250 2.1.5 <hws...@rodgers.sdcoxmail.com> recipient ok
Mar 21 23:46:40 sh postfix/smtp[18702]: > mx.coxmail.com[68.99.120.4]: DATA
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
354 enter mail, end with "." on a line by itself
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: multipart / report
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: report-type =
delivery-status
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: boundary =
B6694A817F.1237693599/sh.qrvc.com
Mar 21 23:46:40 sh postfix/smtp[18702]: PUSH boundary
B6694A817F.1237693599/sh.qrvc.com
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: text / plain
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: message /
delivery-status
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: message / rfc822
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: text / plain
Mar 21 23:46:40 sh postfix/smtp[18702]: header_token: 7bit
Mar 21 23:46:40 sh postfix/smtp[18702]: POP boundary
B6694A817F.1237693599/sh.qrvc.com
Mar 21 23:46:40 sh postfix/smtp[18702]: > mx.coxmail.com[68.99.120.4]: .
Mar 21 23:46:40 sh postfix/smtp[18702]: < mx.coxmail.com[68.99.120.4]:
250 2.0.0 W3me1b00e2hrVWj013mfWs mail accepted for delivery
Mar 21 23:46:40 sh postfix/smtp[18702]: 04AE4A8181:
to=<hws...@rodgers.sdcoxmail.com>, relay=mx.coxmail.com[68.99.120.4]:25,
delay=1.3, delays=0.01/0/1.1/0.14, dsn=2.0.0, status=sent (250 2.0.0
W3me1b00e2hrVWj013mfWs mail accepted for delivery)
Mar 21 23:46:40 sh postfix/smtp[18702]: > mx.coxmail.com[68.99.120.4]: QUIT
Mar 21 23:46:40 sh postfix/smtp[18702]: name_mask: resource
Mar 21 23:46:40 sh postfix/smtp[18702]: name_mask: software
Mar 21 23:46:40 sh postfix/qmgr[18693]: 04AE4A8181: removed

Reply via email to