summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNigel Metheringham <nigel@exim.org>2008-01-18 12:23:26 +0000
committerNigel Metheringham <nigel@exim.org>2008-01-18 12:23:26 +0000
commitdeafd5b336b87fdf2e96ad3a4334c211ea369af0 (patch)
tree7d2e28f6f3abe9ff62b529560c01fcd0dc3d6cb0 /src
parent0caec8e792b969ca442413e75c8966f074bc5fd4 (diff)
Minor fixes to the dovecot authenticator. Fixes: #646
Diffstat (limited to 'src')
-rw-r--r--src/src/auths/dovecot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/auths/dovecot.c b/src/src/auths/dovecot.c
index c9433741a..a260109fb 100644
--- a/src/src/auths/dovecot.c
+++ b/src/src/auths/dovecot.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/auths/dovecot.c,v 1.7 2007/03/01 14:06:56 ph10 Exp $ */
+/* $Cambridge: exim/src/src/auths/dovecot.c,v 1.8 2008/01/18 12:23:26 nm4 Exp $ */
/*
* Copyright (c) 2004 Andrey Panin <pazke@donpac.ru>
@@ -280,7 +280,7 @@ int auth_dovecot_server(auth_instance *ablock, uschar *data)
****************************************************************************/
auth_command = string_sprintf("VERSION\t%d\t%d\nCPID\t%d\n"
- "AUTH\t%d\t%s\tservice=smtp\t%srip=%s\tlip=%s\tresp=%s\n",
+ "AUTH\t%d\t%s\tservice=smtp\t%srip=%s\tlip=%s\tnologin\tresp=%s\n",
VERSION_MAJOR, VERSION_MINOR, getpid(), cuid,
ablock->public_name, auth_extra_data, sender_host_address,
interface_address, data ? (char *) data : "");
@@ -323,7 +323,7 @@ int auth_dovecot_server(auth_instance *ablock, uschar *data)
goto out;
}
- temp = string_sprintf("CONT\t%d\t%s\r\n", cuid, data);
+ temp = string_sprintf("CONT\t%d\t%s\n", cuid, data);
if (write(fd, temp, Ustrlen(temp)) < 0)
OUT("authentication socket write error");
break;