[continued from previous message]
*
* Author: Kari Hurtta <
hurtta+elm@siilo.FMI.FI>
* (was
hurtta+elm@posti.FMI.FI,
hurtta+elm@ozone.FMI.FI) ***************
*** 857,864 ****
}
}
-
-
static int smtp_start_command_c P_((struct smtp_info *I,
char *command,
struct cancel_data *cd));
--- 857,862 ----
***************
*** 3860,3865 ****
--- 3858,3924 ----
C->head->p.smtp->SMTP_flags &= ~SMTP_reserve;
}
+
+ /* Result is malloced */
+ static char ** smtp_mailer_con_name_local P_((size_t * reslen_p,
+ struct mailer_config * M,
+ struct mailer_info * I,
+ struct cancel_data ** cancel_p));
+ static char ** smtp_mailer_con_name_local(reslen_p,M,I,cancel_p)
+ size_t * reslen_p;
+ struct mailer_config *M;
+ struct mailer_info *I;
+ struct cancel_data ** cancel_p; /* currently not used */
+ {
+ char ** ret = NULL;
+
+ if (I->p.smtp->RA.socknamesize && I->p.smtp->RA.socknameaddr.dummy) {
+ union SOCKADDR_ptr socknameaddr = I->p.smtp->RA.socknameaddr;
+ size_t socknamesize = I->p.smtp->RA.socknamesize;
+
+
+ if (give_name_from_sockaddr(socknameaddr,socknamesize,
+ &ret,reslen_p,cancel_p,
+ no_lookup_message, NULL /* No error message */