search for: client_send_lin

Displaying 20 results from an estimated 22 matches for "client_send_lin".

Did you mean: client_send_line
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
2008 Feb 29
1
GETSCRIPT Bug in dovecot-1.0.10-MANAGESIEVE-v9.1.diff.gz
...efore }: diff -r bcebda39c0ed src/managesieve/cmd-getscript.c - --- a/src/managesieve/cmd-getscript.c Mon Feb 18 14:13:12 2008 +0100 +++ b/src/managesieve/cmd-getscript.c Fri Feb 29 11:52:00 2008 +0100 @@ -112,7 +112,7 @@ return cmd_getscript_finish(ctx); } - - client_send_line(client, t_strdup_printf("{%"PRIuUOFF_T"}", ctx->scriptsize)); + client_send_line(client, t_strdup_printf("{%"PRIuUOFF_T"+}", ctx->scriptsize)); client->command_pending = TRUE; cmd->func = cmd_getscript_continue; Bye,...
2003 Dec 20
1
Bugfix for use with "Opera mail" and "AnalogX"
Dear developers, [ Please CC me as I'm not subscribed to this list. ] In src/pop3-login/client.c: void client_send_line(struct pop3_client *client, const char *line) { o_stream_send_str(client->output, line); o_stream_send(client->output, "\r\n", 2); } Called as 'client_send_line(client "+OK dovecot");'. This function sends two packets to the client. It appears Opera m...
2004 Oct 07
0
[PATCH] change old style SASL discovery code
...uth_client, "NTLM") != NULL) { - /* This is needed to allow MS Outlook to use NTLM - authentication. Sometimes this kludge is called - "old-style SASL discovery". */ + if (*args == '\0') { + /* Old-style SASL discovery, used by MS Outlook */ + int i, count; client_send_line(client, "+OK"); - client_send_line(client, "NTLM"); + mech = auth_client_get_available_mechs(auth_client, &count); + for (i = 0; i < count; i++) { + if (mech[i].advertise) { + client_send_line(client, mech[i].name); + } + } client_send_line(client, &quot...
2005 Aug 24
0
thunderbird pop3 delete bug workaround
..._t byte_counter_offset; --- src/pop3/commands.c.orig 2005-08-24 13:24:33.000000000 +0200 +++ src/pop3/commands.c 2005-08-24 13:26:49.000000000 +0200 @@ -47,8 +47,15 @@ if (client->deleted) { if (client->deleted_bitmask[num / CHAR_BIT] & (1 << (num % CHAR_BIT))) { - client_send_line(client, "-ERR Message is deleted."); - return NULL; + if((client->tbirdbug<256) && (num == client->last_deleted)) + { + client->tbirdbug++; + } + else + { + client_send_line(client, "-ERR Message is deleted."); + re...
2005 Aug 24
0
verbose imap logging
...*client, const char *reason) { + if (reason != NULL) + i_info("%s %s", reason, client_stats(client)); + (void)o_stream_flush(client->output); i_stream_close(client->input); @@ -99,7 +114,7 @@ void client_disconnect_with_error(struct client *client, const char *msg) { client_send_line(client, t_strconcat("* BYE ", msg, NULL)); - client_disconnect(client); + client_disconnect(client, msg); } int client_send_line(struct client *client, const char *data) @@ -367,7 +382,7 @@ switch (i_stream_read(client->input)) { case -1: /* disconnected */ - client_destro...
2004 Dec 21
1
error when popping mail over DSL
Hi, I have a user who is getting a strange error when popping his mail over a DSL line. The error in my log file is as follows: file client.c: line 237 (client_send_line): assertion failed: ((size_t)ret == str_len(str)) I can POP his mail just find here locally connected to the server via 100bT, but over his DSL link, he gets this error. His mailbox size is 24MB, and he is using outlook w/ the option 'leave a copy of messages on the server'. He has Outl...
2006 May 26
2
Leave copy on server problem.
...ing Dovecot 0.99.14-r1 with mbox format. I have a problem with the option "Leave copy on server", the messages are duplicated. I tried many options but I can?t find the solution. The last test was: I modified in src/pop3/commands.c (function list_uids()) the folowing things: "... client_send_line(client, message == 0 ? "%u %u.%u" : "+OK %u %u.%u", mail->seq, client->uidvalidity, mail->uid); ..." by "... client_send_line(client, message == 0 ? "%u %08x%08x" : "+OK %u %08x%08x", mail->seq, mail->uid, client->uidvalidity);...
2014 Mar 25
0
Disconnected (auth failed, 1 attempts)
...on/client-common.c<<<<<<< bool client_read(struct client *client) { switch (i_stream_read(client->input)) { //w_buffer:cp01 CAPABILITY a001 LOGIN "q1 at t.com" "q1q1q1q1" case -2: /* buffer full */ client_send_line(client, CLIENT_CMD_REPLY_BYE, "Input buffer full, aborting"); client_destroy(client, "Disconnected: Input buffer full"); return FALSE; case -1: /* disconnected */ cl...
2014 Jul 22
1
Defer email via LMTP when there is 'no space left on device' instead of rejecting it
...*src_mail, struct mail_deliver_session *session)" "lmtp/commands.c" correctly: --- cut --- [...] else if (storage != NULL) { error = mail_storage_get_last_error(storage, &mail_error); if (mail_error == MAIL_ERROR_NOSPACE) { client_send_line(client, "%s <%s> %s", dctx.set->quota_full_tempfail ? "452 4.2.2" : "552 5.2.2", rcpt->address, error); } else {...
2009 Jan 15
3
Enforcing STARTTLS for all mechs while disabling imaps
Hi all, Is there a way to enforce STARTTLS for all connections, regardless their authentication mechanism? disable_plaintext_auth only takes care of the auth conversation, but I would like to have all communication encrypted. As far as I can see, this would only be possible when using imaps and disabling imap. However, I would like to have the other way around; disabling imaps and using imap for
2014 Mar 28
1
Crash in pop3 with version 2.2.12
...ffset = 16, fp_offset = 48, overflow_arg_area = 0x7ffffab500e0, reg_save_area = 0x7ffffab50010}} init_size = 4231558 pos = 0 ret = <value optimized out> ret2 = <value optimized out> __FUNCTION__ = "str_vprintfa" #3 0x00000000004055ff in client_send_line (client=0x11d1e50, fmt=<value optimized out>) at pop3-client.c:678 str = 0x11aa4f8 _data_stack_cur_id = 4 va = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffffab500e0, reg_save_area = 0x7ffffab50010}} ret = <value optimized out> __FU...
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...01 11:38:33.000000000 +0400 @@ -338,3 +338,49 @@ int cmd_auth(struct pop3_client *client, return TRUE; } + +int cmd_apop(struct pop3_client *client, const char *args) +{ + const char *error; + struct auth_request_info info; + string_t *apop_data; + + if (!client->apop_challenge) { + client_send_line(client, "-ERR Unknown command."); + return TRUE; + } + + /* APOP challenge \0 APOP responce */ + apop_data = t_str_new(128); + str_append(apop_data, client->apop_challenge); + str_append_c(apop_data, '\0'); + str_append(apop_data, args); + + memset(&info, 0, sizeof(info))...
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!"
2010 May 20
1
Permanent flags not announced and public mailbox with per-user index
...t better than me) that FLAGS should also been set in PERMANENTFLAGS since they can be permanent. The relevant code seems to be in commands-util.c (dovecot 1.2.11): void client_send_mailbox_flags(struct client *client, bool selecting) { [?] if (mailbox_is_readonly(client->mailbox)) { client_send_line(client, "* OK [PERMANENTFLAGS ()] " "Read-only mailbox."); } else { [?] } } Even if it's true that the Maildir is read-only, it's still possible to store \Seen permanently. Am I getting things wrong, or is this a bug? If I'm correct, a simple fix...
2005 Jul 13
0
Minor bugs still in test77
Thinking of patches I always apply, I've got a couple (attached) that fix minor bugs and maybe should be applied - or implemented better and then applied ;) - to the main distribution? 1) LIST bugs: LIST "~/mail/" "" and LIST "" "~/mail/" (where "~/mail/" is a namespace prefix) don't reply the same way as UW-IMAP does and in at
2009 Jan 05
1
writing a dovecot plugin / segfault
...lder> */ if (!client_read_string_args(cmd, 1, &folder_name)) return FALSE; /* work done from here... */ /* for the moment, do a dummy response */ str_append(response, "* MYRIGHTS "); str_append(response, folder_name); str_append(response, " lrswipcda"); client_send_line(cmd->client, str_c(response)); client_send_tagline(cmd, "OK Completed."); return TRUE; } But when testing via "telnet localhost 143" and doing a "20 myrights INBOX" the imap thread just crashes and does not give any answer. in /var/log/messages...
2005 Jun 28
2
UID confusion
Hi, 2 or 3 customers have reported that they are having problems downloading their mail via. POP3. I have attached the rawlogs of their transactions and the UID list at the time. Is this because I am using an incompatible UID format or is something else at fault? Deleting the UID list and indexes fixes the problem. I am using Test72. Regards Andrew -- Andrew Hutchings (A-Wing) - Linux
2009 Jul 08
1
expire plugin with 1.2 cronjob undefined symbol: capability_string
Hi, sorry if this asked twice, i ve searched the list and found some equal posts, but couldnt get my problem fixed with it if running cronjob with expire ( using mysql ) i get dovecot -c /etc/dovecot/dovecot.conf --exec-mail ext /usr/lib/dovecot/expire-tool --test Info: Loading modules from directory: /usr/lib/dovecot/modules/imap Info: Module loaded:
2005 Nov 11
1
1.0alpha4: pop3_reuse_xuidl patch
.../commands.c.orig 2005-10-17 02:21:39.000000000 +1000 +++ src/pop3/commands.c 2005-11-09 15:26:15.000000000 +1100 @@ -567,6 +567,8 @@ mail_get_first_header(ctx->mail, "X-UIDL"); if (uidl == NULL) var_expand(str, uidl_format, tab); + else + str_append(str, uidl); ret = client_send_line(client, "%s", str_c(str)); t_pop();