[Mailman-Users] mailman true virtual hosting

Mark Sapiro mark at msapiro.net
Tue Jul 1 03:39:06 CEST 2008

Dony Tata wrote:

>can some body help me? i have true domain "true.org" and virtual domain "virtual.org" in DNS configure like this
>DEFAULT_URL_HOST   = 'lists.true.org'
>DEFAULT_EMAIL_HOST = 'lists.true.org'

I think you probably want to add

add_virtualhost('www.virtual.org', 'virtual.org')

>MTA = 'Postfix'
>#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
>html_directory = no
>inet_interfaces = all
>mail_owner = postfix
>mailq_path = /usr/bin/mailq.postfix
>manpage_directory = /usr/share/man
>mydestination = $myhostname, localhost.$mydomain
>mynetworks =,
>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 = virtual.org
>virtual_alias_maps = hash:/etc/mailman/virtual-mailman, hash:/etc/postfix/virtual
>@virtual.org            @lists.true.org

You probably don't want this.

>with configuration above, i succes create new list abc at virtual.org, and i have subscribe member "member at true.org" in list abc at virtual.org, but if i send mail to list abc at virtual.org, i have got messege
>The mail system <abc at virtual.org>: mail for virtual.org loops back to myself 
>Reporting-MTA: dns; mail.true.org 
>X-Postfix-Queue-ID: 6F2662840C 
>X-Postfix-Sender: rfc822; member at true.org 
>Arrival-Date: Mon, 30 Jun 2008 22:38:21 +0700 (WIT) 
>Final-Recipient: rfc822; abc at virtual.org
>Original-Recipient: rfc822;abc at virtual.org
>Action: failed 
>Status: 5.4.6 
>Diagnostic-Code: X-Postfix; mail for virtual.org loops back to myself 

Did Mailman create a set of entries

abc at virtual.org         abc
abc-admin at virtual.org   abc-admin

in data/virtual-mailman and aliases

abc: "|/path/to/mail/mailman post abc"
abc-admin: "|/path/to/mail/mailman admin abc"

in data/aliases

If those virtual map and alias entries are there, it should work.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list