Balazs Nagy writes:

> Hiyas,
> 
> Nowadays I just bored to get mail from illegal hostnames and I created a
> diff against vanilla qmail-1.03 (see attachment).
> 
> It is simple.  It checks for a DNS entry for the MAIL FROM domain if
> control/mfcheck or the MFCHECK environment variable is set to nonzero.
> 
> Please check it out.  Any comments/bugfixes/etc are welcomed.

A) It's been done before.

B) You've implemented it wrong.  Your patch will reject mail from @vix.com,
for example.  You're only checking for A records.  You also need to check
for MX records.


> Regards: Kevin (Balazs)
> 


-- 
Sam

Reply via email to