Maybe this is more of a sendmail configuration question, but I hope not....
I am setting up Majordomo (MD 1.93 on Redhat 2.1 Linux 1.2.13, perl 4.036)
on a host whose canonical name is (e.g.) foo.bar.org. But I want to make it
easy to move Majordomo to another host some day, if perchance foo starts to
bog down under the load. So I defined a host synonym named lists.bar.org
with the same ip address as foo.bar.org, put it in the dns, and added the
name to sendmail.cf. Now I can send mail to listname@lists.bar.org, and it
gets processed and resent by majordomo on foo.bar.org. That part is all
working.
But, when MD resends a post, the To:, Reply-To:, and From: lines all show
foo.bar.org, not lists.bar.org, as the host name. So people will get in the
habit of sending to foo.bar.org, and I won't be able to transparently move
the list someday.
I tried putting the hostname in the resend parameters, but that didn't do it
(at one point I was getting a Reply-To: listname%lists.bar.org@foo.bar.org);
I tried creating a custom sendmail.cf for resend to use that set the host
name macro to lists and rewrote the To: and Reply-To: header lines, but that
didn't seem to have an effect either. (As an aside, while trying to do that
I discovered that resend wasn't paying any attention to the $mailer line in
majordomo.cf. I had to edit the resend script to include the -C option on
sendmail. Isn't it supposed to use $mailer for the sendmail command and
flags?)
Has anyone accomplished what I want to do, and if so, how?
-- Brad Whitlock
|
|