config for /etc/hosts ? (smtp not working)
Good day all,
I've spent quite a bit of time trying to get outgoing mail working so I can have logs emailed to me since this particular Linux box (NSLU2 slug, Debian Etch) is not normally accessed unless there is a problem. (The slug uploads my weather: weather.janeandjohn.org)
Only needing a very simple & basic application for outgoing mail, I installed ssmtp and configured the mail hub. Never could get it to connect and actually send.
Since the Linux box is on my local lan with a 192xx IP address and doesn't have a fully qualified domain name, I set the host name in /etc/hosts to wx-slug.home.net since I think I remembered reading somewhere it really needs a domain name, bogus or not.
Bottom line is I don't know why ssmtp didn't work, my only suspicion at this point is the host name, although I suppose the issue could be almost anything else.
If anybody has mail actually working (all I care about is smtp) on a local box, I'd love to know how you set it up and your host name, etc.
Thanks - John