Displaying 2 results from an estimated 2 matches for "interface_address".
2008 Jan 20
3
Exim Dovecot Authentication Problem
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
dovecot_plain:
driver = dovecot
public_name = PLAIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $auth1
auth default {
# Space
2004 Dec 09
1
Exim4 authentication patch
...k;
+
+ default:
+ goto out;
+ }
+ }
+
+ 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",
+ VERSION_MAJOR, VERSION_MINOR, getpid(), cuid,
+ ablock->public_name, sender_host_address, interface_address,
+ data ? (char *) data : "");
+
+ while (1) {
+ if (fgets(buffer, sizeof(buffer), f) == NULL) {
+ auth_defer_msg = "authentication socket read error or premature eof";
+ goto out;
+ }
+
+ buffer[strlen(buffer) - 1] = 0;
+ nargs = strcut(buffer, args, sizeof(args) / siz...