mail confusion

Tim ignored_mailbox at yahoo.com.au
Sun Oct 30 12:39:02 UTC 2005


On Sun, 2005-10-30 at 03:31 -0600, Jay Moore wrote:
> I'm using smartd to monitor my HD, and want it to send an email message
> to another address if an error occirs. I've specified the non-local
> recipient in smartd.conf correctly. Problem is that when mail sends the
> message, it sends it as being from "root at localhost.localdomain" - which
> of course is rejected as invalid at the receiving host.
> 
> How do I get mail to use my *real* address?

I think you'll have to configure your sendmail (or equivalent) to
masquerade outgoing mail as being from a specific domain (a real one
that you own).  It'd still come from root, but at a real domain that'd
pass through most mail systems.

If you have your own domain, and your LAN makes use of it, why not
configure your LAN to use it as your domain name?  Then all local mail
would work.

-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list