I'm new to Majordomo, sorry if this has been discussed before (I've read
the FAQ and searched the archives but couldn't find the answer).
I've installed Majordomo 1.94.3 on a system running Digital Unix 3.2c,
sendmail 8.6.12 and Perl 5.003. Everything seems to work, I can create
lists and subscribe and unsubscribe. I haven't tried setting up a digest
yet, that'll have to wait until I've solved my current problem: ;-)
I want to change the hostname/domain on all messages sent by majordomo,
request-answer and resend.
The machine Majordomo is running on is called bedrock.bitcon.no. This
machine has several TCP/IP addresses (ifconfig ln0 alias <address>), one
for each virtual host it serves on the WWW (Apache httpd). One of these
aliases is www.jag-lovers.org. The machine is the primary nameserver for
both bitcon.no and jag-lovers.org.
I want to set up some mailing lists for the jag-lovers.org domain, I
currently have no plans to set up mailing lists for either the bitcon.no
domain or any of the other domains.
** What works:
I've set up mail aliases for majordomo and the lists as suggested in the
Majordomo FAQ and it works. I can send subscribe and unsubscribe
commands to majordomo@jag-lovers.org and postings to
<list>@jag-lovers.org.
When I subscribe to a list the welcome message from majordomo includes
the correct information on how to unsubscribe (Majordomo@jag-lovers.org)
and how to reach a human (owner-<list>@jag-lovers.org).
When I send a message to <list>-request@jag-lovers.org I get a reply
which includes the correct information in the message body (headers are
another matter, see below). In other words, it tells me to send
subscribe commands to Majordomo@jag-lovers.org and to contact a human at
<list>-approval@jag-lovers.org. Oh, and the subject-line is also
correct: "Your mail to <list>-request@jag-lovers.org".
** The problem:
Mail from majordomo on subscribe/unsubscribe commands is always sent
back from Majordomo@bitcon.no
Mail from resend always has "Sender: owner-<list>@bitcon.no" in the
headers
Mail from request-answer is always from <list>-request@bitcon.no and the
Reply-To: header is set to <list>-approval@bitcon.no.
** What I've done:
Set $whereami = "jag-lovers.org" in majordomo.cf
Set resend_host = jag-lovers.org in <list>.config
I first tried creating a special jag-lovers.cf config file for majordomo
and calling majordomo with "-C /path/jag-lovers.cf" (in the mail alias
file) but this only resulted in the default majordomo.cf file being read
instead and $whereami was set to bitcon.no (as was specified in
majordomo.cf). So I gave up and instead set $whereami to jag-lovers.org
in majordomo.cf and removed the "-C" parameter in the mail alias file.
The "-h" parameter to resend didn't seem to have any affect either.
** The question:
What do I do? Is this a problem with Majordomo or with sendmail? I'm no
wizard at configuring either so help would be much appreciated!
Gunnar
--
Gunnar Helliesen | Bergen IT Consult AS | NetBSD/VAX on a uVAX II
Systems Consultant | Bergen, Norway | '86 Jaguar Sovereign 4.2
gunnar@bitcon.no | http://www.bitcon.no/ | '73 Mercedes 280 (240D)
|
|