Am Mi, den 15.02.2006 schrieb Rob Tanner um 17:53:

> Alexander,
> 
> One of my major reasons for building cyrus-imapd myself rather than with 
> an RPM is that the FC4 distro RPM version logs as the mail facility, and 
> I do not want both the MTA and cyrus-imapd logging to the same syslog

I too prefer to have different log facilities / files for MTA and
Cyrus-IMAPd.

> file.  Building from unmodified source, messages are logged using the 
> local6 facility.  Do you know if Simon's package has also been modified 
> like the FC4 distro?  I've not worked with source rpms and I'm not 

Very trivial to change that in the .spec file of Simon's SRC.RPM:

# used syslog facility for logging
%{!?SYSLOGFACILITY:     %define         SYSLOGFACILITY LOCAL6}

rpmbuild -ba --target x86_64 cyrus-imapd.spec

Easy and you have the software within the package manager after
installation as an RPM.

> comfortable trying to figure it out for myself.  Or even better, is 
> there an undocumented option (imapd.conf or cyrus.conf directive) to set 
> the facility -- I certainly couldn't find a reference in the man pages.

The syslog facility is a compile time setting only.

> Rob

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 18:15:19 up 5 days, 3:06, load average: 0.65, 0.97, 1.13 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

----
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

Reply via email to