changing the log file?

Raymond Sundland raymond at sundland.com
Wed Dec 7 10:37:16 EST 2005


Cyrus logs through syslog.  I would suggest doing a man syslog.conf, but a
quick example for a modification would be:

!imapd
*.*							/var/log/maillog

This would log anything from imapd to /var/log/maillog.  I typically like to
keep my cyrus logs in a different file from my SMTP logs, so I choose
/var/log/imap.log.



-----Original Message-----
From: info-cyrus-bounces at lists.andrew.cmu.edu
[mailto:info-cyrus-bounces at lists.andrew.cmu.edu] On Behalf Of Matt Singerman
Sent: Wednesday, December 07, 2005 9:54 AM
To: info-cyrus at lists.andrew.cmu.edu
Subject: changing the log file?

Hi all,

I am running Cyrus with Sendmail as the MTA on a FreeBSD 6.0 system. 
Currently, IMAP messages are being written to /var/log/messages.  I'd
prefer to have them be written to /var/log/maillog.  Is there an
option to change in Cyrus' configuration file to do this, or any other
way?

Thanks,

Matt
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html





More information about the Info-cyrus mailing list