I recently installed Mailman 2.1.1 on a RedHat 8 box. I'd like the one
machine to be a listserver for two domains: www.tcf.ua.edu and
www.cinemastudies.org (which is set up as a virtual host on Apache 1.3.27).
Mailman seems to be set okay on www.tcf.ua.edu, but when I tried something
similar with [EMAIL PROTECTED] and sent e-mail to it, I got
550 5.7.1 <[EMAIL PROTECTED]>... Relaying denied
In Mailman's General Options Section, I set the "Host name this list
prefers for email" to www.cinemastudies.org, but this didn't do the trick.
So, I poked around in the sendmail docs and found the following bit about
virtual user tables (below); but I'm rather fuzzy about the details. (I
haven't been using www.cinemastudies.org as an e-mail receiver
previously.) Are virtual users how one creates virtual hosts? Is this
what I need to do:
1. Create a text file named sourcefile in /etc/mail and add:
@www.tcf.ua.edu [EMAIL PROTECTED]
2. Run
makemap dbm /etc/mail/virtusertable < sourcefile
3. Add a line to /etc/mail/local-host-names:
www.cinemastudies.org
4. Restart sendmail.
Do I need to edit /etc/mail/generics-domains?
Thanks for the assistance.
---- sendmail docs ----
#
Create the virtual user table. This is explained in detail in section
19.6.28 of the sendmail book; an overview is given here. The table is a
database that maps virtual addresses into real addresses. You create a text
file where each line has a key/value pair, separated by a TAB. For example:
[EMAIL PROTECTED] jschmoe
[EMAIL PROTECTED] [EMAIL PROTECTED]
@yourdomain.com jschmoe
In this first example, the address [EMAIL PROTECTED] will be mapped to the
local user jschmoe, [EMAIL PROTECTED] will be mapped to the remote user
[EMAIL PROTECTED], and anything else coming in to yourdomain.com will
also go to jschmoe.
[EMAIL PROTECTED] jschmoe
[EMAIL PROTECTED] error:nouser No such user here
[EMAIL PROTECTED] yourdomain-list
@yourdomain.com [EMAIL PROTECTED]
In this second example, the address [EMAIL PROTECTED] will be mapped to
the local user jschmoe, the address [EMAIL PROTECTED] will return the
indicated error, the address [EMAIL PROTECTED] will be mapped to the
local user yourdomain-list (which you would use the aliases file to
ultimately resolve) and every other user at yourdomain.com will be mapped
to a remote user of the same name at othercompany.com.
#
Build the virtual user table. If the above virtual user table text file is
located at sourcefile, and you are using the dbm database type, then use
the command:
makemap dbm /etc/mail/virtusertable < sourcefile
This actually creates one or more non-text files (typically
/etc/mail/virtusertable.dir and /etc/mail/virtusertable.pag, or
/etc/mail/virtusertable.db), but does not actually change
/etc/mail/virtusertable itself, so this is the recommended location for
sourcefile.
#
If you would like to reverse-map local users for out-bound mail, you will
need to add support for the generics table to your .mc file:
FEATURE(`genericstable', `dbm /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
And you will need to create /etc/mail/genericstable which is like
/etc/mail/virtusertable above except the columns are reversed:
jschmoe [EMAIL PROTECTED]
#
Add your domain name to sendmail's class w. This is typically done by
adding a line to /etc/mail/local-host-names (known as /etc/sendmail.cw
prior to 8.10) with the value of your domain name.
Likewise, if you are using the genericstable, you should add any domains
you wish to reverse-map to /etc/mail/generics-domains.
#
Restart or SIGHUP sendmail.
Jeremy Butler
[EMAIL PROTECTED]
========================================================
TELEVISION: CRITICAL METHODS AND APPLICATIONS
www.TVCrit.com
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [email protected]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
- Re: [Mailman-Users] Mailman's Host Name & sendmail's Vir... Jeremy Butler
- Re: [Mailman-Users] Mailman's Host Name & sendmail'... Jon Carnes
- Re: [Mailman-Users] Mailman's Host Name & sendmail'... Keith Mastin
- Re: [Mailman-Users] Mailman's Host Name & sendm... Jon Carnes
- RE: [Mailman-Users] Mailman's Host Name & s... Jim Popovitch
- RE: [Mailman-Users] Mailman's Host Name &am... Keith Mastin
- RE: [Mailman-Users] Mailman's Host Nam... Jim Popovitch
- Re: [Mailman-Users] Mailman's Host... J C Lawrence
