Help nleeded with messy sendmail setup
chowse at charter.net
Thu Oct 16 09:50:48 PDT 2003
[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
I only have need for *local* command-line mail on each.
I have "sendmail_enable="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
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.
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 at howse.homeunix.net]" rather than [root at curly.howse.homeunix.net].
I need to fix that.
I'd really like to get *ALL* this straightened out like it should be.
KEY POINT!!! ==> I'd prefer to leave the hostname as "curly".
What has to be done?
Got a computer with idle CPU time?
Join SETI at home and help make history!
More information about the freebsd-questions