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
----- Original Message -----
From: "mtawafig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 22, 2004 12:49 PM
Subject: Re: [toaster] HI
> Unfortunateley that's out of my league .
> Thanks
> ----- Original Message -----
> From: "Bill Shupp" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 22, 2004 11:13 AM
> Subject: Re: [toaster] HI
>
>
> > mtawafig wrote:
> >
> > >Hi
> > >Could it be incorportated with the chkuser patch .
> > >Thanks
> > >
> > >
> >
> > Yes, or the mfcheck patch (by basically creating a duplicate instance
> > that checks the rcpt to domain).
> >
> > Regards,
> >
> > Bill
> >
>