Displaying 1 result from an estimated 1 matches for "ip_addr_f".
Did you mean:
ip_addr_fe
2004 Jun 14
1
vpopmail and open smtp relay
...v-util.h"
+
static void
vpopmail_verify_plain(struct auth_request *request, const char *password,
verify_plain_callback_t *callback)
@@ -21,6 +23,7 @@
char vpop_user[VPOPMAIL_LIMIT], vpop_domain[VPOPMAIL_LIMIT];
struct vqpasswd *vpw;
int result;
+ const char *ip_addr_fe;
vpw = vpopmail_lookup_vqp(request->user,
vpop_user, vpop_domain);
@@ -57,6 +60,15 @@
return;
}
+ /* it is needed for open smtp relay */
+
+ ip_addr_fe = net_ip2addr(&request->client_ip);
+ if (ip_addr_fe == NULL)
+ ip_addr_f...