Displaying 13 results from an estimated 13 matches for "default_pool".
2006 Sep 06
3
dovecot ignoring config file contents -- istream.c problem?
...on my desktop dovecot complains on that line, it is completly
ignored on my embedded device). But when I delete the config file,
dovecot complains.
So I've done some printf-debugging in lib-settings/settings.c, and
fount out that:
control flow reaches the line
input = i_stream_create_file(fd, default_pool, 2048, TRUE);
but then no single iteration of the while loop is executed.
Do you have any idea what could be wrong here? Any help is greatly
appreciated ! Thank you.
Pavol Marko
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...^
/usr/include/dovecot/array.h:103:19: note: in definition of macro 'array_create'
array_create_i(&(array)->arr, pool, element_size, init_count)
^
/usr/include/dovecot/array.h:38:2: note: in expansion of macro 'p_array_init'
p_array_init(array, default_pool, init_count)
^
deleted-to-trash-plugin.c:61:4: note: in expansion of macro 'i_array_init'
i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);
^
deleted-to-trash-plugin.c:61:27: error: 'struct last_copy_info' has no member named 'mail_id'
i_array_init(&am...
2003 Oct 16
2
Copy from INBOX to INBOX corrupts file
Aloha, again, Timo.
Concerning the problem of copying within one folder...
I'm still not sure it's not a problem I created myself,
but I think it's caused by the use of the buffered IO
routines in ostream-file.c ... you use io_add() to schedule
write operations for later while simultanously reading
new chunks from the very same file. This seems to
confuse dovecot and make it write
2006 Apr 28
1
imaptest, with options!
I hacked some command line options into imaptest.
I dont think I broke it..
Place into dovecot-source root as usual and compile with:
gcc imaptest.c -o imaptest -Wall -W -I. -Isrc/lib -DHAVE_CONFIG_H
src/lib/liblib.a
As per Timo's instructions.
# imaptest -h imaptest [USER at IP:PORTNO] [pass=PASSWORD] [mbox=MBOX]
[clients=CC] [msgs=NMSG] [use_authenticate] [PORTNO]
USER = template for
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...index c7769dd..a059c50 100644
--- a/src/test/functional/vm_controller_test.rb
+++ b/src/test/functional/vm_controller_test.rb
@@ -32,9 +32,10 @@ class VmControllerTest < Test::Unit::TestCase
@response = ActionController::TestResponse.new
@vm_id = vms(:production_httpd_vm).id
- @default_pool = pools(:default)
+ @vm_pool = pools(:corp_com_production_vmpool)
end
+
def test_show
get :show, :id => @vm_id
@@ -46,23 +47,22 @@ class VmControllerTest < Test::Unit::TestCase
end
def test_new
- get :new, :hardware_pool_id => @default_pool.id, :format => &q...
2003 Jun 15
3
0.99.10-test12
http://dovecot.procontrol.fi/test/
I should have released 0.99.10 already I think.. There's just two
annoying problems that I think should be fixed first:
- PAM: If user gives a wrong password, dovecot-auth process sleeps for
two seconds, blocking everyone else who are trying to authenticate at
the time. So using PAM isn't very good idea at the moment.
- OpenSSL problems. Are they
2010 Jun 14
1
Patch to fix leak in imap_refresh_proctitle in beta[5, 6]
.../src/imap/main.c (beta6)
+++ b/src/imap/main.c (working copy)
@@ -39,11 +39,12 @@
#define IMAP_PROCTITLE_PREFERRED_LEN 80
struct client *client;
struct client_command_context *cmd;
- string_t *title = t_str_new(128);
+ string_t *title;
if (!verbose_proctitle)
return;
+ title = str_new(default_pool, 128);
str_append_c(title, '[');
switch (imap_client_count) {
case 0:
@@ -72,6 +73,7 @@
}
str_append_c(title, ']');
process_title_set(str_c(title));
+ str_free(&title);
}
static void client_kill_idle(struct client *client)
And perhaps there should be a warning w...
2005 Jun 15
6
Compressed maildir
Greetings,
I noticed a while back someone posted a patch/plugin that allowed Dovecot to
use compressed mbox files. I'm now wondering how far that would put us from
having compressed maildir? I have a server with more CPU than disk space, and
while I can buy more HDD space, my backup solution doesn't make that practical.
It seems to me that when looking for a message file, if it
2009 May 15
0
[PATCH server] use service layer for Network controller.
...####################### Networks related actions
- before_filter :pre_list, :only => [:list]
-
- def authorize_admin
- # TODO more robust permission system
- # either by subclassing network from pool
- # or by extending permission model to accomodate
- # any object
- @default_pool = HardwarePool.get_default_pool
- set_perms(@default_pool)
- super('You do not have permission to access networks')
- end
-
- def pre_list
- @networks = Network.find(:all)
- authorize_admin
- end
-
- def list
- respond_to do |format|
- format.html {
-...
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...rc/ssl-params/main.c
--- a/src/ssl-params/main.c
+++ b/src/ssl-params/main.c
@@ -112,11 +112,12 @@
static void main_init(const struct ssl_params_settings *set)
{
+ const char *filename;
lib_signals_set_handler(SIGCHLD, LIBSIG_FLAGS_SAFE, sig_chld, NULL);
ssl_params = buffer_create_dynamic(default_pool, 1024);
- param = ssl_params_init(PKG_STATEDIR"/"SSL_BUILD_PARAM_FNAME,
- ssl_params_callback, set);
+ filename = t_strconcat(set->state_dir, "/"SSL_BUILD_PARAM_FNAME, NULL);
+ param = ssl_params_init(filename, ssl_params_callback, set);
}
static void main_deinit(void)...
2018 Mar 04
1
2.2.34 fails to build on OpenBSD
...nssl.so: undefined reference to
`buffer_create_dynamic'
.libs/libssl_iostream_openssl.so: undefined reference to
`pool_alloconly_create'
.libs/libssl_iostream_openssl.so: undefined reference to
`o_stream_set_no_error_handling'
.libs/libssl_iostream_openssl.so: undefined reference to `default_pool'
.libs/libssl_iostream_openssl.so: undefined reference to
`ssl_iostream_has_valid_client_cert'
.libs/libssl_iostream_openssl.so: undefined reference to `buffer_free'
.libs/libssl_iostream_openssl.so: undefined reference to `t_strdup_printf'
.libs/libssl_iostream_openssl.so: undefin...
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...if (root->mount != NULL)
fs_quota_mountpoint_free(root->mount);
i_free(root->root.name);
i_free(root);
}
static struct fs_quota_mountpoint *fs_quota_mountpoint_get(const char *dir)
{
struct fs_quota_mountpoint *mount;
struct mountpoint point;
int ret;
ret = mountpoint_get(dir, default_pool, &point);
if (ret <= 0)
return NULL;
mount = i_new(struct fs_quota_mountpoint, 1);
mount->device_path = point.device_path;
mount->mount_path = point.mount_path;
mount->type = point.type;
return mount;
}
static bool fs_quota_add_storage(struct quota_root *_root,
struct...