sendmail masquerade

sendmail masquerade

Post by dfo » Fri, 25 Aug 1995 04:00:00



As you can see from my .signature, I used to post as

system -- but which later in life learned how to send mail directly
to the internet as belvedere.vip.best.com.

For a while, the two names worked cooperatively rather well - I was
belvedere.sbay.org for UUCP (mainly for CNews news batching via UUCP) and
belvdere.vip.best.com when directly connected to the net.

At the time, I was using smail, rather than sendmail, and I had a smart
host that did the routing for me when I batched up mail to send via
UUCP every so often.

Recently, however, I lost the whole boot sector + perhaps part of
the beginning of my root filesystem :(, and the upshot of that is I
had to reinstall from scratch. I used a December 1994 vintage Infomagic
(slackware distribution) as the source.

As of now, mail to/from the Internet to belvdere.vip.best.com gets
processed just fine with sendmail. The belvedere.sbay.org domain
seems to have disappeared, though. Mail to belvedere.sbay.org (due
to the MX records) gets here all right, but is sent directly to

his trouble.

Even though I entitled this post "sendmail masquerading", I don't
think that it's a sendmail issue. The closest thing in sendmail
I could find so far is the masquerade (DN), but according to another
post, I can only masquerade as one domain at a time, which is not
what I want to do.

In the past, I believe I had belvedere.sbay.org listed in /etc/hosts
like:

# For loopbacking.
127.0.0.1       localhost
204.156.152.2           belvdere.vip.best.com belvdere belvedere.sbay.org
# End of hosts.

However, with this addition, mail still will bounce.
belvedere.sbay.org is valid, insofar as I can telnet etc that site - but
mail doesn't work yet.

Any ideas? I still have periodic mail coming into belvedere.sbay.org,
so I'd like to figure out how to fix this pretty quickly.

--
------------------------------------------------------------------------
David E. Fox                               Thanks for lettimg me


-----------------------------------------------------------------------

 
 
 

sendmail masquerade

Post by dfo » Thu, 31 Aug 1995 04:00:00


: As you can see from my .signature, I used to post as

: system -- but which later in life learned how to send mail directly
: to the internet as belvedere.vip.best.com.

I think I found the solution in another somewhat unrelated post
in the c.o.l.networking newsgroup:

Essentially if I do:

Cwlocalhost belvdere belvdere.vip.best.com belvedere.sbay.org

in /etc/sendmail.cf, and then reset sendmail (kill & restart it)
being able to get mail that's still coming to belvedere.sbay.org
should work. I'm testing it now. If a kind person will send
a test message to both addresses in the .signature file, it
would be appreciated.

 
 
 

1. sendmail Masquerade

I'm having some trouble getting sendmail masquerading to work.

I've got a Linux box connected to an ISP using dynamically-allocated
IP numbers.  With pppd this seems to work very well.  Incoming email
gets downloaded with popclient; outgoing is sent with sendmail.

The problem: My ISP is rmi.net; my Linux box is named 'harry'.  All

is not a valid domain, nor is it likely to become one.  Outgoing
email really needs to be from rmi.net.

I thought I had this solved when I read about sendmail masquerading.
I created an m4 file with the following entries:

MASQUERADE_AS(rmi.net)
FEATURE(masquerade_envelope)

...and created a new config file.  But outgoing email still claims
to be from harry.rmi.net.

I get the feeling I've missed some obvious detail here.  Can this
be done with sendmail?  And if not, what should I be using for
outgoing email?

--

  "Usenet is like a tar pit except it's filled with Hershey's syrup...
 I still haven't decided if it's chocolate or strawberry-banana." -Kibo
-> Fractal Kit:  http://rainbow.rmii.com/~tph/fractalkit/fractal.html <-

2. Arno's Iptables script - multiple internal i/fs?

3. sendmail masquerade

4. Filename completion in csh

5. Sendmail masquerade questions

6. Business Proposal

7. Sendmail Masquerading headers

8. How to Creat fonts.dir from pfa/pfb/afm files

9. Sendmail Masquerading Problems

10. Sendmail Masquerading (Error 553)

11. Sendmail masquerading

12. Sendmail masquerading _sometimes_ with dynamic IP