Displaying 3 results from an estimated 3 matches for "rawlog_open".
2005 Mar 11
3
IP in rawlog
Hi,
i'm using dovecot with rawlog enabled. Well, i need to log the IP of the
user, too. Could you give me a hint, how this can be implemented?
Thanks and regards,
Andreas Goertz.
2006 Jun 22
1
Patch for rawlog.c
...log.c 2006-06-23 08:37:57.684368256 +0200
@@ -21,6 +21,7 @@
#define TIMESTAMP_WAIT_TIME 5
#define TIMESTAMP_FORMAT "* OK [RAWLOG TIMESTAMP] %Y-%m-%d %H:%M:%S\n"
+#define RAWLOG_DIRNAME "./dovecot.rawlog"
static struct ioloop *ioloop;
@@ -261,20 +262,14 @@
static void rawlog_open(bool write_timestamps)
{
- const char *home, *path;
struct stat st;
int sfd[2];
pid_t pid;
- home = getenv("HOME");
- if (home == NULL)
- home = ".";
-
/* see if we want rawlog */
- path = t_strconcat(home,...
2011 Apr 10
1
Segfaul probably during dsync
.../run/dovecot/postlogin"
username = 0x0
c = <value optimized out>
set_roots = {0x41c680, 0x0}
Logfile:
Apr 10 13:49:34 shrike dovecot: imap-login: Login: user=<matthias>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14235, secured
Apr 10 13:49:34 shrike dovecot: (null)Error: rawlog_open: open() failed
for /home/matthias/dovecot.rawlog/20110410-134934-14237.in: Permission
denied
Apr 10 13:49:43 shrike dovecot: imap(matthias): Panic: file
index-search-result.c: line 87 (search_result_update_search): assertion
failed: (next_uid == mail->uid)
Apr 10 13:49:43 shrike dovecot: imap(ma...