natan maciej milaszewski: > Hi > In e-mail incoming I need a MX restrictions - allow only domain who have > add MX in DNS - I known this is not RFC friendly ... > > Are there any solutions ready to be imported?
Postfix implements the SMTP protocol by book standard, so you will have to implement the "reject if no MX record" check with a plugin, perhaps using http://www.postfix.org/SMTPD_POLICY_README.html. The easiest path is to take an existing plugin and modify it. (like the Postfix SMTP client, check_sender_mx_access will pretend that a name without MX record is the name of the MX host). Wiete
