Displaying 20 results from an estimated 900 matches similar to: "Possible error in function mailbox_autocreate"
2008 Sep 01
2
Autocreating INBOX only
I would like deliver not to automatically create subfolders for mails
addressed to user+some_strange_name at domain.com, but nevertheless
automatically create INBOX for new users. I'm not sure whether a new
option like -M or -m -m would be appropriate, i.e., whether anyone
needs the current -m behaviour.
It looks to me like one would need to change
mailbox_open_or_create_synced()
2010 Jul 29
1
Patch: New event "mailbox_create" for the mail_log plugin
Hello,
the following patch for the mail_log plugin (source version = 1.2.13) adds a new logging event "mailbox_create".
Perhaps this is also of interest to other people except me ;)
Best regards,
Tobias
Index: src/plugins/mail-log/mail-log-plugin.c
===================================================================
--- src/plugins/mail-log/mail-log-plugin.c (revision 571)
+++
2006 Apr 19
0
[patch] Re: Test migration (IMAP copy) and INTERNALDATE?]
I haven't been able to find what is responsible for altering the time on
APPENDed mail, but was able to come up with a temporary workaround ...
simply calling utime() later on in the process resolves it.
Below is my patch.
Steve
--- dovecot-1.0.beta7-orig/src/lib-storage/index/maildir/maildir-save.c
2006-03-25 05:53:43.000000000 -0500
+++
2013 Jun 07
1
v2.2.2 (e5bd0a7c6a1e) Core Dump
(gdb) bt full
#0 mailbox_list_default_get_vname (list=0x21ceec0, storage_name=0x0) at mailbox-list.c:655
__s2_len = <optimized out>
i = <optimized out>
prefix_len = <optimized out>
name_len = <optimized out>
vname = 0x0
list_sep = <optimized out>
ns_sep = <optimized out>
ret = <optimized
2010 Oct 05
2
Feature request for maildir style boxes
greetings,
i'd like to ask for a certain feature request.
dovecot:maildir_uidlist_recreate() to set the gid of new files based on
the parent directory group ownership and normally that's desired, an
appropriate security method. on our server, we use directory
permissions to more stringently isolate access between users and
services. we have three group ids used for this, and i'll
2013 Jun 18
2
Crashes at login time with freshest code
Hello,
Dovecot keeps crashing at login time. Things were fine on 2.2.2
Fatal: master: service(imap): child 5014 killed with signal 11
Here is the trace:
Core was generated by `imap'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000105cdfdf in mailbox_list_get_storage (list=0x7fffffffe310,
vname=0x10a04ab0 "INBOX/spam", storage_r=0x7fffffffe308)
at
2016 Apr 29
2
Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)
Hi,
I just found this in my logs:
Apr 29 11:05:20 lmtp(joerg.eggenstein at ruhr-uni-bochum.de): Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)
Apr 29 11:05:20 lmtp(joerg.eggenstein at ruhr-uni-bochum.de): Error: Raw backtrace:
/usr/local/dovecot/lib/dovecot/libdovecot.so.0(+0x9c7f9) [0x7fa88bfbf7f9] ->
2015 Oct 23
1
Notify plugin doesn't send mailbox_create notifications
Hi there,
I'm running dovecot 2.2.13 on my debian jessie server.
When installing my own dovecot plugin, I noticed that there are no
notifications coming from the notify plugin.
I checked back with the mail_log plugin, but also this plugin doesn't
log any notifications when a new mailbox is created; the mail is saved
to the new inbox never the less.
I ran dovecot 2.2.9 before on my
2014 Dec 15
0
virtual mailbox segfault
Hello,
I have a segfault problem, and I can not resolve myself.
The details below (stack trace, config....). Maybe important to reproduce, everithing working well until I connect with SoGo ActiveSync (SoGo web, and other IMAP clients are working well). So maybe the SoGo send something magical command if the user client use the ActiveSyn... (the IMAP debug attached too)
Thanks, Balazs Toth
2013 Apr 02
1
v2.2 getting NULL pointer reference with shared namespace in mailbox_tree?
> > With todays nightly:
> >
> > dsync(wsunpriv at iai.uni-bonn.de): Panic: file imapc-list.c: line 199 (imapc_list_get_vname): assertion failed: (strncmp(prefix, storage_name, prefix_len) == 0 && storage_name[prefix_len] == list->sep)
>
> Oh, and this would be good to solve too. What does it say with gdb:
>
> gdb dsync core
> fr 5
> p prefix
>
2005 Aug 31
2
R CMD check example problem (PR#8113)
[Automatic forwarding from R-bugs failed. This message has been manually
forwarded.]
Hi all!
I'm trying to add Thomas Lumley's defmacro() function Lumley T.
"Programmer's Niche: Macros in {R}", R News, 2001, Vol 1,
No. 3, pp 11--13, \url{http://CRAN.R-project.org/doc/Rnews/} to the gtools
package (provided that Thomas gives his OK). And I've encountered an error
in
2007 Jul 16
0
Can't compile mbox-snarf-plugin.c on AIX 5.3
Hello everyone,
I tried to compile the mbox-snarf-plugin.c (downloaded today, so I
assume it's the most recent version available) on AIX 5.3 with gcc 4.0.
Building Dovecot 1.0.1 and 1.0.2 works fine.
[root at aix root]# export DOVECOT=/root/dovecot-1.0.1
[root at aix root]# gcc -fPIC -shared -Wall -I$DOVECOT -I$DOVECOT/src/lib
-I$DOVECOT/src/lib-storage -I$DOVECOT/src/lib-mail -I
2006 Feb 16
1
ugly hack to make maildir quotas work
Timo encouraged me to forward this to the list. Basically it pokes
the right value into the right place to make quota deltas work properly
when saving mail to Maildirs.
It's a nasty hack workaround, so don't rely on it without understanding
that it should be superseded in future.
Without this, saving to a maildir doesn't increment quota.
---
2006 Apr 21
0
Bug: quota-maildir.c, array accessed out of bounds
Timo,
In src/plugins/quota/quota-maildir.c, in the maildirsize_read() function, if the maildirsize file is greater that 5120 bytes, this code breaks because the while loop executes multiple times, incrementing size to a value larger than 5120, and then size is later used to referece the buf array out of bounds. To fix it you could add a break statement after "size+= ret;" so that the
2006 Jul 14
0
dovecot 1.00 RC2 bugs
imho, dovecot 1.00 RC2 has two bugs at the maildir quota implementation
1. Incorrect calculation of used storage and count of messages
When calculating, dovecot counts "." and ".." directory entries. So, if
there are no subdirs and messages in maildir,
maildirsize still shows 4 messages and some used storage.
My workaround is
--- src/plugins/quota/quota-maildir.c.orig Sun
2008 Jun 26
1
group ownership of new shared folders
Between versions 1.0.4 and 1.0.5 there were some changes to the
way dovecot-shared group ownership is propogated into new maildirs.
Changing the group of new_dir/{tmp,new,cur} was added, but
changing the group of new_dir itself was removed. As far as I
can tell, this latter change may have been accidental.
This patch puts the functionality back, in the 1.1 tree.
2010 Oct 08
1
patch for mysterious maildir symlink error
This may resolve the mysterious "Maildir: Symlink destination doesn't exist" errors.
--- a/src/lib-storage/index/maildir/maildir-util.c
+++ b/src/lib-storage/index/maildir/maildir-util.c
@@ -91,7 +91,7 @@
{
struct stat st;
- if (lstat(path, &st) == 0 && (st.st_mode & S_IFLNK) != 0) {
+ if (lstat(path, &st) == 0 && (st.st_mode & S_IFMT) ==
2014 Apr 24
1
maildir compressed message fix patch
When a compressed maildir message has a bad S= size in its filename it puts the user in an unrecoverable state, since maildir's do_fix_size function just does a stat() on the maildir file and saves the compressed size in the filename.
This (quick, rough, barely tested) patch addresses this issue, it's inefficient, but we're already in a hopefully rare emergency situation.
---
2009 Jul 08
1
readdir and rename don't mix; patch included
Enclosed please find a patch to dovecot-1.1.16 that fixes a common
problem we see under load on Mac OS X and HFS+.
The symptom is that sometimes readdir() returns EINVAL. The problem
is that readdir() and rename() don't mix well, and maildir_scan_dir()
renames messages from new/ to cur/. The solution I chose is just to
retry scanning the directory, since code to rescan is already
2011 Apr 29
1
example-config mail_log plugin options
Hello,
dovecot-2.0.12/doc/example-config/conf.d/10-logging.conf
contains
# mail_log plugin provides more event logging for mail processes.
plugin {
# Events to log. Also available: flag_change append
#mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
# Group events within a transaction to one line.
#mail_log_group_events = no
# Available fields: uid, box,