On Thu, Sep 19, 2002 at 10:03:19AM +0200, Stephan Schmieder wrote: > Hello! > > I'm trying to configure logrotate, > that is emails me the rotate logfiles. > This works fine, but the logs reside in the body part of the mail > > I want them as attachment. > What do I need to do? >
I don't have a good answer for you, but I find it a good question, and I am interested in any answer someone might have. What I have considered doing, but have not yet done, is make a script, and to have the logs send via /etc/aliases on the local machine through this script. For example, have an aliases called "mimelog" on localhost, and email logs to "mimelog". then, have a line for "mimelog" in /etc/aliases that processes the log there before sending it on to somewhere else. I had to turn off logrotate's compression option for my logs because the compressed logs don't survive being sent over email well. this means that the old logs that remain on my system are taking much more space than the need to. --Joe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]