Displaying 20 results from an estimated 30000 matches similar to: "Mail logger plugin, improvement request"
2016 Oct 28
0
Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)
On 28 Oct 2016, at 15:36, Gilles Chauvin <gilles.chauvin at univ-rouen.fr> wrote:
>
> Hello,
>
> Here is a Panic that happened while doing some testing with two servers both running Dovecot v2.2.26 on CentOS 7.
>
> These are test servers owning 32 accounts whose data were copied from our production server.
>
>
> What I've done is:
>
> server01#
2013 Dec 04
1
Question regarding quotas (is this a bug or intended behavior) ?
Hi,
I was wondering if this is a normal behavior (test was made using
Dovecot v2.2.9).
In my config, quotas are configured as follows:
plugin {
quota = dict:Userquota::file:%h/dovecot-quota
quota_rule = *:storage=1G
quota_rule2 = Trash:ignore
}
# doveadm mailbox status -u my_user "messages vsize" '*'
Trash messages=4997 vsize=229535631
Drafts messages=0 vsize=0
Sent
2015 Dec 01
2
mail_log plugin and uid=error in log file
On 01/12/2015 16:31, Timo Sirainen wrote:
>
> Does this help? http://hg.dovecot.org/dovecot-2.2/rev/25d63d9c7f5a
>
Hi Timo,
Sorry about the thread hijacking but, speaking about the mail_log
plugin, what do you think about the ability to add the session number to
the log lines produced by this plugin?
This could be a useful information to have too, especially on a large
traffic
2012 Nov 29
1
cmd-vacation.c:4:17: fatal error: lib.h: No such file or directory && ./configure: line 11410: -lssl: command not found
Hello Timo,
Building 2.1.11 was ok, but rebuilding pigeonhole 0.3.3 for dovecot 2.1.11
show up the following errors:
checking for dovecot-config in "/usr/lib/dovecot"... /usr/lib/dovecot/dovecot-
config
./configure: line 11410: -lssl: command not found
checking whether OS supports plugin dependencies... yes
configure: creating ./config.status
config.status: creating Makefile
2016 Oct 28
2
Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)
Hello,
Here is a Panic that happened while doing some testing with two servers
both running Dovecot v2.2.26 on CentOS 7.
These are test servers owning 32 accounts whose data were copied from
our production server.
What I've done is:
server01# doveadm force-resync -A '*'
server01# doveadm replicator replicate -f '*'
For 5 accounts I obtained the following crash:
2014 Aug 27
2
Insert custom header in Mail logger plugin
Is it possible to log a message custom header through Mail logger plugin or
other method? It seems that there are a fixed number of info that is
configurable via mail_log_fields (http://wiki2.dovecot.org/Plugins/MailLog).
..
My custom header is X-VERTICAL-IP-Quarantine-ID and I want a log event like
this one:
Aug 27 09:48:13 imap dovecot: imap(user at domain): copy from INBOX: box=SPAM,
uid=213,
2014 Feb 20
2
Enable mail logger plugin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 19 Feb 2014, Sean Kamath wrote:
> From: Sean Kamath <kamath at moltingpenguin.com>
> On Feb 19, 2014, at 1:24 PM, Alexandre Ellert <aellert at numeezy.com> wrote:
>> Hello,
>>
>> I'm trying to get more info about user activity (especially when they delete some email).
>> So, I follow info from
2015 Dec 01
0
mail_log plugin and uid=error in log file
On 2015-12-01 17:08:01 +0100, Gilles Chauvin wrote:
> Sorry about the thread hijacking but, speaking about the mail_log plugin,
> what do you think about the ability to add the session number to the log
> lines produced by this plugin?
>
> This could be a useful information to have too, especially on a large
> traffic mailhost.
mail_log_prefix = "%s(%u): %{session} "
2014 Feb 19
3
Enable mail logger plugin
Hello,
I'm trying to get more info about user activity (especially when they delete some email).
So, I follow info from http://wiki2.dovecot.org/Plugins/MailLog to enabled mail logger plugin, but I don't see anything in my logs.
Can you tell me what I'm missing ?
Thanks.
# doveconf -n
# 2.2.10.3: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4
2014 Feb 20
1
Enable mail logger plugin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 20 Feb 2014, Alexandre Ellert wrote:
> From: Alexandre Ellert <aellert at numeezy.com>
>
>> @Alexandre: You've removed the "$mail_plugins" in the IMAP section as Peter already pointed out?
>
> I'm not sure to fully understand how mail_plugins directive works.
consider it as a variable like in the
2006 Nov 16
0
Rails logger doesn't log nil, Ruby logger does
Is there some reason that the Rails logger doesn''t log nil as the string
"nil", like the Ruby logger does? It is a bit confusing.
Ruby example:
$ cat log.rb
require ''logger''
logger = Logger.new(STDOUT)
logger.info "test"
logger.info true
logger.info nil
logger.info "end test"
$ ruby log.rb
I, [2006-11-15T16:45:00.348262 #2058] INFO
2009 Dec 02
0
Qmf::Query Hang in db-omatic
Hi all,
We use for preproduction purpose the next branche of oVirt. We notice that a
lot of bugs appears when the number of message in qpidd increase. It seems
that qpidd is doing the job and that most of the issue are due to Qmf::Query .
For example in db-omatic lines 265,296
When you restart db-omatic, if you have multiple node, you have mutiple
threads launch (line 266) that hang on :
2005 Mar 26
7
Shrinking a ext3 filesystem ?
I installed CentOS on my home-server with 2 IDE 160GB MAXTOR HDD /
RAID-1, LVM and ext3 partitions. Previous OS on this machine was FC2.
I often "play" with LVM and, sometimes, have to extand or reduce some
volumes size. I was surprised to see that resize2fs isn''t included
anymore !
The replacing tool is ext2online but this one seems to only be able to
grow a filesystem (not
2008 Jun 12
1
how do I mock the Rails Logger with should_receive?
Hey Guys,
I''m trying to mock the Rails Logger for the following code:
...
rescue TimeoutError => error
$logger.error("#{self.name} Timeout for #{path}: #{error}") and return
rescue SocketError => error
$logger.error("#{self.name} SocketError for #{path}: #{error}") and
return
rescue StandardError => error
2008 Jun 12
1
Does anyone know how to mock the Rails Logger then set expectations with should_receive?
Hey Guys,
I''m trying to mock the Rails Logger for the following code:
...
rescue TimeoutError => error
$logger.error("#{self.name} Timeout for #{path}: #{error}") and return
rescue SocketError => error
$logger.error("#{self.name} SocketError for #{path}: #{error}") and
return
rescue StandardError => error
2005 Dec 16
2
Using logger from rails cron jobs
Hi. I''m trying to use logger from a rails cron job.
It works fine, but I''d like the standard ruby behavior of stamping each
log with date and time. How do I do this?
I''m trying:
# Set up out logging
require ''logger''
logger = Logger.new(STDERR)
logger.level = Logger::INFO
RAILS_DEFAULT_LOGGER = logger # Tell rails to log to our logger also
The
2005 Dec 14
0
Fwd: Logger bug in 0.14.3 ?
Hello All,
I am top-posting this in hopes of increasing the visibility.
This ticket has not been touched : Default Logger instance has no formatting
<http://dev.rubyonrails.org/ticket/3144>
For my installation, this is a BIG problem in my production logging !!
For now the workaround below is working, and the double-declaration warnings
of loading ''logger.rb'' twice are
2017 Apr 25
4
Pigeonhole / Bug with "duplicate" ?
Hello,
Previously, while running Dovecot 2.2.27/Pigeonhole 0.4.16 the following
code snippet was working as one would expect:
if duplicate {
addflag ["\\seen", "Duplicate"];
fileinto "Duplicate";
stop;
}
if address :contains "to" "user.email at example.com" {
addflag "$label1";
}
After upgrading to
2006 Jan 11
1
logger in my classes
Hi,
I wrote a class which is not an AR extension, nor a controller.
I''d like to use logger.* methods there too.
My class is in lib/ dir. I include it in environment.rb with the line
require ''lib/localization''
just after the line
require File.join(File.dirname(__FILE__), ''boot'')
I tried many ways to reuse the logger class. The cleaner way seemed to
2007 May 21
2
logger anybody?
Hello,
When trying to use logger into any RSpec I get:
logger anyboundefined local variable or method `logger'' for
#<#<Class:0x278bee0>:0x253cdec>
Not sure if this is the spected behaviour (haven''t checked under the
hood) It was just annoying not having a logger instance available as in
Rails out of the tests.
--
An?bal Rojas
http://www.rubycorner.com