[Mailman-Users] separate mx, mailman and web host

Mark Sapiro mark at msapiro.net
Fri Apr 1 18:25:18 CEST 2011


Lucio Chiappetti wrote:
>
>- all our e-mail are of the form  user at domain
>   NOT user at host.domain


OK


>- all outgoing mail is masqueraded as user at domain by sendmail


OK


>- the DNS advertises two MX's for the domain. We do not advertise MX's for
>   particular hosts. Hosts other than MX's should have the SMTP port
>   blocked by a firewall on the boundary router (we are several institutes
>   in the same building, the boundary router is not managed by ours).


OK


[...]
>
>- mailman will be installed on a given host (I call it mmhost for the
>   purposes of this mail, but the real name will be different). Most
>   likely it will be our www server (www.domain where www is a CNAME
>   for its real host name), NOT the MXs (the two MXs are redundant,
>   and are also the primary and secondary DNS and NIS servers).


If it is not the www server, you can use one of the methods in FAQ 4.84


>- I know now that DEFAULT_URL_HOST shall point to www.domain (or
>   perhaps a dedicated virtual www server)
>
>- I know now that DEFAULT_EMAIL_HOST can be set to "domain" to make
>   lists and service addresses of the form "list at domain"
>   (preferred to list at mmhost.domain)
>
>- I know from my tests how to coerce sendmail and mailman to use (and
>   automatically create)  LOCAL aliases of the form
>
>   listname:  "|/usr/lib/mailman/mail/mailman post listname"
>
>   but of course THESE aliases are not suitable to be NIS aliases.
>   /usr/lib/mailman/mail/mailman won't exist on the MXs and on the
>   clients !


But it is trivial to augment your script that copies Mailman's aliases
for sendmail by adding something like

sed -r -e "s/^(.*):.*$/\1: \1 at mmhost.domain/" < /path/data/aliases > ...

plus the command(s) necessary to install those in NIS.


[...]
>PS
>I read also FAQs 4.84 and 4.72. Any more suitable for our configuration ?


I think those are good.

-- 
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