Re: Can sendmail do this?

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

 



Am So, den 20.03.2005 schrieb P Jones um 22:05:

> I'd like to have a remote FC1 machine email me every day with the
> logwatch email. This would serve two purposes, first, obviously, I'd
> be able to read the logwatch report without logging into the remote
> server, but more importantly, the server is on a dynamic IP DSL line,
> and since ssh is how I log in, I need to know what the IP is, and it
> would come in the email's headers (I think).
> 
> Also, are there any security issues with sending the email? Is there a
> better way to do what I'd like to do?

> -P

On the dynamic IP server edit /etc/mail/sendmail.mc and set the
SMART_HOST" to the ISP's MTA and restart sendmail. In /etc/aliases set
the root alias and run newaliases.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 22:14:55 up 3 days, 20:11, load average: 0.17, 0.32, 0.41 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux