sendmail masquerade

sendmail masquerade

Post by Dave Hinkl » Thu, 21 Jan 1999 04:00:00






>> Masquerading in sendmail is used to change the hostname part of the
address:


>Tested and it works very fine. Thank you for your help, Dave! :-)

>> wrong.  One thing to note here, is that root will NOT be masqueraded by
>> default.  To use the DM option in the example above, modify the
>Hmmm, is there a way to masquerade root, too? It does not make much sense,
>though, what do you mean?

Igor,

The CE entry in the /etc/sendmail.cf file contains a list of users that
should not be masqueraded.  Root is normally listed here.  Many systems mail
usefull information to root.  Many sysadmins forward root mail to another
account/accounts so that action can be taken if a critical message is rcvd.
So, if root is masqueraded, you have no idea, without going thru the mail
headers, which specific machine the message came from.  Also, many
sysadmins, myself included, believe that one should use the root login for
as little non-root tasks as possible.  Thus, sending email outside your
domain is usally not done from a root account.

Hope this helps,
Dave

 
 
 

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. How can I install "as"?

3. Sendmail masquerade questions

4. SSH2 {newbie}

5. Sendmail Masquerading headers

6. /dev/zftape: No such device

7. Sendmail Masquerading Problems

8. MOUSE PROBLEM!

9. Sendmail Masquerading (Error 553)

10. Sendmail masquerading

11. Sendmail masquerading _sometimes_ with dynamic IP

12. sendmail masquerade