MLUG: Re: [UUG/MLUG] Hacking sendmail for home system over dial-up
Re: [UUG/MLUG] Hacking sendmail for home system over dial-up
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
set your DM macro or use MASQUERADE_AS m4 macro in your macro file.

# who I masquerade as (null for no masquerading) (see also $=M)
DMtranquility.net

paul

Rich Tollerton;; (EMAIL:PROTECTED) wrote:
> I suppose others have solved this problem here, so I'll ask it here. I
> don't have a copy of the sendmail book on hand right now, and I probably
> won't on campus for a couple days to get it from somebody else, or else I
> probably would figure this out myself :)
> 
>   I've started using mutt as my email client on my home Linux box. Really
> fast, clean design, great PGP integration, no SMTP support to send mail to
> another host (grr) like Pine has. Thus mutt will use sendmail (on the
> same system) to send mail instead of using my ISP's sendmail. 
> 
>   Now, the hostname on this system (tres.tranquility.net) doesn't exist,
> so 99% of the remote mail servers on the Internet won't accept mail from
> my server. (Oddly, Tranquility's server DOES accept my mail, although
> that's not really relevant to the problem.) So if mutt will only use a
> local sendmail, and that sendmail must connect directly to Internet mail
> servers, then that sendmail must also forge a hostname. If I force the
> hostname to tranquility.net (Dj variable in sendmail.cf), all Internet
> servers will accept my mail OK.  But if I try to send mail to another
> Tranquility account, sendmail thinks I'm sending the message to a user on
> this same home computer, can't find that user, and complains loudly. So
> forcing sendmail's hostname doesn't work. I suppose relaying all the mail
> from this computer's sendmail to Tranquility's sendmail would work, but I
> really don't know how to do that (like I said, no book). Haven't looked at
> other MTAs yet. 
> 
> In short, if my sendmail is to actually deliver my mail, this is what has
> to happen to the (perceived) hostname given to other sites:
> Mail to localhost and Tranquility: Hostname stays the same
>          (tres.tranquility.net)
> Mail to the rest of the Internet: Hostname is changed (tranquility.net)
> 
> Headers that have invalid addresses are not an issue, they can be forged
> in mutt, although it would be great if sendmail could handle conversion on
> the fly (EMAIL:PROTECTED -> EMAIL:PROTECTED).
> 
> I'd appreciate it if somebody else knows how to make sendmail act like
> this, and I suppose others would too (I know using mutt on dial-up can't
> be an isolated case...) 
> 
> ___
> Rich Tollerton
> EMAIL:PROTECTED
> EMAIL:PROTECTED
> EMAIL:PROTECTED