On 29/4/21 10:44, P V Anthony wrote:
On 27/4/2021 2:11 pm, Viktor Dukhovni wrote:

http://www.postfix.org/postconf.5.html#smtpd_discard_ehlo_keyword_address_maps
http://www.postfix.org/postconf.5.html#smtpd_discard_ehlo_keywords

   smtpd-ehlo-discard.cidr:
     # NetName:        MERCK1
     # NetHandle:      NET-155-91-0-0-1
     155.91.0.0/16     starttls

   main.cf:
     cidr = cidr:${config_directory}/
     smtpd_discard_ehlo_keyword_address_maps = ${cidr}smtpd-ehlo-discard.cidr

Sorry for the late reply.

Thank you very much for the instructions with examples. I do appreciate it very much.

I have done the setting in postfix. Will report back on the result.

I am happy to say the above configuration is working well.

Just to confirm what the above configuration is doing, am I correct to say that, for any connections coming from 155.91.0.0/16, the starttls is not allowed.

P.V.Anthony

Reply via email to