[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to get send mail without localhost.localdomain

On Saturday 28 March 2009 22:38:14 Arthur Pemberton wrote:
> 2009/3/28 Ed Greshko <Ed Greshko 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 example com instead of root 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 

MailFrom = Logwatch
MailTo = root

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

New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase

Attachment: signature.asc
Description: This is a digitally signed message part.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]