--with-rawlog Build support for logging user traffic
When Dovecot is compiled with this option and user's home directory
-contains rawlog directory, all IMAP connections are logged into
+contains dovecot.rawlog directory, all IMAP connections are logged into
timstamp-pid.in and .out files. This is mostly useful for debugging.
--enable-debug Enable some extra checks for debugging
home = ".";
/* see if we want rawlog */
- path = t_strconcat(home, "/rawlog", NULL);
+ path = t_strconcat(home, "/dovecot.rawlog", NULL);
if (stat(path, &st) < 0) {
if (errno != ENOENT)
i_warning("stat() failed for %s: %m", path);