Chris Laif wrote:
On 1/20/08, Marc Perkel
wrote: Having a hard time figuring out something that is supposed to be easy. Tryiong to configure Dovecot so that it provides authentication to Exim for outgoing smtp. Tried different things and getting
authentication socket protocol error
Some (older?) versions of Exim needed a patch. Sorry, I do not remember exactly. I attach the patch below.
Exim->Dovecot conf works well here, there is only one (reported problem): http://readlist.com/lists/exim.org/exim-users/2/14908.html
Chris
--- src/auths/dovecot.c 2006-10-19 08:37:34.000000000 +0200 +++ src/auths/dovecot.c.NEW 2006-10-19 08:38:26.000000000 +0200 @@ -171,8 +171,10 @@ if (!found) goto out;
- fprintf(f, "VERSION\t%d\t%d\r\nSERVICE\tSMTP\r\nCPID\t%d\r\n" - "AUTH\t%d\t%s\trip=%s\tlip=%s\tresp=%s\r\n", +// fprintf(f, "VERSION\t%d\t%d\r\nSERVICE\tSMTP\r\nCPID\t%d\r\n" +// "AUTH\t%d\t%s\trip=%s\tlip=%s\tresp=%s\r\n", + fprintf(f, "VERSION\t%d\t%d\nCPID\t%d\n" + "AUTH\t%d\t%s\tservice=smtp\trip=%s\tlip=%s\tresp=%s\n", VERSION_MAJOR, VERSION_MINOR, getpid(), cuid, ablock->public_name, sender_host_address, interface_address, data ? (char *) data : "");
I'm running the latest version of Exim. Would it still need patched? And - thanks for your help.