From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 09:50:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADC3816A4B3 for ; Thu, 16 Oct 2003 09:50:48 -0700 (PDT) Received: from remt25.cluster1.charter.net (remt25.cluster1.charter.net [209.225.8.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B93643FB1 for ; Thu, 16 Oct 2003 09:50:47 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt25.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 521686 for questions@freebsd.org; Thu, 16 Oct 2003 12:50:46 -0400 From: "Charles Howse" To: Date: Thu, 16 Oct 2003 11:50:38 -0500 Message-ID: <000b01c39405$a1154960$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Help nleeded with messy sendmail setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 16:50:48 -0000 Hi, [I've read this several times before I posted, It's really confusing...even to me...sorry. Sendmail just kicks my butt every time I need to configure it.] I may have brought this up before, but I just can't seem to find an acceptable answer anywhere. I have a home network, with 2 FreeBSD 4.8-RELEASE-p13 machines: curly and larry. I only have need for *local* command-line mail on each. I have "sendmail_enable=3D"NO" in etc/rc.conf. I also have 2 WinXP Pro machines: moe and shemp. I run httpd and vsftpd on curly. In order to access the www and ftp servers from anywhere, I created an account on http://www.dyndns.org called "howse.homeunix.net". I run ddclient to update any changes in my dynamic IP address to dyndns.org. So www requests for http://howse.homeunix.net are bounced off the dyndns.org dns server and routed to port 80 on curly. I have edited curly's /etc/mail/aliases and told it to send all mail addressed to "root" to "charles", who also has an account on curly. I want to log into curly and larry from moe via MS Outlook as user "charles" to get the daily reports. If I set my hostname on curly to "curly" in /etc/rc.conf, sendmail fusses and times out trying to resolve it's hostname. My solution was to set the hostname to "curly.howse.homeunix.net". Probably not a good idea for a variety of reasons. Then, suddenly, no mail was being delivered to "charles". I found out that I needed to create and edit /etc/mail/relay-domains and local-host-names, because I was relaying through "howse.homeunix.net" and it was refusing the connection. I placed "howse.homeunix.net" in each file. =20 I also changed the 127.0.0.1 line in /etc/hosts from "localhost.howse.homeunix.net localhost" to just "localhost". That may not have changed anything...I'm not sure. Mail works now, except the mail I get comes from "Charlie Root [root@howse.homeunix.net]" rather than [root@curly.howse.homeunix.net]. I need to fix that. I'd really like to get *ALL* this straightened out like it should be. =20 KEY POINT!!! =3D=3D> I'd prefer to leave the hostname as "curly". What has to be done? Thanks, Charles Got a computer with idle CPU time? Join SETI@home and help make history! http://setiathome.ssl.berkeley.edu/