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]
On Fri, 8 Jan 1999, Paul Saab wrote:

> What you are going to want to do is setup your sendmail config to
> relay email through tranquility.  A lot of mail servers are denying
> relaying and your sendmail is trying to deliver directly and trying
> to spoof a hostname.  Just setup sendmail to relay and you should
> be fine.

heh. I was wondering what types of logs you were getting :)

So far a simple relay command isn't working well. Basically all I'm adding
to my .mc file (built from redhat.mc) is this: 

define(`SMART_HOST', `www.tranquility.net.')

The default mailer is supposedly "relay", an SMTP variant, so I don't have
to say `smtp:www.tranquility.net.'.

My mail is indeed being relayed to www.tranquility.net now, and local
emails appear to be working ok (well, except that when I send mail locally
there is still some network action which I can't figure out. Maybe a DNS
lookup?). I can even send mail to my account at students. But emails to
showme still don't work. I haven't tried other servers yet.

Here's a sample message I sent:

<From EMAIL:PROTECTED  Fri Jan  8 16:22:24 1999
Return-Path: <EMAIL:PROTECTED>
Received: from tranq1.tranquility.net (tranq1.tranquility.net
[206.156.230.1])
        by students.missouri.edu (8.8.7/8.8.7) with ESMTP id QAA18092
        for <EMAIL:PROTECTED>; Fri, 8 Jan 1999 16:22:20 -0600
Received: from tres.tranquility.net (EMAIL:PROTECTED
[206.156.231.49])
        by tranq1.tranquility.net (8.8.8/8.8.8) with ESMTP id QAA25052
        for <EMAIL:PROTECTED>; Fri, 8 Jan 1999 16:18:10 -0600
(CST)
        (envelope-from EMAIL:PROTECTED)
Received: (from EMAIL:PROTECTED)
        by tres.tranquility.net (8.8.7/8.8.7) id QAA01077
        for EMAIL:PROTECTED; Fri, 8 Jan 1999 16:19:12 -0600
Date: Fri, 8 Jan 1999 16:19:12 -0600
From: EMAIL:PROTECTED
To: EMAIL:PROTECTED
Subject: test
Message-ID: <EMAIL:PROTECTED>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.1i

..

--
-- Rich


So the relay is visible and my fictitious hostname is still exposed.
Masquerading, hostname-spoofing and anything of that sort doesn't appear
to change that. Is there some other relay command that still sends local
mail locally? nullclient doesn't work, remember, because fetchmail uses
sendmail to send the local mail. I saw a snipped of info on a RELAY_HOST
in the sendmail docs but it didn't appear to work.

Oh yeah, to Jason Carroll: I had a reply to your message, but I wrote it
localy and sendmail broke before I could send it :)

> 
> also, have you tried setting 'set hidden_host' in your .muttrc?

I suppose this strips my hostname off of my addresses? No, I've preferred
to just spoof the address with a forged From: header. I've considered
using spoofing to seperate my mail (messages to the missouri.edu domain
use EMAIL:PROTECTED everywhere else would use EMAIL:PROTECTED) but I
suppose now that I could use Reply-To: just as easily. Thanks for the tip
(although it didn't help for the sendmail problems).

___
Rich Tollerton
EMAIL:PROTECTED
EMAIL:PROTECTED
EMAIL:PROTECTED