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

Re: automate maildelivery



On Wed, Oct 31, 2001 at 02:31:42PM +0100, proftpd wrote:
> Hi,
> 
> I would like to have my linuxbox sending me the /var/log/messages file on a
> regular bases.
> 
> Creating the syslog correct is not the problem, neither to run cron.
> But how do i produce the mail including the attachment?
> 
cat /var/log/messages | mail me@somewhere.com

This is not as an attachement, but very similar.

Also look at the package mime-construct if you want to send attachments.

Pete



Reply to: