Displaying 20 results from an estimated 536 matches for "rawlogs".
Did you mean:
rawlog
2006 Jun 22
1
Patch for rawlog.c
hello
The homedirectories are stored as a relative path in my userdb
One problem ocoures with rawlog:
rawloging occures only if a directory $HOME/dovecot.rawlog exist.
this is checked with lstat
for me $HOME is always "username/". This is relative to /var/mail and works.
in rawlog.c lstat should now check "username//dovecot.rawlog" which fails.
lstat can check
2009 Apr 27
2
[PATCH] Clarify rawlog example
...c2
# 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>
#...
2016 Dec 12
3
Dovecot 2.2.27 & windows 10 outlook (no auth attempts in 0 secs) error.
...rted appear in dovecot.rawlog. But
as win10 gives error in ssl level, before user authentication, then no
debug logs will be written into user dovecot.rawlog folder.
So how to debug this ssl issue?
Aki Tuomi wrote:
> https://wiki2.dovecot.org/Debugging/Rawlog
>
> can you try this to get rawlogs to find out what happens?
>
> Aki
I'm bit confused, how this rawlog works. I did:
doveadm user -u kaka
userdb: kaka
user : kaka
system_groups_user: kaka
uid : 566
gid : 566
home : /home/kaka
ls -al /home/kaka
total 16
drwx------ 4 kaka kaka...
2015 Mar 09
4
rawlog with -i not worked
Hello,
I have the rawlog enabled according to the
manual:http://wiki2.dovecot.org/Debugging/Rawlog
Without -i everything is wonderful, a coredump is with the -i parameter
created
****************************************
service imap-postlogin {
executable = script-login -d rawlog -i
user = vmail
}
****************************************
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012
2016 Dec 12
4
Dovecot 2.2.27 & windows 10 outlook (no auth attempts in 0 secs) error.
Aki Tuomi wrote:
>
> Can you do
>
> doveconf -a | grep auth_mech
>
auth_mechanisms = plain login
P.S. Seems this 2.2.24 is the last win10 compatible version (as my
testserver doesn't have win10 users and thunderbird works well), any
never version gives an error. However I didn't find any hint from
http://www.dovecot.org/list/dovecot-news/2016-July/000324.html etc.
--
2015 Apr 03
1
IMAP logging / rawlog
I am trying to monitor with Nagios that my phones are consistently checking into dovecot via IMAP. I used to be able to parse syslog for imap-login messages. I have since updated my phones, the phoness email client (k9-mail) and dovecot. Now the imap-login messages are few and far between. However, I can clearly see via tcpdump that some traffic is happening when I click refresh on k9. I enabled
2013 Nov 11
1
Enable Rawlog from userdb in Dovecot v2.2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
how do I enable Rawlog for one person only?
http://wiki2.dovecot.org/Debugging/Rawlog
describes how to enable the postlogin script for all users. Rawlog gets
active only, if the dovecot.rawlog directory exists. So far, it's working.
However. I suspect that there is some notable overhead in this chain, so I
tried to enable rawlog via
2007 Feb 09
1
Rawlogs in freebsd?
I am trying to enable rawlogs.
I made a directory /home/dovecot/dovecot.rawlog/, changed dovecot.conf to
have
mail_executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap
Made sure the /home/dovecot/dovecot.rawlog/ could be written to. Even made
it 1777 as a test.
Made sure the FreeBSD user databa...
2007 Mar 28
2
chroot and raw logging
I'm not sure if it's even intended to work in this particular
case, but there's a problem when chroot is explicitely defined
and rawlogging is used. Rawlog respects chroot point, without
being actually chrooted.
Consider configurtion as below, with two cases (dovecot.rawlog
dir is of course created earlier, with appropriate uid/gid).
1)
dovecot.userdb:
2006 Apr 20
2
dovecot.rawlog for imap-login
I'm trying to see what users are sending for login. I added the rawlog
binary in front of the imap-login in the config file. I'm not seeing
any rawlogs. I added the dovecot.rawlog in the dovecot user directory
(since that's what the imap-login process seems to run as) and it's
permission are wide open. Still nothing.
Help?
2013 Jun 02
2
rawlog without setting home in userdb
Hi all,
in my settup i decided to set mail_home in 10-mail.conf,
and let dovecot do the hashing to a 2-level directory structure.
mail_location = mdbox:~/mdbox:ALT=/altstorage/%h/mdbox
mail_home = /vmail/%1Mu/%2.1Mu/%u
In my userdb ist homedirectory not set and everythink works as expected,
except when i use rawlog i get only logs in ~/dovecot.rawlog if home is
set in userdb.
In wiki
2017 Aug 03
1
rawlog
...quired under max. load (50027)
> > # OS: Linux 3.10.0-327.4.4.el7.x86_64 x86_64 CentOS Linux release
> > 7.2.1511 (Core)
>
> Please, keep your systems up to date! At least your kernel is terribly
> out of date.
>
> Regards
>
> Alexander
Most common mistake with rawlogs is to assume that the target directory gets created. It doesn't.
You need to make sure the target directory exists fully expanded, e.g. if you have target directory /tmp/rawlogs/%u, you need to create /tmp/rawlogs/victim and chmod it to 0777.
Aki
2017 Nov 10
3
rawlog segfaults (error 4 in libdovecot.so.0.0.0)
Hello everybody,
i tried to debug imap sessions with the rawlog feature and rawlog
creates files but when i try to dump them doveadm tells me
[...] Error: zlib.read((file)): unexpected EOF at [...].
I looked at syslog files and i see, that rawlog gets
terminated with a segfault, e.g.:
segfault at 10 ip 00007ff6da362596 sp 00007fffe725a080 error 4 in
libdovecot.so.0.0.0[7ff6da2a4000+122000]
Is
2015 Mar 11
0
rawlog with -i not worked
When I change the option 'i' to the letter 'a' is everything as
designed. Why is 'i' at this location the problem?
********************************
diff -Nurb dovecot-2.2.16rc1/src/util/rawlog.c
dovecot-2.2.16rc1.build/src/util/rawlog.c
--- dovecot-2.2.16rc1/src/util/rawlog.c 2015-03-04 13:49:28.000000000 +0100
+++ dovecot-2.2.16rc1.build/src/util/rawlog.c 2015-03-11
2006 Aug 02
1
alternate rawlog directory
Hello,
In rc2 sources, the rawlog directory seem to be hard-coded to be
looked for in $HOME.
I'd like to have a way to centralized the place where rawlog files are, in order to be able :
. to rotate them more easily
. not to leave them at the user's reach
. not to have to enter the user's directory to read them
I'd like to have a layout similar to this :
2009 Jun 15
2
Dovecot v1.2 rawlog in dovecot.conf trouble
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
using Dovecot v1.2 changeset: 9126:b745911012bb
This line in dovecot.conf make trouble (wrapped in mail):
mail_executable =
/usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/rawlog
/usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/imap
# sbin/dovecot -F
Fio_loop_handle_add: epoll_ctl(1, 0): Operation not permitted
Error: imap
2017 Aug 02
2
rawlog
Hi,
Trying to get rawlog working on dovecot 2.2.31 configured as per
https://wiki2.dovecot.org/Debugging/Rawlog
but
a) it doesnt appear to be loggin anything
b) rawlog_dir which is supposed to be v2.2.26+ seems no where in site ..
in fact complains about unknown variable
So does rawlog still do anything ???? Or am I missing something ...
config is below ....
# 2.2.19:
2012 Jan 11
4
Log imap commands
Hi,
I am trying to optimize an imap library and I am comparing with some
existing webmail, for instance
from roundcube I can log the imap commands with the following format :
[11-Jan-2012 14:22:55 +0100]: [DBD1] S: * OK [CAPABILITY IMAP4rev1
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN
AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready.
[11-Jan-2012 14:22:55
2005 Sep 05
1
rawlog missing from 1.0a1?
The code is in utils/rawlog.c but it never seems to be called anywhere?
2016 Dec 12
0
Dovecot 2.2.27 & windows 10 outlook (no auth attempts in 0 secs) error.
...in10 gives error in ssl level, before user authentication, then no
> debug logs will be written into user dovecot.rawlog folder.
>
> So how to debug this ssl issue?
>
>
> Aki Tuomi wrote:
>> https://wiki2.dovecot.org/Debugging/Rawlog
>>
>> can you try this to get rawlogs to find out what happens?
>>
>> Aki
> I'm bit confused, how this rawlog works. I did:
>
> doveadm user -u kaka
> userdb: kaka
> user : kaka
> system_groups_user: kaka
> uid : 566
> gid : 566
> home : /home/kaka
>
>...