<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<META content="MSHTML 6.00.3790.2817" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>when I point the logs into a file, the file is
being used, and all the logs are being written fine. However, when I use the
syslog_facility (not multiple, and not the point to file method) I get messages
in syslog that are labeled as mail.info or mail.error. All these work fine, but
there are messages from deliver that are labeled user.info and user.error. I
just want to redirect all messages from dovecot and deliver to be labeled as
mail.* and not user.*</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thanks,<BR>--<BR>giannis.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tss@iki.fi href="mailto:tss@iki.fi">Timo Sirainen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dovecot@dovecot.org
href="mailto:dovecot@dovecot.org">Dovecot Mailing List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 22, 2007 1:34
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Dovecot] Logging</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><BR><FONT face=Arial size=2>On Mon, 2007-01-22 at
13:02 +0200, Ioannis Zachariadis wrote:<BR>> Hi,<BR>> <BR>>
I've tested it with syslog_facility=mail uncommented and I had the<BR>>
results I wrote in the previous mail. I've also tested it with<BR>>
syslog_facility commented and log_path and info_log_path in the<BR>> same
logfile. The results were the same.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You mean even if you set log_path and
info_log_path to point to files,<BR>they're not used? Then it sounds like
deliver isn't even reading that<BR>config file, or there's something else
weird going on. Try with deliver<BR>-c /etc/dovecot.conf</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also you could try this patch:<BR><A
href="http://dovecot.org/list/dovecot-cvs/2007-January/007476.html">http://dovecot.org/list/dovecot-cvs/2007-January/007476.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And then set "syslog_facility = mail" and see if
it changes anything.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You don't have multiple syslog_facility settings
in dovecot.conf, right?<BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>