search for: client_create

Displaying 20 results from an estimated 27 matches for "client_create".

2005 Dec 31
1
can't access admin webpages with N-1 listeners active
...e sample xml dists). When we get up to N-1 listeners, we cannot access the admin webpages from localhost or anywhere-else-host. Here's the snip from our icecast's error.log: [...] [2005-12-31 02:21:48] INFO source/source_main listener count on / now 5 [2005-12-31 02:23:46] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:23:55] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:24:17] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:24:49] WARN client/client_create server client limit reached (6/7) [2005-12-31...
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client connected available to the authentication modules; i.e., the local IP address is available for substitution as %i for the mysql and pgsql modules. We needed this feature to support thousands of our legacy accounts which are authenticated by username/local_part (not the full email address) and IP address (one per domain). Timo,
2005 Jan 15
1
STARTTLS and inetd
.../wiki.dovecot.org/InetdInstall), imap-login and pop3-login thinks that TLS is enabled when in fact it isn't (we're connecting to port 110 and port 143, so the --ssl parameter isn't present). The reason for that is found in login-common/main.c:main(): > if (fd != -1) > (void)client_create(fd, &ip, TRUE); I added a flag which I set when ssl_proxy_new() is successfully called (see the following diff) and it seems to work fine. Is there any reason it shouldn't? What's the reason that the code is the way it is? -- Magnus Holmgren holmgren at lysator.liu.se P.S. Nice so...
2008 Nov 22
1
Panic in version 1.1.6
...0b9abe] -> pop3(i _stream_read+0x2d) [0x80c7d2d] -> pop3(i_stream_read_data+0x1d) [0x80c7e3d] -> pop3(message_get_body_size+0x5c) [0x80be85c] - > pop3(index_mail_init_stream+0x151) [0x8089571] -> pop3 [0x80717a2] -> pop3(index_mail_get_virtual_size+0x76) [0x80882b6] -> pop3(client_create+0x282) [0x8059c72] -> pop3(main+0x403) [0x805ba83] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x492dec] - > pop3 [0x8059351] dovecot -n # 1.1.6: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-53.1.14.el5 i686 CentOS release 5.2 (Final) protocols: imap imaps pop3 pop3s ssl_cert_file: /usr...
2009 Mar 10
1
POP3 Error
I just looked over my logs and noticed the following error: Mar 9 19:07:34 apple dovecot: Panic: POP3(april): Trying to allocate 0 bytes Mar 9 19:07:34 apple dovecot: POP3(april): Raw backtrace: pop3 [0x492952] -> pop3 [0x4929d3] -> pop3 [0x4920e6] -> pop3 [0x49cb8d] -> pop3(client_create+0x452) [0x41aef2] -> pop3(main+0x393) [0x41c9e3] -> /lib/libc.so.6(__libc_start_main+0xe6) [0x7f6bb46e11a6] -> pop3 [0x41a1b9] Mar 9 19:07:34 apple dovecot: child 9616 (pop3) killed with signal 6 Here is my dovecot -n: # 1.2.beta1: /usr/local/etc/dovecot.conf # OS: Linux 2.6.26-1-amd...
2006 Nov 19
0
Backtraces without core dumps
...ktraces also for segfaults, but that's more risky so I didn't do it yet. Maybe it should be done only optionally. If you're interested in trying, the code is now in CVS and in the latest nightly snapshot. When it crashes, it prints something like: Panic: file client.c: line 55 (client_create): assertion failed: (my_client != NULL) Error: Backtrace: ./imap [0x80b2ffa] -> ./imap [0x80b2ecc] -> ./imap [0x805bbb3] -> ./imap(main+0x426) [0x80634a6] -> /lib/tls/libc.so.6 (__libc_start_main+0xc8) [0xb7e53ea8] -> ./imap [0x80566a1] Looks like the symbol name resolving does...
2008 Dec 02
1
Panic 1.1.x
...virtual_size = 0, lines = 0} body_size = {physical_size = 580703221134869339, virtual_size = 13811206796352623048, lines = 134770482} input = (struct istream *) 0xbfab43f0 old_offset = 0 __PRETTY_FUNCTION__ = "index_mail_get_virtual_size" #16 0x08058cf2 in client_create (fd_in=0, fd_out=1, namespaces=0x80ec478) at client.c:85 storage = <value optimized out> ---Type <return> to continue, or q <return> to quit--- inbox = 0x80cab79 "INBOX" client = (struct client *) 0x80ecf68 flags = <value optimized out&...
2009 Feb 11
1
v1.2.beta1 virtual plugin raw trace
...fig_read+0x706) [0xb7ddbec6] -> /usr/lib/dovecot/modules/pop3/lib20_virtual_plugin.so [0xb7ddda0b] -> /usr/lib/dovecot/modules/pop3/lib20_mail_log_plugin.so [0xb7de42ea] -> /usr/lib/dovecot/modules/pop3/lib10_quota_plugin.so [0xb7df014a] -> pop3(mailbox_open+0x52) [0x80a4772] -> pop3(client_create+0x16f) [0x805edcf] -> pop3(main+0x416) [0x8060e96] -> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7e0b450] -> pop3 [0x805e3d1] as allready described * -Trash -Trash/* all produces Virtual mailbox loops: INBOX dovecot: Feb 11 07:02:00 Error: POP3(.... at .....): Couldn...
2005 Mar 09
2
Logging options
Hi, is it possible to configure dovecot's logging so it logs stuff like "User x logged in from IP/Host y and had z new messages" like I'm used from qpopper? That immensely helps when debugging PEBKAC issues. Enabling auth_verbose isnt really helpfull since a failed login generates 4 lines, some even without a pid - so it's a bit hard guessing which log entry belongs to
2013 Dec 30
0
Warning: fscking index file /.../dovecot.index
...aea698] -> /usr/lib64/dovecot/libdovecot-storage.so.0(maildir_storage_sync_init+0xbb) [0x2b3718aea83b] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x31) [0x2b3718b15e31] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync+0x27) [0x2b3718b18537] -> dovecot/pop3(client_create+0x332) [0x405702] -> dovecot/pop3 [0x40414b] -> dovecot/pop3 [0x404708] -> /usr/lib64/dovecot/libdovecot.so.0 [0x2b3718dc9a52] -> /usr/lib Both POP3 as IMAP Oct 31 15:24:42 vps dovecot: imap(user at domain.com): Warning: fscking index file /home/user/mail/domain.com/user/dovecot.index...
2009 Feb 21
2
Dovecot 1.2.beta1 Backtrace POP3
...0M dovecot: Feb 21 13:10:45 Panic: POP3(janna at jantics.com): Trying to allocate 0 bytes dovecot: Feb 21 13:10:45 Error: POP3(janna at jantics.com): Raw backtrace: pop3 [0x80d18fc] -> pop3 [0x80d195a] -> pop3 [0x80d125b] -> pop3 [0x80db683] -> pop3(i_malloc+0x15) [0x80d5ee5] -> pop3(client_create+0x503) [0x805c573] -> pop3(main+0x3ce) [0x805e00e] -> /lib/libc.so.6(__libc_start_main+0xe0) [0xb7e39390] -> pop3 [0x805b7e1] dovecot: Feb 21 13:10:45 Error: child 26895 (pop3) killed with signal 6 dovecot: Feb 21 13:10:45 Info: pop3-login: Login: user=<janna at jantics.com>, method=...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello, I work at SmarctJog.com, we have here some patches on IceCast for performance and reliability, these are mostly client/connection/source cleanups (a slave merge is underway, and some more good stuff (c)), but we'd like this to be merged in before the list gets any longer. Please find attached a list of our patches with a short desc: This one is actually not from us/me, it was found
2008 Apr 09
1
dovecot-1.1.rc3 assertion failure in index-sync.c
...[0x80c04e4] -> pop3 [0x80c013c] -> pop3 [0x808eb9a] -> pop3(index_mailbox_set_recent_seq+0x3e) [0x808ebde] -> pop3(maildir_sync_index+0x923) [0x8064173] -> pop3 [0x8062e22] -> pop3(maildir_storage_sync_init+0x58) [0x8062f98] -> pop3(mailbox_sync+0x1f) [0x80912af] -> pop3(client_create+0x1de) [0x805968e] -> pop3(main+0x403) [0x805b503] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x707dec] -> pop3 [0x8058e71] dovecot: Apr 09 10:28:14 Error: child 28169 (pop3) killed with signal 6 Using IMAP (after "SELECT INBOX"): dovecot: Apr 09 10:56:31 Warning: IMAP(USE...
2013 Jun 09
1
v2.2.2 (266101990d63) Core Dump
...t>) at raw-storage.c:48 user = 0x126d7f0 ns = 0x12673f0 ns_set = 0x126f2e0 mail_set = <optimized out> error = 0x0 #6 0x0000000000405762 in client_raw_user_create (client=<optimized out>) at client.c:150 sets = <optimized out> #7 client_create (fd_in=12, fd_out=12, conn=<optimized out>) at client.c:242 client = 0x1267f10 pool = 0x1267ef0 #8 0x00007f305d3a8740 in master_service_listen (l=0x1266120) at master-service.c:826 service = 0x12625a0 conn = {fd = 12, listen_fd = 8, name = 0x1262905 "dove...
2014 Aug 20
1
Assertion in istream.c::167 in POP3 mode when maildir content has wrong S value (using 2.2.13)
..._init_stream+0x200) [0x7f506556f700] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x2dd0f) [0x7f506553cd0f] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_stream+0x4b) [0x7f506554915b] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x2dae7) [0x7f506553cae7] -> dovecot/pop3(client_create+0x56d) [0x40622d] -> dovecot/pop3() [0x404ea3] -> dovecot/pop3() [0x40508f] -> /usr/lib64/dovecot/libdovecot.so.0(+0x28346) [0x7f5065261346] -> /usr/lib64/dovecot/libdovecot.so.0(+0x28841) [0x7f5065261841] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x4e) [0x7f50652b58...
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
..._destroy_oldest(void) } } +static char *get_apop_challenge(void) +{ + if (auth_client_find_mech(auth_client, "APOP")) { + hostpid_init(); + return i_strdup_printf("<%s.%s@%s>", my_pid, dec2str(ioloop_time), my_hostname); + } else + return NULL; +} + struct client *client_create(int fd, int ssl, const struct ip_addr *local_ip, const struct ip_addr *ip) { @@ -265,7 +278,8 @@ struct client *client_create(int fd, int main_ref(); - client_send_line(client, "+OK " PACKAGE " ready."); + client->apop_challenge = get_apop_challenge(); + clien...
2010 Sep 19
1
linking problems of dovecot 2.0.3
...Wl,libdovecot-login.so.0 -o .libs/libdovecot-login.so.0.0.0 ./.libs/liblogin.a(client-common.o): In function `get_var_expand_table': /tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/client-common.c:372: undefined reference to `login_binary' ./.libs/liblogin.a(client-common.o): In function `client_create': /tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/client-common.c:50: undefined reference to `client_vfuncs' ./.libs/liblogin.a(client-common-auth.o): In function `client_auth_parse_args': /tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/client-common-auth.c:111: undefined reference...
2004 Jun 18
3
1.0-test17
http://dovecot.org/test/ Just mbox fixes since 1.0-test16. The logic is simpler and more correct now. Can anyone break it anymore? I actually tested it a while with Evolution and several mailboxes and it didn't break at least immediately. :) Now maybe a few more days and I dare trying this thing myself with my real mboxes (yes, I'm still using them). Dovecot mailing list archives could
2004 Sep 29
2
UIDL bug
I noticed a problem with handling UIDL msgnumber in test46. If you do "UIDL 1" on a POP3 connection it returns the UID of the message followed by a dot and an error message. I made 2 changes: I added the following line to line 527 of src/pop3/commands.c ctx->message = message; I changed line 559 from: if (list_uids_iter(client, ctx)) to: if (!list_uids_iter(client, ctx))
2007 Sep 28
2
1.1b1 initial pop3 login: assertion failed
...0x80cce93] -> pop3(mail_index_view_sync_begin+0x228) [0x80a91d2] -> pop3(index_mailbox_sync_init+0xac) [0x8093abe] -> pop3(maildir_storage_sync_init+0x11e) [0x80646a1] -> pop3(mailbox_sync_init+0x1b) [0x80bb428] -> pop3(mailbox_sync+0x18) [0x80bb49b] -> pop3 [0x80582f5] -> pop3(client_create+0x237) [0x80587ac] -> pop3 [0x805afe8] -> pop3(main+0x95) [0x805b0e4] -> /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x477de3] -> pop3 [0x80581ed] Sep 28 15:51:14 kelly-a dovecot: child 8112 (pop3) killed with signal 6 Other information ------------------------ $ cat /etc/redhat-rel...