Great Circle Associates Majordomo-Users
(August 2000)
 

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

Subject: Re: Removal of the 'hostname'
From: mjn <mjn @ umn . edu>
Date: Thu, 24 Aug 2000 09:40:41 -0500 (CDT)
To: Tuka Gafari <TGafari @ Startups . com>
Cc: "'majordomo-users @ greatcircle . com'" <majordomo-users @ GreatCircle . COM>
In-reply-to: <7A73FF885A30D411A5EB000629507EEA07E29A@latte.startups.com>

> Hello 
> 
> I have been skimming through the archives and I cannot find out how to
> do the following:
> 
> 	Have:
> 		FROM:		news@startups.com
> 		TO:		test@hostname.domain.com
> 
> 	Want:	
> 		FROM:		news@startups.com
> 		TO:		test@startups.com
> 
> I want to remove the hostname.  I have tried the '-h domain.com' in the
> resend line in /etc/aliases, but no luck....
> 
> test:           "|/var/test/majordomo/wrapper resend -h startups.com -l test
> test-list"


Get an MX entry in the DNS for startups.com which is attached to
hostname.domain.com (this tells MTAs, via DNS, that hostname.domain.com
accepts mail for startups.com).  Without the MX entry masquerading will
not work.

Set up sendmail to do masquerading

the stuff I added to my config.mc file was this:

MASQUERADE_AS(domain.org)
FEATURE(`allmasquerade')
FEATURE(`masquerade_envelope')
EXPOSED_USER(root)

regenerate the sendmail.cf file.  Restart sendmail.

Then I did : $whereami = "domain.org"; in the majordomo.cf and I did /not/
use the -h flag in my resend


It works fine for me.

You could also do something with virt. users table but I haven't tried
that.

____________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs

E-Mail		: mjn@umn.edu
Page Mail	: 6126486512@page.metrocall.com
http://nifty.dsl.visi.com/
____________________________




References:
Indexed By Date Previous: subscription reply configuration
From: Richard Ruppel <r_ruppel@yahoo.com>
Next: Re: your mail
From: mjn <mjn@umn.edu>
Indexed By Thread Previous: Removal of the 'hostname'
From: Tuka Gafari <TGafari@Startups.com>
Next: RE: Removal of the 'hostname'
From: Tuka Gafari <TGafari@Startups.com>

Google
 
Search Internet Search www.greatcircle.com