Wietse Venema via Postfix-users: > Matus UHLAR - fantomas via Postfix-users: > > hello, > > > > as I maintain some mail gateways with postfix, I would like to discard the > > DSN ehlo keyword, from all hosts but internal network. > > > > I see that with smtpd_discard_ehlo_keyword_address_maps > > "Tables will be searched in the specified order until a match is found." > > > > but is it possible to allow all keywords from internal network and drop DSN > > from everywhere else? > > > > should I use workaround and use dummy silend-discard without other keyword? > > > > smtpd_discard_ehlo_keyword_address_maps = > > cidr:{ {10/8 silent-discard} {0/0 silent-discard,dsn} } > > smtpd_discard_ehlo_keyword_address_maps = > cidr:{ {!10/8 silent-discard,dsn} }
But that does not generalize to hosts with IPv4 and IPv6. In that case, your approach will be more suitable. > > Does smtpd_discard_ehlo_keyword_address_maps override value in > > smtpd_discard_ehlo_keywords if a match is found? > > Yes. Otherwise, smtpd_discard_ehlo_keyword_address_maps would > be usless. > > Wietse > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org > _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org