FAQ
Hi, all. I'm a new user, but I've searched the archives and so far haven't been able to find a fix for my issue. I've set up mailman with postfix and I'm using virtual domains. I've created a test mailing list, and Mailman has successfully emailed me that the list was created. However, I cannot send email to this list without the mail being rejected back as being to an unknown user.

Based on all of my reading, I think I've done everything correctly. From my Postfix log, it doesn't appear that the aliases file is being consulted at all, but I am seeing a line indicating that the virtual-mailman file was referenced.


Here are the relevant Mailman files:

From mm_cfg.py:

# Put YOUR site-specific settings below this line.
MTA = "Postfix"
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['wrightthisway.com', 'themailshack.com']
add_virtualhost('wrightthisway.com', 'wrightthisway.com')
add_virtualhost('themailshack.com', 'themailshack.com')


sh-3.2# cat aliases
# This file is generated by Mailman, and is kept in sync with the
# binary hash file aliases.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE
# unless you know what you're doing, and can keep the two files properly
# in sync. If you screw it up, you're on your own.

# The ultimate loop stopper address
mailman-loop: /usr/local/mailman/data/owner-bounces.mbox

# STANZA START: test
# CREATED: Sat Dec 25 18:26:51 2010
test: "|/usr/local/mailman/mail/mailman post test"
test-admin: "|/usr/local/mailman/mail/mailman admin test"
test-bounces: "|/usr/local/mailman/mail/mailman bounces test"
test-confirm: "|/usr/local/mailman/mail/mailman confirm test"
test-join: "|/usr/local/mailman/mail/mailman join test"
test-leave: "|/usr/local/mailman/mail/mailman leave test"
test-owner: "|/usr/local/mailman/mail/mailman owner test"
test-request: "|/usr/local/mailman/mail/mailman request test"
test-subscribe: "|/usr/local/mailman/mail/mailman subscribe test"
test-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe test"
# STANZA END: test

# STANZA START: mailman
# CREATED: Sun Jan 2 22:08:00 2011
mailman: "|/usr/local/mailman/mail/mailman post mailman"
mailman-admin: "|/usr/local/mailman/mail/mailman admin mailman"
mailman-bounces: "|/usr/local/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/usr/local/mailman/mail/mailman confirm mailman"
mailman-join: "|/usr/local/mailman/mail/mailman join mailman"
mailman-leave: "|/usr/local/mailman/mail/mailman leave mailman"
mailman-owner: "|/usr/local/mailman/mail/mailman owner mailman"
mailman-request: "|/usr/local/mailman/mail/mailman request mailman"
mailman-subscribe: "|/usr/local/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe mailman"
# STANZA END: mailman


sh-3.2# cat virtual-mailman
# This file is generated by Mailman, and is kept in sync with the binary hash
# file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you
# know what you're doing, and can keep the two files properly in sync. If you
# screw it up, you're on your own.
#
# Note that you should already have this virtual domain set up properly in
# your Postfix installation. See README.POSTFIX for details.

# LOOP ADDRESSES START
mailman-loop at wrightthisway.com mailman-loop
# LOOP ADDRESSES END

# STANZA START: test
# CREATED: Sat Dec 25 18:26:51 2010
test at wrightthisway.com test
test-admin at wrightthisway.com test-admin
test-bounces at wrightthisway.com test-bounces
test-confirm at wrightthisway.com test-confirm
test-join at wrightthisway.com test-join
test-leave at wrightthisway.com test-leave
test-owner at wrightthisway.com test-owner
test-request at wrightthisway.com test-request
test-subscribe at wrightthisway.com test-subscribe
test-unsubscribe at wrightthisway.com test-unsubscribe
# STANZA END: test


Below is my Postfix config, and a sample of the log when a message is sent to the list.

sh-3.2# postconf -n
address_verify_sender = <>
alias_database = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases
alias_maps = hash:/etc/postfix/aliases
body_checks = regexp:/etc/postfix/maps/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = 70.116.91.238
default_process_limit = 20
default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason} - see http://$rbl_domain for additional info. If this was actually a legitimate email to a real user, please forward this message to postmaster at wrightthisway.com for assistance.
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/maps/header_checks
html_directory = no
inet_interfaces = all
mail_owner = _postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
max_use = 18
message_size_limit = 30000000
mime_header_checks = regexp:/etc/postfix/maps/mime_header_checks
mydestination mydomain = wrightthisway.com
myhostname = wrightthisway.com
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost = smtp-server.austin.rr.com
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
show_user_unknown_table_name = no
smtpd_data_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, permit
smtpd_error_sleep_time = 90
smtpd_hard_error_limit = 10
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_maps
smtpd_junk_command_limit = 1
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access hash:/etc/postfix/restricted_users, normal_restriction, check_helo_access hash:/etc/postfix/helo_access, check_client_access hash:/etc/postfix/access, check_recipient_access hash:/etc/postfix/access, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client fresh15.spameatingmonkey.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client cbl.abuseat.org
smtpd_restriction_classes = normal_restriction, postmaster_policyd_restriction
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_soft_error_limit = 1
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 450
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/usr/local/mailman/data/virtual-mailman
virtual_gid_maps = static:27
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 30000000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 27
virtual_transport = virtual
virtual_uid_maps = static:27
sh-3.2#




Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: warning: 70.116.91.238: hostname cpe-70-116-91-238.austin.res.rr.com verification failed: nodename nor servname provided, or not known
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: connect from unknown[70.116.91.238]
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: auto_clnt_open: connected to private/anvil
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = connect
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr ident = smtp:70.116.91.238
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: status
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: status
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: count
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: count
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: rate
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: rate
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 220 wrightthisway.com ESMTP Postfix
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_create: SASL service=smtp, realm=(null)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: noanonymous
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: Connecting
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: VERSION?1?1
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: MECH?PLAIN?plaintext
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: plaintext
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: MECH?LOGIN?plaintext
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: plaintext
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: MECH?CRAM-MD5?dictionary?active
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: dictionary
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: active
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: SPID?81760
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: CUID?3
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: COOKIE?e6de66242204d49b2eb1951a09a68c11
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: DONE
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_mech_filter: keep mechanism: CRAM-MD5
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: EHLO [192.168.1.10]
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-PIPELINING
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-SIZE 30000000
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-ETRN
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-AUTH PLAIN LOGIN CRAM-MD5
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-ENHANCEDSTATUSCODES
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-8BITMIME
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 DSN
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: AUTH PLAIN AGppbUB3cmlnaHR0aGlzd2F5LmNvbQBuYW5hMTk5MA=Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_first: sasl_method PLAIN, init_response AGppbUB3cmlnaHR0aGlzd2F5LmNvbQBuYW5hMTk5MA=Jan 2 23:46:45 wrights-Mac-mini dovecot[48385]: auth: mysql: Connected to localhost (postfix)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_handle_reply: auth reply: OK?1?user=jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 235 2.7.0 Authentication successful
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: MAIL FROM:<jim at wrightthisway.com>
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: input: <jim at wrightthisway.com>
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_addr: addr=jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: connect to subsystem private/rewrite
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = rewrite
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr rule = local
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: address
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: address
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: rewrite_clnt: local: jim at wrightthisway.com -> jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = resolve
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr sender Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: transport
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: transport
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: virtual
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: nexthop
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: nexthop
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: recipient
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: recipient
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1024
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: resolve_clnt: `' -> `jim at wrightthisway.com' -> transp=`virtual' host=`wrightthisway.com' rcpt=`jim at wrightthisway.com' flags= class=virtual
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: install entry key jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: in: <jim at wrightthisway.com>, result: jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: fsspace: .: block size 4096, blocks free 71821920
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_queue: blocks 4096 avail 71821920 min_free 0 msg_size_limit 30000000
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 2.1.0 Ok
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: RCPT TO:<test at wrightthisway.com>
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: input: <test at wrightthisway.com>
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_addr: addr=test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = rewrite
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr rule = local
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: address
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: address
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: rewrite_clnt: local: test at wrightthisway.com -> test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = resolve
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr sender Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: transport
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: transport
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: virtual
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: nexthop
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: nexthop
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: recipient
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: recipient
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1024
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: resolve_clnt: `' -> `test at wrightthisway.com' -> transp=`virtual' host=`wrightthisway.com' rcpt=`test at wrightthisway.com' flags= class=virtual
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: install entry key test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: in: <test at wrightthisway.com>, result: test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = rewrite
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr rule = local
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = "<>"
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: address
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: address
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: "<>"@wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: rewrite_clnt: local: "<>" -> "<>"@wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Helo command RESTRICTIONS <<<
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_mynetworks: unknown 70.116.91.238
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks status=0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated status=1
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Sender address RESTRICTIONS <<<
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=hash:/etc/postfix/access
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_mail_access: jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: move existing entry key jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_access: jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_domain_access: wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_access: jim@
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=check_sender_access status=0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> END Sender address RESTRICTIONS <<<
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Recipient address RESTRICTIONS <<<
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_mynetworks: unknown 70.116.91.238
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks status=0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated status=1
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> CHECKING RECIPIENT MAPS <<<
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: move existing entry key test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: recipient_canonical_maps: test at wrightthisway.com: not found
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: recipient_canonical_maps: test: not found
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: recipient_canonical_maps: @wrightthisway.com: not found
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: mail_addr_find: test at wrightthisway.com -> (not found)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: canonical_maps: test at wrightthisway.com: not found
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: canonical_maps: test: not found
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: canonical_maps: @wrightthisway.com: not found
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: mail_addr_find: test at wrightthisway.com -> (not found)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = lookup
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr table = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr flags = 16448
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr key = test at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/proxymap socket: wanted attribute: status
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: status
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/proxymap socket: wanted attribute: value
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: value
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/proxymap socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql_virtual_alias_maps.cf flags=lock|fold_fix key=test at wrightthisway.com -> status=1 resultJan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: virtual_alias_maps: hash:/usr/local/mailman/data/virtual-mailman(0,lock|fold_fix): test at wrightthisway.com = test
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: mail_addr_find: test at wrightthisway.com -> test
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_rewrite: trying: permit_inet_interfaces
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_inet_interfaces: unknown 70.116.91.238
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: before input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping enable_milters
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: after input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: connect to subsystem public/cleanup
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: queue_id
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: queue_id
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: BBA681B43CF
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr flags = 178
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: BBA681B43CF: client=unknown[70.116.91.238], sasl_method=PLAIN, sasl_username=jim at wrightthisway.com
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 2.1.5 Ok
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: DATA
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Data command RESTRICTIONS <<<
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_mynetworks: unknown 70.116.91.238
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks status=0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated status=1
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 354 End data with <CR><LF>.<CR><LF>
Jan 2 23:46:45 wrights-Mac-mini postfix/cleanup[81788]: BBA681B43CF: message-id=<BC1405BF-6CF5-4111-B478-2D34FDFF1438 at wrightthisway.com>
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: status
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: status
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: reason
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: reason
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: (list terminator)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end)
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 2.0.0 Ok: queued as BBA681B43CF
Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0
Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: BBA681B43CF: from=<jim at wrightthisway.com>, sizeR4, nrcpt=1 (queue active)
Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: BBA681B43CF: to=<test at wrightthisway.com>, relay=virtual, delay=0.1, delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test at wrightthisway.com")
Jan 2 23:46:45 wrights-Mac-mini postfix/cleanup[81788]: CCF831B43D9: message-id=<20110103054645.CCF831B43D9 at wrightthisway.com>
Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: CCF831B43D9: from=<>, size#61, nrcpt=1 (queue active)
Jan 2 23:46:45 wrights-Mac-mini postfix/bounce[81791]: BBA681B43CF: sender non-delivery notification: CCF831B43D9
Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: BBA681B43CF: removed
Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: CCF831B43D9: to=<jim at wrightthisway.com>, relay=virtual, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: CCF831B43D9: removed

Search Discussions

  • Jim Wright at Jan 3, 2011 at 5:18 pm

    On Jan 3, 2011, at 12:15 AM, Jim Wright wrote:

    Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: BBA681B43CF: to=<test at wrightthisway.com>, relay=virtual, delay=0.1, delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test at wrightthisway.com")
    Hi, just a followup to my previous message, I have confirmed that the 'test' mailing list I created seems to be listed correctly in the virtual-mailman db, using the following command:

    sh-3.2# postmap -q test at wrightthisway.com hash:/usr/local/mailman/data/virtual-mailman
    test

    sh-3.2# postmap -s hash:/usr/local/mailman/data/virtual-mailman
    test-confirm at wrightthisway.com test-confirm
    test-join at wrightthisway.com test-join
    test-subscribe at wrightthisway.com test-subscribe
    mailman-loop at wrightthisway.com mailman-loop
    test at wrightthisway.com test
    test-admin at wrightthisway.com test-admin
    test-bounces at wrightthisway.com test-bounces
    test-leave at wrightthisway.com test-leave
    test-owner at wrightthisway.com test-owner
    test-request at wrightthisway.com test-request
    test-unsubscribe at wrightthisway.com test-unsubscribe
  • Sebastian Kronenwerth at Jan 4, 2011 at 7:46 pm
    Hi Jim,

    I have had the same problem. With some tricks you can use your virtual
    domains. Here an example how it works fine on my machine, but at this I
    used your domain:

    Add/modify this in your main.cf:

    mydestination =
    localhost
    localhost.wrightthisway.com

    alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases

    virtual_alias_maps = hash:/etc/postfix/virtual_alias


    Don't use the /usr/local/mailman/data/virtual-mailman. Mailman overwrite
    this file and therefore you can't modify this. Instead of this, put per
    hand in your /etc/postfix/virtual_alias:

    mailman-loop at wrightthisway.com mailman-loop at localhost
    test at wrightthisway.com test at localhost
    test-admin at wrightthisway.com test-admin at localhost
    test-bounces at wrightthisway.com test-bounces at localhost
    test-confirm at wrightthisway.com test-confirm at localhost
    test-join at wrightthisway.com test-join at localhost
    test-leave at wrightthisway.com test-leave at localhost
    test-owner at wrightthisway.com test-owner at localhost
    test-request at wrightthisway.com test-request at localhost
    test-subscribe at wrightthisway.com test-subscribe at localhost
    test-unsubscribe at wrightthisway.com test-unsubscribe at localhost

    Don't forget to run postmap virtual_alias and after this your
    mailinglist should work.

    Best regards
    Sebastian
  • Mark Sapiro at Jan 5, 2011 at 3:29 pm

    Sebastian Kronenwerth wrote:
    Don't use the /usr/local/mailman/data/virtual-mailman. Mailman overwrite
    this file and therefore you can't modify this. Instead of this, put per
    hand in your /etc/postfix/virtual_alias:

    mailman-loop at wrightthisway.com mailman-loop at localhost
    test at wrightthisway.com test at localhost
    test-admin at wrightthisway.com test-admin at localhost
    test-bounces at wrightthisway.com test-bounces at localhost
    test-confirm at wrightthisway.com test-confirm at localhost
    test-join at wrightthisway.com test-join at localhost
    test-leave at wrightthisway.com test-leave at localhost
    test-owner at wrightthisway.com test-owner at localhost
    test-request at wrightthisway.com test-request at localhost
    test-subscribe at wrightthisway.com test-subscribe at localhost
    test-unsubscribe at wrightthisway.com test-unsubscribe at localhost

    If you have a recent Mailman, you can accomplish the same thing in
    virtual-mailman by putting

    VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost'

    in mm_cfg.py.

    This setting was introduced in Mailman 2.1.14. Also see
    <https://bugs.launchpad.net/mailman/+bug/328907>.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 3, 2011 at 7:34 pm

    Jim Wright wrote:
    However, I cannot send email to this list without the mail being rejected back as being to an unknown user.

    Based on all of my reading, I think I've done everything correctly. From my Postfix log, it doesn't appear that the aliases file is being consulted at all, but I am seeing a line indicating that the virtual-mailman file was referenced.

    That is correct. Aliases are not consulted because the virtual mapping
    in virtual-mailman is

    test at wrightthisway.com test


    This maps 'test at wrightthisway.com' to 'test'. The unqualified address
    'test' is assumed by Postfix to be qualified with $myorigin, which
    defaults to $myhostname which is 'wrightthisway.com' which is a
    virtual domain. Aliases only apply to local domains, i.e., those in
    $mydestination.

    [...]
    sh-3.2# postconf -n
    address_verify_sender = <>
    alias_database = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases

    The above should be in alias_maps, not alias_database. Fixing this may
    solve your problem, but it I suspect it will not be sufficient.

    alias_maps = hash:/etc/postfix/aliases [...]
    mydestination =

    At a minimum, mydestination should include localhost.

    mydomain = wrightthisway.com
    myhostname = wrightthisway.com [...]
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/usr/local/mailman/data/virtual-mailman [...]
    Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: BBA681B43CF: to=<test at wrightthisway.com>, relay=virtual, delay=0.1, delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test at wrightthisway.com")

    In order for aliases to be consulted, delivery must be 'local' not
    'virtual'

    The solution in your case is to put
    hash:/usr/local/mailman/data/aliases in alias_maps; add localhost to
    mydestination and put

    VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost'

    in mm_cfg.py and run Mailman's bin/genaliases to create virtual-mailman
    mappings like

    test at wrightthisway.com test at localhost

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jim Wright at Jan 4, 2011 at 5:17 am

    On Jan 3, 2011, at 1:34 PM, Mark Sapiro wrote:

    In order for aliases to be consulted, delivery must be 'local' not
    'virtual'

    The solution in your case is to put
    hash:/usr/local/mailman/data/aliases in alias_maps; add localhost to
    mydestination and put

    VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost'

    in mm_cfg.py and run Mailman's bin/genaliases to create virtual-mailman
    mappings like

    test at wrightthisway.com test at localhost
    Hi, Mark. I appreciate the suggestions, but I was hesitant to reconfigure my postfix that way, for fear of borking my working virtual domains. I should have mentioned earlier that I have my site configured using postfix admin, and after seeing your mention of changing the delivery, that got me thinking about the problem in more depth.

    I did some new googling using postfixadmin and mailman, and came across this page: http://freemars.org/howto/mailman.html, this got me a lot closer, I just needed to track down the most recent postfix-to-mailman.py script, make the required edits for my site, and I have now successfully created and sent email to my test list.

    Thanks!
  • Mark Sapiro at Jan 4, 2011 at 6:12 pm

    Jim Wright wrote:
    I did some new googling using postfixadmin and mailman, and came across this page: http://freemars.org/howto/mailman.html, this got me a lot closer, I just needed to track down the most recent postfix-to-mailman.py script, make the required edits for my site, and I have now successfully created and sent email to my test list.

    While this may be an acceptable solution for you, you should be aware
    that use of postfix_to_mailman.py will create the same issues for
    non-list mail to the list domain that you had originally for list mail.

    I.e. postfix_to_mailman.py is designed for situations where there is a
    dedicated domain or domains for list mail only.

    You can work around this by generating transport maps to map only list
    addresses to the postfix_to_mailman.py (mailman) transport using the
    method of the FAQ at <http://wiki.list.org/x/ZoCj> substituting
    'mailman' for 'local'. But then you could also use aliases with this
    method by specifying the local transport.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jim Wright at Jan 4, 2011 at 11:08 pm

    On Jan 4, 2011, at 12:12 PM, Mark Sapiro wrote:

    Jim Wright wrote:
    I did some new googling using postfixadmin and mailman, and came across this page: http://freemars.org/howto/mailman.html, this got me a lot closer, I just needed to track down the most recent postfix-to-mailman.py script, make the required edits for my site, and I have now successfully created and sent email to my test list.

    While this may be an acceptable solution for you, you should be aware
    that use of postfix_to_mailman.py will create the same issues for
    non-list mail to the list domain that you had originally for list mail.

    I.e. postfix_to_mailman.py is designed for situations where there is a
    dedicated domain or domains for list mail only.
    Right, I did create a separate domain for the lists, I didn't see it as being a huge issue. It was definitely easier than revamping my postfix config. ;)

    Thanks, Mark!

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJan 3, '11 at 6:15a
activeJan 5, '11 at 3:29p
posts8
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase