Great Circle Associates Majordomo-Users
(July 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: MD on alternate host name
From: BWhitloc @ smtpmail . micro . honeywell . com (Whitlock, Brad)
Date: Fri, 05 Jul 1996 14:40:54 GMT
To: majordomo-users @ GreatCircle . COM (majordomo-users)


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



Indexed By Date Previous: Re: Digest index / restrict posting by domain
From: Richard Pieri <ratinox@unilab.dfci.harvard.edu>
Next: Re: Digest index / restrict posting by domain
From: Christopher Adams <chris@sparkie.osl.state.or.us>
Indexed By Thread Previous: Re: Digest index
From: Shawn Steele <shawn@aob.org>
Next: MD on alternate host name
From: BWhitloc@smtpmail.micro.honeywell.com (Whitlock, Brad)

Google
 
Search Internet Search www.greatcircle.com