Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by Tom Bailey (not registered) on Mon, 2009-03-30 22:35.

As with others here, thanks. I'm using Debian 5.0 but it runs the same.

Note that is you are using rsyslog you'll need to comment out the mail.log reference in /etc/logrotate.d/rsyslog or you'll get a duplicate log reference error when logrotate attempts to execute. If you don't notice it for a couple days it could be a real bitch as it prevents logrotate from running.

Snip from /etc/logrotate.d/rsyslog:

...
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
#/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
...
Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.