[Mailman-Users] List on a different domain name?

Chris Arnold carnold at electrichendrix.com
Sat Jan 8 03:20:51 CET 2011


>You can use Mailman on any number of domains. The only restriction with
>standard GNU Mailman 2.1.x is tha list names must be globally unique
>in the installation.

>There are 3 components to this.

>1) The web server must recognize the appropriate Mailman ScriptAlias,
>Alias, etc. directives in all the domains.
Here is the vhost mailman section:
ScriptAlias /mailman/ "/usr/lib/mailman/cgi-bin/"

    # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have one, and where ScriptAlias points to.
    #
    <Directory "/usr/lib/mailman/cgi-bin/">
	AllowOverride None
	Options +ExecCGI -Includes
	Order allow,deny
	Allow from all
    </Directory>

>2) The MTA must know how to deliver the mail to Mailman for all the
>list addresses.
I have created these on the MTA

>3) There should be appropriate add_virtualhost() directives and for
>Postfix integration with Postfix virtual domains, appropriate
>POSTFIX_STYLE_VIRTUAL_DOMAINS entries in mm_cfg.py.
Here is the mm_cfg.py config:
##################################################
# Put YOUR site-specific settings below this line.
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
DEFAULT_NNTP_HOST = 'FQDN'
DEFAULT_EMAIL_HOST = 'mail.domain.com'
DEFAULT_URL_HOST = 'web.domain.com'
MTA = 'Postfix'
POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/sbin/postmap'
DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST = 'localhost'
SMTPPORT = '25'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
#IMAGE_LOGOS = '/mailmanicons/'
add_virtualhost('web.domain.com', 'mail.domain.com')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.com']

>See the FAQ at http://wiki.list.org/x/gIA9 for more, particularly the
>part about fix_url.
I do not see anything about fix_url anywhere on that link

I can not get to http://domain.com/mailman/admin. Mailmanctl restart gives me bash: command not found.


More information about the Mailman-Users mailing list