On Wed, May 29, 2019 at 09:54:36AM +0200, Pierre-Edouard wrote: > > Le 26/05/2019 ?? 17:22, Gilles Chehade a ??crit??: > > On Sun, May 26, 2019 at 09:53:46AM +0200, Pierre-Edouard wrote: > > > Hi All, > > > > > Hi, > > > > > > > I am currently running OpenSMTPD on OpenBSD 6.5 GENERIC.MP#0 amd64 > > > > > > I am trying to "filter" connexions coming from hosts that don't have any > > > rdns defined. > > > Such hosts appear as <unknown> in the logs. > > > > > > I've tried the following without any results : > > > > > > > > > table bots {"NXDOMAIN", "\<unknown\>" , ".*unknown.*", "^$" } > > > match from rdns regex <bots> for any reject > > > > > > but this rule never matches and hosts without rDNS are still able to send > > > me > > > mail :( > > > > > > Any ideas ? > > > > > the 'from rdns' criteria will fail to match if the client doesn't have a > > reverse dns, so a way to catch them would be: > > > > match !from rdns regex '^.*$' [...] > > > > i'll have a look at how to extend the criteria so we can do: > > > > match !from rdns [...] > > > > but this is not the highest thing in my prio list right now :-) > > > > > Thanks for your answer ! > > Unfortunately the workaround above does not work, it does not match with no > rDNS hosts :-( >
okie dokie, can you fill a feature request on our tracker at github ? i'll take care of it soon -- Gilles Chehade @poolpOrg https://www.poolp.org tip me: https://paypal.me/poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org