mtawafig wrote:

hi
the mfchk function from qmail-smtpd.c

int mfcheck()
{
 stralloc sa = {0};
 ipalloc ia = {0};
 unsigned int random;
 int j;

if (!mfchk) return 0;
random = now() + (getpid() << 16);
j = byte_rchr(addr.s,addr.len,'@') + 1;
if (j < addr.len) {
stralloc_copys(&sa, addr.s + j);
dns_init(0);
j = dns_mxip(&ia,&sa,random);
if (j < 0) return j;
}
return 0;
}


Can I add it here . Thanks



That's where I would start. I don't have time to research/test it for you, though. You'll have to do that on your own.


Regards,

Bill

Reply via email to