On Thu, 2005-03-31 at 14:33 +0100, Paul Gardiner wrote:
Hi, My /var/log/mail file is full of imap messages, which is about the one thing in there that I'm not interested in. How can I tell syslog to ignore them. Apparently changing the config of the imap server requires a recompile which I'd like to avoid.
Don't know about the config but you can delete the imap entries from your current messages file by doing: cd /var/log;cat messages|grep -v imap>tmp;mv tmp messages;rcsyslog reload The "-v" tells grep to ignore any lines that have imap in it, use the string that is appropriate for you. I use this occasionally to reduce the size of my messages file. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge