Re: Sender Domain check with smtpfront-qmail

Thomas Rabe <[email protected]> Wed, 20 Dec 2006 16:45:34 +0100
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
[email protected] wrote:

>>  For
>> qmail-smtpd is a patch available (mfcheck) which checks the sender
>> domain at smtp-level against DNS and reject if it's non-existant. Is it
>> possible to get this feature work with smtpfront-qmail?
> 
> It is possible, and would be fairly straightforward to write up as a
> plugin, but no one has done so yet.

Hi,

just looked into the qmail-mfcheck patch
(http://www.qmail.org/qmail-1.03-mfcheck.3.patch), it's asking the dns
for the mx ip. How should such dns functions implement in a plugin?
Linking against some unix libs (what libs provide such functions), or
copying the relevant qmail-source files?

Btw, an other sender check i'm interested is to validate the From:
address with cvm-vmailmgr if the domain is in my rcpthosts file. I get
spam-messages like this:
From: invalid_user@mydomain
To: valid_user@mydomain
and want to reject them.


Greetings,

Thomas Rabe.