On 12-Mar-2003/18:08 -0500, William Warren <[EMAIL PROTECTED]> wrote:
>On Wed, Mar 12, 2003 at 03:09:44PM -0500, Anthony E. Greene wrote:
>> gregory mott wrote:
>> > it appears verizon won't send out mail unless From: contains
>> > [EMAIL PROTECTED]
>> 
>> I had this problem with Verizon too. I seem to remember using 
>> MASQUERADE_AS and MASQUERADE_ALL. 
>
>I tried to use MASQUERADE_AS on a machine in my dmz that had to send 
>mail outside; I didn't see any difference in the output. Please tell 
>me what other commands I need to have sendmail change, e.g., 
>"From: [EMAIL PROTECTED]" so that outgoing mail shows 
>"From: [EMAIL PROTECTED]".

Install the sendmail-doc package and look at README.cf for info on
masquerading.

>> I think I also gave my machine a name in the verizon.net domain and
>> added it to the hosts file, as the first entry on the line for my
>> outgoing ethnernet interface.  
>
>What does this do? I hadn't known that sendmail consulted the hosts file.

Sendmail will use the first machine name on the line in /etc/hosts that
corresponds to the IP address for the interface that it is using.

So if your connection to the outside world is on 123.456.789.123 and the
hostname you want sendmail to use is mymachine.verizon.net, then a line
like this should do it:

123.456.789.123  mymachine.verizon.net mymachine.mydomain

>> In hindsight, genericstable, if it works, would probably have been
>> easier.
>
>I don't have genericstable on my 7.1 box: what does it do?

It's a way of rewriting addresses in sendmail.

      http://www.google.com/search?q=genericstable

Tony
-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to