search for: i_info

Displaying 20 results from an estimated 79 matches for "i_info".

2005 Jun 03
2
POP3 download problem
Hi All I am experiencing a mail download problem with dovecot's pop3 protocol. We use outlook XP 2002 mail clients and I have setup a mail system with pop accounts on a Fedora 2 installation using dovecot. Some of the clients download email fine but others do not download email and also do not give any error messages. I have enabled the "verbose" options in the
2007 Feb 27
1
dovecot-auth (1.0rc24) on Solaris seems broken.
I've trying to get dovecot-auth to talk to exim and have been running debugging on both sides. I've added the line: i_info("auth_client_input: client disconnected: %s", strerror(errno)); just after the "case -1" in the first switch statement in: auth-client-connection.c: auth_client_input() and get this in the logs: dovecot: Feb 27 13:35:09 Info: auth(default): auth_client_input: client discon...
2007 May 09
2
PATCH: Deliver looses mail and DSN if Return-Path is missing
...and_ the MTA is returned 0 (aka success) return code, which leads to mail loss. This is not the case, when the message actually finds a Return-Path, but fails to invoke the MTA. - --- src/deliver/mail-send.c (revision 47) +++ src/deliver/mail-send.c (working copy) @@ -42,7 +42,7 @@ i_info("msgid=%s: Return-Path missing, rejection reason: %s", orig_msgid == NULL ? "" : str_sanitize(orig_msgid, 80), str_sanitize(reason, 512)); - - return 0; + return EX_TEMPFAIL; } smtp_client = smtp_client_ope...
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...+ buffer_t *digest_buf; + unsigned char remote_digest[16]; + unsigned char digest[16]; + struct md5_context ctx; + + digest_buf = buffer_create_data(pool_datastack_create(), + remote_digest, sizeof(remote_digest)); + if (hex_to_binary(auth->digest, digest_buf) <= 0) { + if (verbose) + i_info("apop(%s): invalid characters in APOP digest", get_log_prefix(auth_request)); + mech_auth_finish(auth_request, NULL, 0, FALSE); + return; + } + + md5_init(&ctx); + md5_update(&ctx, auth->challenge, strlen(auth->challenge)); + md5_update(&ctx, credentials, strlen(creden...
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.
2012 Oct 11
1
memory allocation in new thread
...storage and call malloc(), and it fails to allocate even 1 byte. What can cause this problem? Dovecot vesrion is: 2.1.10 (130563b592c9+) Sample code looks like this (I also link to pthread with: -pthread): #define TEST_MALLOC() \ { \ ??? void *p; \ ??? p = malloc(1); \ ??? if (!p) { \ ??? ??? i_info("%s: malloc() failed", __FUNCTION__); \ ??? } else { \ ??? ??? i_info("%s: malloc() succeeded", __FUNCTION__); \ ??? ??? free(p); \ ??? } \ } #include <pthread.h> static void *test_pthread_malloc_func(void *data_) { ??? TEST_MALLOC(); ??? return NULL; } static voi...
2007 Sep 03
2
recipient delimiter results in sieve errors
Hello, I'm using dovecot 1.0.3 and Dovecot Sieve plugin 1.0.2. Sieve script works fine with normal addresses, like user at domain.., and messages marked with "X-Spam-Flag: YES" are delivered directly to INBOX.Spam. To make deliver understand recipient_delimiter I tried two methods, the first one as per wiki (tweaking postfix master.cf), and the second one by tweaking
2006 May 02
0
beta7 imap core, no assert
...t str.c:118 #4 0x00071eb4 in internal_handler (log_type=-112 '\220', format=0x2 <Address 0x2 out of bounds>, args=0x18) at failures.c:362 #5 0x00071f08 in i_internal_info_handler ( fmt=0x49 <Address 0x49 out of bounds>, args=0x82098) at failures.c:400 #6 0x000723cc in i_info (format=0x82098 "Disconnected: %s") at failures.c:218 #7 0x000217c8 in client_disconnect (client=0x82098, reason=0x0) at client.c:119 #8 0x00021824 in client_disconnect_with_error (client=0xaf2f8, msg=0x0) at client.c:130 #9 0x0001e6fc in cmd_fetch_finish (ctx=Variable "ct...
2010 Jun 29
1
NFS(4) IMAP Quota
...e filesystem path without initial /. Server prepends proper + * NFS pseudoroot automatically and uses this for detection of NFSv4 mounts. */ + if (strcmp(root->mount->type, "nfs4") == 0) + while (*path == '/') + path++; if (root->root.quota->set->debug) { i_info("quota-fs: host=%s, path=%s, uid=%s, %s", @@ -366,17 +371,24 @@ /* convert the results from blocks to bytes */ const rquota *rq = &result.getquota_rslt_u.gqr_rquota; - if (rq->rq_active) { - if (bytes) { - *value_r = (uint64_t)rq->rq_curblocks * - (uint64_t)rq-...
2007 Nov 14
1
libwrap-ing IMAP and POP logins
...ept(LOGIN_LISTEN_FD, &remote_ip, &remote_port); if (fd < 0) { @@ -77,6 +88,17 @@ return; } +#ifdef LIBWRAP + strlcat(daemon, login_protocol, sizeof(daemon)); + request_init(&req, RQ_DAEMON, daemon, RQ_FILE, fd, NULL); + fromhost(&req); + if (!hosts_access(&req)) { + i_info("libwrap: access denied"); + net_disconnect(fd); + return; + } +#endif + if (net_getsockname(fd, &local_ip, &local_port) < 0) { memset(&local_ip, 0, sizeof(local_ip)); local_port = 0; @@ -99,6 +121,10 @@ struct client *client; struct ssl_proxy *proxy; int fd...
2007 Feb 23
0
Simple patch
...CAP_SETUID, + CAP_NET_BIND_SERVICE +}; +#endif + static const char *configfile = SYSCONFDIR "/" PACKAGE ".conf"; static const char *env_tz; @@ -583,6 +595,18 @@ if (log_error) i_fatal("This is Dovecot's error log"); + i_info("test message, monkeys"); + /* drop capabilities that we don't need, be very restrictive */ +#ifdef HAVE_LIBCAP + i_info("Found capability support, dropping unnecessary root priviledges"); + caps = cap_init(); + cap_clear(caps); + cap_set_flag...
2003 Jun 03
1
error
hi, I've got the following alert window in mozilla (with dovecot): --------------------------------------- The current command did not succeed. The mail server responded: Error in IMAP command: Too long argument.. --------------------------------------- although there is not any messages in my imap.log file. -- Levente "Si vis pacem para bellum!"
2006 Oct 04
1
fix: LDA logging
...+ str = mail_get_first_header(mail, "Message-ID"); + t = mailbox_transaction_begin(box, MAILBOX_TRANSACTION_FLAG_EXTERNAL); kw = strarray_length(keywords) == 0 ? NULL : @@ -117,10 +120,14 @@ ret = -1; mailbox_keywords_free(t, &kw); - if (ret < 0) + if (ret < 0) { + i_info("failed to deliver msgid=%s to %s", str, mailbox); mailbox_transaction_rollback(&t); - else + } + else { + i_info("delivered msgid=%s to %s", str, mailbox); ret = mailbox_transaction_commit(&t, 0); + } mailbox_close(&box); return ret;
2006 Oct 05
0
bug with rsh/ssh connections
...o: Disconnected: Logged out unix-prompt% --- Note that additional, protocol-breaking, "imap(...): Info ..." line. This seems to be coming from "imap/cmd-logout.c" calling: client_disconnect(client, "Logged out"); which in turn ("imap/client.c") does: i_info("Disconnected: %s", reason); On the imap connection, this "i_info(...)" output goes (correctly) to syslog, but on the rsh/ssh connection this output seems to go to something like stdout. This strongly suggests a bug: an inconsistency between the two connection types, possibl...
2009 Jun 06
2
expire-tool --test: timestamps
...00 +0200 +++ expire-tool.c 2009-06-06 15:17:07.000000000 +0200 @@ -351,9 +351,13 @@ static void expire_run(bool testrun) } else if (!testrun) dict_set(trans, key, new_value); else { - i_info("%s: timestamp %s (%s) -> %s (%s)", - userp, value, ctime(&expire_time), - new_value, ctime(&oldest)); + char *expire_ctime = i_strdup(ctime(&expire_time)); +...
2014 Aug 30
1
Need help to compile and install a minimal dovecot imap plugin
...nc_t *next_hook_client_created; static void foo_client_created(struct client **client) { str_append((*client)->capability_string, " XFOO"); if (next_hook_client_created != NULL) { next_hook_client_created(client); } } void foo_plugin_init(struct module *module) { i_info(?init?); foo_module = module; next_hook_client_created = imap_client_created_hook_set(foo_client_created); } void foo_plugin_deinit(void) { i_info(?deinit?); imap_client_created_hook_set(next_hook_client_created); } const char foo_plugin_binary_dependency[] = "imap?; On Fedora 20,...
2006 Sep 15
1
Problem with MySQL
...#39;0', sock='/var/lib/mysql/mysql.sock' Sep 15 03:08:38 suse10064lamp dovecot: auth-worker(default): mysql: Connect failed to /var/lib/mysql/mysql.sock (ccc): Access denied for user 'root'@'localhost' (using password: YES) - waiting for 1 seconds before retry I added a i_info() in front of the mysql_real_connect command to test if the data from the config file is transmitted correctly (first line above) --> it is So i tried to connect to mysql with the line from my test-program. this is the patched code: i_info("ok... connecting to mysql: host='%s...
2009 Nov 02
2
dovecot-1.2.6: Panic: pool_data_stack_realloc(): stack frame changed
...19 raise + 25 3 libSystem.B.dylib 0x00007fff876a4e12 abort + 90 4 imap 0x000000010008022f default_fatal_finish + 69 5 imap 0x000000010007f4b4 i_internal_error_handler + 0 6 imap 0x000000010007fa36 i_info + 0 7 imap 0x000000010008987e pool_data_stack_realloc + 150 8 imap 0x000000010007d77c buffer_alloc + 60 9 imap 0x000000010007d947 buffer_check_limits + 113 10 imap 0x000000010007dde8 b...
2009 May 04
2
mail_index_sync_map error on 1.1.14
...5ea __kill + 10 1 libSystem.B.dylib 0x00007fff87bf9fc8 abort + 83 2 imap 0x0000000100069f3e default_fatal_finish + 70 3 imap 0x0000000100069f8c i_syslog_fatal_handler + 0 4 imap 0x00000001000696eb i_info + 0 5 imap 0x0000000100051d3a mail_index_sync_map + 144 6 imap 0x000000010004a22c mail_index_map + 212 7 imap 0x0000000100046a0f mail_index_refresh + 14 8 imap 0x0000000100016e4b...
2006 May 19
4
beta8: core, signal 11
...) at str.c:118 #4 0x00073f0c in internal_handler (log_type=-64 '?', format=0x2 <Address 0x2 out of bounds>, args=0x18) at failures.c:362 #5 0x00073f60 in i_internal_info_handler ( fmt=0x49 <Address 0x49 out of bounds>, args=0x84288) at failures.c:400 #6 0x00074424 in i_info (format=0x84288 "Disconnected: %s") at failures.c:218 #7 0x000218c8 in client_disconnect (client=0x84288, reason=0x0) at client.c:119 #8 0x00021924 in client_disconnect_with_error (client=0xb1b40, msg=0x0) at client.c:130 #9 0x0001e818 in cmd_fetch_finish (ctx=Variable "ct...