Hi,
 
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.*
 
thanks,
--
giannis.
----- Original Message -----
From: Timo Sirainen
To: Dovecot Mailing List
Sent: Monday, January 22, 2007 1:34 PM
Subject: Re: [Dovecot] Logging

On Mon, 2007-01-22 at 13:02 +0200, Ioannis Zachariadis wrote:
> Hi,

> I've tested it with syslog_facility=mail uncommented and I had the
> results I wrote in the previous mail. I've also tested it with
> syslog_facility commented and log_path and info_log_path in the
> same logfile. The results were the same.
 
You mean even if you set log_path and info_log_path to point to files,
they're not used? Then it sounds like deliver isn't even reading that
config file, or there's something else weird going on. Try with deliver
-c /etc/dovecot.conf
 
Also you could try this patch:
http://dovecot.org/list/dovecot-cvs/2007-January/007476.html
 
And then set "syslog_facility = mail" and see if it changes anything.
 
You don't have multiple syslog_facility settings in dovecot.conf, right?