On Sun, 12 Jul 2009, Noel Jones wrote:

> Keld Jørn Simonsen wrote:
>> But I would like to try out seeing what effect rejecting mail without a
>> MX RR wil have. Can I do that in postfix, possibly by specifying
>> something in the file for check_sender_mx_access . I did google for it.
>
> No, postfix has no built-in function for this.  You can use a policy 
> server with warn_if_reject to see what affect it will have.

This is silly, but if the OP must do it, it's possible with postfwd:

   id=NO_MX_CHECK; sender_mx_names=^$ ; \
     action=WARN We violate RFCs and reject mail without a MX RR.

s/WARN/REJECT/ if you decide to actually block such mail.

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to