Date: Thu, 16 Oct 2003 11:50:38 -0500 From: "Charles Howse" <chowse@charter.net> To: <questions@freebsd.org> Subject: Help nleeded with messy sendmail setup Message-ID: <000b01c39405$a1154960$04fea8c0@moe>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c39405$a1154960$04fea8c0>