Displaying 2 results from an estimated 2 matches for "compressed_log_fil".
Did you mean:
compressed_log_file
2006 Dec 30
1
logrotate: how to email logs with mutt?
...server via yum.
The man page says that the default mail command is /bin/mail -s, but
there is no such binary on Centos.
I do have mutt installed, however, so I would like to use it. Ideally,
I would like to have logrotate send logs with mutt as attachments like
this:
mutt me at home.account -a compressed_log_file -s "here are your log files"
ie send the log as attachment, not email body. But the logrotate man page says:
--mail <command>
Tells logrotate which command to use when mailing
logs. This command should accept two arguments: 1) the
subject of the message, and 2)...
2006 Dec 30
0
RE: CentOS Digest, Vol 23, Issue 30
...server via yum.
The man page says that the default mail command is /bin/mail -s, but
there is no such binary on Centos.
I do have mutt installed, however, so I would like to use it. Ideally,
I would like to have logrotate send logs with mutt as attachments like
this:
mutt me at home.account -a compressed_log_file -s "here are your log files"
ie send the log as attachment, not email body. But the logrotate man page says:
--mail <command>
Tells logrotate which command to use when mailing
logs. This command should accept two arguments: 1) the
subject of the message, and 2)...