195 lines
7.4 KiB
HTML
195 lines
7.4 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.3E.t">
|
|
<TITLE>The Answer Gang 65: masquerade in sendmail is broken.</TITLE>
|
|
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
|
LINK="#3366FF" VLINK="#A000A0">
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<P> <hr>
|
|
<CENTER>
|
|
<!-- *** BEGIN navbar *** -->
|
|
<!-- *** END navbar *** -->
|
|
</CENTER>
|
|
</p>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<center>
|
|
<H1><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="(?)"
|
|
border="0" align="middle">
|
|
<font color="#B03060">The Answer Gang</font>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="(!)"
|
|
border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4>By Jim Dennis, Ben Okopnik, Dan Wilder, Breen, Chris, and the Gang,
|
|
the Editors of Linux Gazette...
|
|
and You!
|
|
<br>Send questions (or interesting answers) to
|
|
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a>
|
|
</H4>
|
|
<p><em><font color="#990000">There is no guarantee that your questions
|
|
here will <b>ever</b> be answered. You can be published anonymously
|
|
- just let us know!
|
|
</font></em></p>
|
|
</center>
|
|
|
|
<p><hr><p>
|
|
<!-- endcut ======================================================= -->
|
|
<!-- begin 11 -->
|
|
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
|
|
height="50" width="60" alt="(?) " border="0"
|
|
>masquerade in sendmail is broken.</H3>
|
|
|
|
|
|
<p><strong>From Clark Ashton Smith
|
|
</strong></p>
|
|
<p align="right"><strong>Answered By Ben Okopnik
|
|
<br></strong></p>
|
|
|
|
<!-- sig -->
|
|
|
|
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
In issue 21 there was an article by the "The Answer Guy"
|
|
which explained how to use the masquerade feature in a
|
|
local sendmail configuration.
|
|
</STRONG></P>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Ben]
|
|
Issue 21 is from 1997. Considering how much Linux has changed since those
|
|
days, and how closely "sendmail" is tied into all those changes, relying
|
|
on information that old is not going to get you good results.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
On the other hand, the information that is available for setting up
|
|
sendmail is generally pretty poor, and not at all intended for the casual
|
|
user; it's pretty nightmarish out there.
|
|
</BLOCKQUOTE>
|
|
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
It worked fine with Redhat 5.2 Linux, but I just tried
|
|
it on Redhat 6.0 and the FEATURE(nodns) reports that it
|
|
is a no-op and I should use the service.switch file to
|
|
disable dns lookup. Well after 5 hours of reading
|
|
sendmail faqs, newsgroups and tips I am no closer to
|
|
making this work.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
I have a simple network with a ppp connection to the
|
|
internet. Many folks out there must have similar setups.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Could someone please show us how to get the masquerade
|
|
feature working again?
|
|
</STRONG></P>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Ben]
|
|
Well, you <EM>could</EM> look at my article in issue 58, called
|
|
"<a href="../../issue58/okopnik2.html">Configuring
|
|
Sendmail in RedHat 6.2</a>"; this might be a bit more up to date, and tells
|
|
you how to do masquerading. Given the situation that you're in, though, you
|
|
might want to try installing "masqmail" - all the features you need in
|
|
your situation, made to work well with a masquerading setup, works with
|
|
multiple ISPs, and it is <EM>much</EM> less complex than "sendmail".
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
If you set it up and it does what you need, you owe the Oracle an article
|
|
on your experience. <grin> Just kidding. Hope this helps.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Heather] Actually, we really could use the article
|
|
<IMG SRC="../../gx/dennis/smily.gif" ALT=":)"
|
|
height="24" width="20" align="bottom"> I've tried masqmail
|
|
and it looked okay, but, its minimal documentation seems to assume that
|
|
you'll be using masqdialer to drive your dialup connection. I never quite
|
|
got around to spending the time to make it deal with changing, but non-dialed
|
|
connections (such as laptops often encounter). A little AnswerGang message
|
|
or even article about your experience setting it up properly without that
|
|
assumption, would be really handy. Alternatively, now you also know about
|
|
masqdial too, and it may make dialing into your ISPs easier.
|
|
</BLOCKQUOTE>
|
|
|
|
<!-- end 11 -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr> </p>
|
|
<!-- *** BEGIN copyright *** -->
|
|
<H5 align="center">This page edited and maintained by the Editors
|
|
of <I>Linux Gazette</I>
|
|
<a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 2001
|
|
<BR>Published in issue 65 of <I>Linux Gazette</I> April 2001</H5>
|
|
<H6 ALIGN="center">HTML script maintained by
|
|
<A HREF="mailto:star@starshine.org">Heather Stern</a> of
|
|
Starshine Technical Services,
|
|
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H6>
|
|
<!-- *** END copyright *** -->
|
|
<P> <hr>
|
|
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<p align="center">
|
|
<table width="100%" border="0"><tr>
|
|
<td align="right" valign="center"
|
|
><IMG ALT="" SRC="../../gx/navbar/left.jpg"
|
|
WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0"
|
|
><A HREF="..//"
|
|
><IMG SRC="../../gx/navbar/toc.jpg" align="middle"
|
|
ALT="[ Table Of Contents ]" border="0"></A
|
|
><A HREF="../lg_answer65.html"
|
|
><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
|
|
ALT="[ Answer Guy Current Index ]" border="0"></A></td>
|
|
<td align="center" valign="center"><A HREF="../lg_answer65.html#greeting"><img align="middle"
|
|
src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A>
|
|
<A HREF="1.html">1</A>
|
|
<A HREF="2.html">2</A>
|
|
<A HREF="3.html">3</A>
|
|
<A HREF="4.html">4</A>
|
|
<A HREF="5.html">5</A>
|
|
<A HREF="6.html">6</A>
|
|
<A HREF="7.html">7</A>
|
|
<A HREF="8.html">8</A>
|
|
<A HREF="9.html">9</A>
|
|
<A HREF="10.html">10</A>
|
|
<A HREF="11.html">11</A>
|
|
<A HREF="12.html">12</A>
|
|
<A HREF="13.html">13</A>
|
|
<A HREF="14.html">14</A>
|
|
<A HREF="15.html">15</A>
|
|
<A HREF="16.html">16</A>
|
|
<A HREF="17.html">17</A>
|
|
<A HREF="18.html">18</A>
|
|
<A HREF="19.html">19</A>
|
|
<A HREF="20.html">20</A>
|
|
<A HREF="21.html">21</A>
|
|
<A HREF="22.html">22</A>
|
|
<A HREF="23.html">23</A>
|
|
<A HREF="24.html">24</A>
|
|
<A HREF="25.html">25</A>
|
|
<A HREF="26.html">26</A>
|
|
<A HREF="27.html">27</A>
|
|
<A HREF="28.html">28</A>
|
|
<A HREF="29.html">29</A></td>
|
|
<td align="left" valign="center"><A HREF="../../tag/kb.html"
|
|
><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
|
|
ALT="[ Index of Past Answers ]" border="0"></A
|
|
><IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
|
|
WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
|
|
</p>
|
|
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<P> <hr>
|
|
<CENTER>
|
|
<!-- *** BEGIN navbar *** -->
|
|
<!-- *** END navbar *** -->
|
|
</CENTER>
|
|
</p>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|