How to get send mail without localhost.localdomain

Anne Wilson annew at kde.org
Sat Mar 28 22:46:46 UTC 2009


On Saturday 28 March 2009 22:38:14 Arthur Pemberton wrote:
> 2009/3/28 Ed Greshko <Ed.Greshko at greshko.com>:
> > Arthur Pemberton wrote:
> >> I put a .forward in /root so that I can receive logwatch emails from
> >> my desktop. But against everything I have tried, I can't get sendmail
> >> to use root at example.com instead of root at localhost.localdomain
> >>
> >> I don't want to stick example.com in to /etc/hosts as it will mess
> >> with other things (the workstation is not example.com, but
> >> workstation.example.com)
> >
> > Is there any reason for not using "MailTo" in /etc/log.d/logwatch.conf ?
>
> I suppose the only reason would be so as to not miss any other mail for
> root.
>
> I am more concerned about the From address than the mailto though.
>
I've already told you how to get all root's mail.  Then logwatch.conf simply 
has

MailFrom = Logwatch
and
MailTo = root

I then get a mail with the subject 'Logwatch for aa1 (Linux)' addressed to 
root, but it comes into my mailbox.

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090328/9f92f824/attachment-0001.sig>


More information about the fedora-list mailing list