RE: Logwatch report on another machine?

2008-06-06 Thread Ric Moore
On Thu, 2008-06-05 at 15:17 +0200, KAPTURKIEWICZ Patrick wrote: The Dept of Agriculture in Texas used it to monitor hundreds of machines on their intranet. It was free, very basic, and it worked like a charm. For the life of me, I cannot remember the name of it, for the life of me. But,

Re: Logwatch report on another machine?

2008-06-05 Thread Anne Wilson
On Wednesday 04 June 2008 23:20:39 Timothy Murphy wrote: I'm actually running a dovecot/IMAP server on the machine, alfred, that I want the email sent to. I read my email on my laptops from this server. This works beautifully. If you changed to postfix-sendmail I could tell you exactly how to

Re: Logwatch report on another machine?

2008-06-05 Thread Timothy Murphy
Dave Burns wrote: OP seems to have two problems: 1) sendmail is not configured correctly, email sent by cron jobs is not delivered. 2) He would like to send mail to an address which is broken, either the domain doers not exist or DNS not working right? Could it be that his machine has the

Re: Logwatch report on another machine?

2008-06-05 Thread Timothy Murphy
Tim wrote: Maybe I shouldn't define(`SMART_HOST', `smtp.eircom.net')dnl If you have a properly set up local DNS and mail system, then your internal mail will be handled all internally, and mail that goes to outside addresses will be relayed from your SMTP server to the ISP's.

Re: Logwatch report on another machine?

2008-06-05 Thread Tim
Tim: If you have a properly set up local DNS and mail system, then your internal mail will be handled all internally, and mail that goes to outside addresses will be relayed from your SMTP server to the ISP's. That's the smart part about it - it working out what's internal or external, and

Re: Logwatch report on another machine?

2008-06-05 Thread Les Mikesell
Timothy Murphy wrote: Sendmail should fall back to A records if no MX exists, and it should accept any names you've added to /etc/mail/local-host-names (requires a sendmail restart) as local regardless of what DNS says. If you want network-local mail delivered to some other machine you can

Re: Logwatch report on another machine?

2008-06-05 Thread Patrick O'Callaghan
On Thu, 2008-06-05 at 13:52 +0100, Timothy Murphy wrote: I think that is exactly my problem - sendmail is not distinguishing properly between internal and external mail. This is usual with MTAs. Their world view distinguishes pretty much between mail I am accepting for my input queue, to be

Re: Logwatch report on another machine?

2008-06-05 Thread Timothy Murphy
Steven Tardy wrote: It seems to be more difficult than I thought to send email from one machine on a LAN to another. echo alfred.gayleard.com esmtp:[192.168.2.1] /etc/mail/mailertable /etc/init.d/sendmail restart Thanks very much. That certainly changed things. According to

Re: Logwatch report on another machine?

2008-06-05 Thread Steven Tardy
Timothy Murphy wrote: Steven Tardy wrote: It seems to be more difficult than I thought to send email from one machine on a LAN to another. echo alfred.gayleard.com esmtp:[192.168.2.1] /etc/mail/mailertable /etc/init.d/sendmail restart Thanks very much. That certainly changed things.

Re: Logwatch report on another machine?

2008-06-05 Thread Timothy Murphy
Steven Tardy wrote: echo alfred.gayleard.com esmtp:[192.168.2.1] /etc/mail/mailertable /etc/init.d/sendmail restart Thanks very much. That certainly changed things. According to /var/log/maillog on helen the email was sent without involving my ISP:

Re: Logwatch report on another machine?

2008-06-05 Thread Kayvan A. Sylvan
On Thu, Jun 05, 2008 at 07:29:20PM +0100, Timothy Murphy wrote: No, the IP address of alfred is 192.168.2.1 , as it says in /etc/mail/mailertable on helen: alfred.gayleard.com esmtp:[192.168.2.1] Thanks for your help. I'll pursue the missing message - I should be able to work out

RE: Logwatch report on another machine?

2008-06-04 Thread Frederick William New
On 4. juuni 2008. a. 2:56, Timothy Murphy wrote How can I get the logwatch report on one machine (helen.gayleard.com) sent to another machine (alfred.gayleard.com) on the same LAN? I tried editing /etc/aliases on the first machine, changing the last line to root: [EMAIL

Re: Logwatch report on another machine?

2008-06-04 Thread Anne Wilson
On Wednesday 04 June 2008 19:35:31 Dave Burns wrote: OP seems to have two problems: 1) sendmail is not configured correctly, email sent by cron jobs is not delivered. 2) He would like to send mail to an address which is broken, either the domain doers not exist or DNS not working right?

Re: Logwatch report on another machine?

2008-06-04 Thread Timothy Murphy
Craig White wrote: Speaking of which, you could try changing the mailto field in /etc/logwatch/conf/logwatch.conf. This file was empty (except for a comment line) on my Fedora-9 system. But I've added --- MailTo = [EMAIL PROTECTED] MailFrom = Logwatch

Re: Logwatch report on another machine?

2008-06-04 Thread Craig White
On Wed, 2008-06-04 at 19:52 +0100, Timothy Murphy wrote: Craig White wrote: Speaking of which, you could try changing the mailto field in /etc/logwatch/conf/logwatch.conf. This file was empty (except for a comment line) on my Fedora-9 system. But I've added

Re: Logwatch report on another machine?

2008-06-04 Thread Dave Burns
On Wed, Jun 4, 2008 at 8:52 AM, Timothy Murphy [EMAIL PROTECTED] wrote: I realize that these names are not known to the real world. But I imagine that there must be some way of sending email from one machine on a LAN to another I can think of four ways, there could be more: * use 'real' DNS *

Re: Logwatch report on another machine?

2008-06-04 Thread Craig White
On Wed, 2008-06-04 at 09:05 -1000, Dave Burns wrote: On Wed, Jun 4, 2008 at 8:52 AM, Timothy Murphy [EMAIL PROTECTED] wrote: I realize that these names are not known to the real world. But I imagine that there must be some way of sending email from one machine on a LAN to another I can

Re: Logwatch report on another machine?

2008-06-04 Thread Timothy Murphy
g wrote: also curious if you have considered either a cron to copy files over your own lan to like '/var/log/lan.new/*.timestamp'. another cron or what ever to kick them into logwatch. read about it in one of my networking books. said to be easier and better. have not had need to try.

RE: Logwatch report on another machine?

2008-06-04 Thread Timothy Murphy
Frederick William New wrote: How can I get the logwatch report on one machine (helen.gayleard.com) sent to another machine (alfred.gayleard.com) on the same LAN? It seems to be more difficult than I thought to send email from one machine on a LAN to another. Is there some line I could add

RE: Logwatch report on another machine?

2008-06-04 Thread Craig White
On Wed, 2008-06-04 at 20:33 +0100, Timothy Murphy wrote: Frederick William New wrote: How can I get the logwatch report on one machine (helen.gayleard.com) sent to another machine (alfred.gayleard.com) on the same LAN? It seems to be more difficult than I thought to send email from

Re: Logwatch report on another machine?

2008-06-04 Thread Les Mikesell
Craig White wrote: On Wed, 2008-06-04 at 20:33 +0100, Timothy Murphy wrote: Frederick William New wrote: How can I get the logwatch report on one machine (helen.gayleard.com) sent to another machine (alfred.gayleard.com) on the same LAN? It seems to be more difficult than I thought to send

Re: Logwatch report on another machine?

2008-06-04 Thread Timothy Murphy
Dave Burns wrote: OP seems to have two problems: 1) sendmail is not configured correctly, email sent by cron jobs is not delivered. 2) He would like to send mail to an address which is broken, either the domain doers not exist or DNS not working right? Could it be that his machine has the

Re: Logwatch report on another machine?

2008-06-04 Thread Timothy Murphy
Dave Burns wrote: I realize that these names are not known to the real world. But I imagine that there must be some way of sending email from one machine on a LAN to another I can think of four ways, there could be more: * use 'real' DNS * make your own DNS server locally * put name in

Re: Logwatch report on another machine?

2008-06-04 Thread Timothy Murphy
Craig White wrote: /etc/hosts is easy, but will break whenever the IP numbers change. unless I am missing something here, mail will still not work because it will still query for a MX record for the domain and thus /etc/hosts is not suitable for mail handling But does sendmail always

Re: Logwatch report on another machine?

2008-06-04 Thread Timothy Murphy
Les Mikesell wrote: Sendmail should fall back to A records if no MX exists, and it should accept any names you've added to /etc/mail/local-host-names (requires a sendmail restart) as local regardless of what DNS says. If you want network-local mail delivered to some other machine you can

Re: Logwatch report on another machine?

2008-06-04 Thread Dave Burns
On Wed, Jun 4, 2008 at 11:40 AM, Timothy Murphy [EMAIL PROTECTED] wrote: Dave Burns wrote: OP seems to have two problems: 1) sendmail is not configured correctly, email sent by cron jobs is not delivered. 2) He would like to send mail to an address which is broken, either the domain doers

Re: Logwatch report on another machine?

2008-06-04 Thread Aldo Foot
On Tue, Jun 3, 2008 at 4:56 PM, Timothy Murphy [EMAIL PROTECTED] wrote: How can I get the logwatch report on one machine (helen.gayleard.com) sent to another machine (alfred.gayleard.com) on the same LAN? I tried editing /etc/aliases on the first machine, changing the last line to

Re: Logwatch report on another machine?

2008-06-04 Thread Tim
On Wed, 2008-06-04 at 23:07 +0100, Timothy Murphy wrote: Maybe I shouldn't define(`SMART_HOST', `smtp.eircom.net')dnl If you have a properly set up local DNS and mail system, then your internal mail will be handled all internally, and mail that goes to outside addresses will be relayed

Re: Logwatch report on another machine?

2008-06-03 Thread Nicolae Ghimbovschi
Fedora uses syslogd to provide a syslog service. The default configuration of syslogd rejects messages from remote systems. To configure a Fedora system to accept log messages from other systems on the network, edit the file /etc/sysconfig/syslog. You must use root privileges to edit the file

Re: Logwatch report on another machine?

2008-06-03 Thread Craig White
On Wed, 2008-06-04 at 02:54 +0100, Timothy Murphy wrote: Dave Burns wrote: How can I get the logwatch report on one machine (helen.gayleard.com) sent to another machine (alfred.gayleard.com) on the same LAN? I tried editing /etc/aliases on the first machine, changing the last line to