[Dovecot] [PATCH] Clarify rawlog example
# HG changeset patch # User matthijs@stdin.nl # Date 1240845142 -7200 # Branch HEAD # Node ID 19f4b6167b426c36b7b3b38db4397f2723dc75c2 # Parent c8de2237478fc01ee46e6ec8cda41e8d3cecb68c Clarify rawlog example. diff -r c8de2237478f -r 19f4b6167b42 dovecot-example.conf --- a/dovecot-example.conf Thu Apr 23 12:01:40 2009 -0400 +++ b/dovecot-example.conf Mon Apr 27 17:12:22 2009 +0200 @@ -543,6 +543,9 @@ # # This would write rawlogs into ~/dovecot.rawlog/ directory: # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap + # Note that this writes into the homedir of the logged in user and will only + # work if the ~/dovecot.rawlog directory already exists. + # <doc/wiki/Debugging/Rawlog> # # This would attach gdb into the imap process and write backtraces into # /tmp/gdbhelper.* files:
On Mon, 2009-04-27 at 18:21 +0200, Matthijs Kooijman wrote:
# This would write rawlogs into ~/dovecot.rawlog/ directory: # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
- # Note that this writes into the homedir of the logged in user and will only
- # work if the ~/dovecot.rawlog directory already exists.
- # <doc/wiki/Debugging/Rawlog>
I'm trying to shorten the dovecot-example.conf nowadays, which can't really be done by adding more lines :) But yes, the wiki link is definitely useful. I also changed the first line to be a bit better: http://hg.dovecot.org/dovecot-1.2/rev/37c0111961f5
Timo Sirainen schrieb:
On Mon, 2009-04-27 at 18:21 +0200, Matthijs Kooijman wrote:
# This would write rawlogs into ~/dovecot.rawlog/ directory: # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
- # Note that this writes into the homedir of the logged in user and will only
- # work if the ~/dovecot.rawlog directory already exists.
- # <doc/wiki/Debugging/Rawlog>
I'm trying to shorten the dovecot-example.conf nowadays, which can't really be done by adding more lines :) But yes, the wiki link is definitely useful. I also changed the first line to be a bit better: http://hg.dovecot.org/dovecot-1.2/rev/37c0111961f5
Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Wed, 2009-04-29 at 20:22 +0200, Robert Schetterer wrote:
Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working
There is always only one reason: dovecot.rawlog directory doesn't exist in user's home directory. You could set mail_debug=yes and Dovecot logs the home directory. Make sure it's correct.
Timo Sirainen schrieb:
On Wed, 2009-04-29 at 20:22 +0200, Robert Schetterer wrote:
Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working
There is always only one reason: dovecot.rawlog directory doesn't exist in user's home directory. You could set mail_debug=yes and Dovecot logs the home directory. Make sure it's correct.
Timo, i checked it ten times, all is corect, and it stopped working directly with update, so i might broken something with merging debian versions but how should i find i bug if there is no verbose log to it, if ill found that something might be complet broken now with dovecot then i have to reinstall the testserver
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Wed, 2009-04-29 at 20:40 +0200, Robert Schetterer wrote:
Timo Sirainen schrieb:
On Wed, 2009-04-29 at 20:22 +0200, Robert Schetterer wrote:
Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working
There is always only one reason: dovecot.rawlog directory doesn't exist in user's home directory. You could set mail_debug=yes and Dovecot logs the home directory. Make sure it's correct.
Timo, i checked it ten times, all is corect, and it stopped working directly with update, so i might broken something with merging debian versions but how should i find i bug if there is no verbose log to it, if ill found that something might be complet broken now with dovecot then i have to reinstall the testserver
Timo Sirainen schrieb:
On Wed, 2009-04-29 at 20:40 +0200, Robert Schetterer wrote:
Timo Sirainen schrieb:
Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working There is always only one reason: dovecot.rawlog directory doesn't exist in user's home directory. You could set mail_debug=yes and Dovecot logs
On Wed, 2009-04-29 at 20:22 +0200, Robert Schetterer wrote: the home directory. Make sure it's correct.
Timo, i checked it ten times, all is corect, and it stopped working directly with update, so i might broken something with merging debian versions but how should i find i bug if there is no verbose log to it, if ill found that something might be complet broken now with dovecot then i have to reinstall the testserver
wow....
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Hi Robert,
Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working I've succesfully used rawlog with dovecot 1.2 (r8980), so it is not broken in 1.2 in general. Probably something with your specific setup then. Perhaps a permission problem?
Gr.
Matthijs
Matthijs Kooijman schrieb:
Hi Robert,
Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working I've succesfully used rawlog with dovecot 1.2 (r8980), so it is not broken in 1.2 in general. Probably something with your specific setup then. Perhaps a permission problem? cant find any problem, i might will find after update with timos patch and have more verbose log
Gr.
Matthijs
Hi Timo,
I'm trying to shorten the dovecot-example.conf nowadays, which can't really be done by adding more lines :) But yes, the wiki link is definitely useful. I also changed the first line to be a bit better: http://hg.dovecot.org/dovecot-1.2/rev/37c0111961f5 I have the feeling that this is slightly contradictory. I agree that the example config should be concise, but perhaps the MainConfig wiki page should not be so short, since it is the main reference about how config options work. On the other hand, this is not directly related to the configuration variable, so linking the wiki should work just fine.
Thanks for the commit!
Gr.
Matthijs
participants (3)
-
Matthijs Kooijman
-
Robert Schetterer
-
Timo Sirainen