FAQ

On Mon, 2014-11-03 at 02:24 +0100, Bertrand Caplet wrote:


I do think so too, I tried this way and I can ban the domain in from
header.
But not in reverse DNS via IP I guess. I searched for it in google but
can't find.
Maybe I could do this with iptables/ufw I'll see

Bonjour Bertrand,


Try .....................




acl_check_connection:


deny message = [SNA03] Rejected. Sender's IP address has no Host name. \
                          Ask your technical experts to rectify the problem.
         condition = ${lookup dnsdb{ptr=$sender_host_address} {0}{1} }


deny message = [SNA04] Rejected. Sender's Host has No Reverse DNS. \
                         Ask your technical experts to rectify the problem.
         condition = ${if and{{def:sender_host_address}{!def:sender_host_name}} \
                         {yes}{no}}


deny message = [SNA08] Host name not genuine mail server. Complaints to: \
                          xxxxx at gmail.com
         condition = ${if match{$sender_host_name} \
                         {^.*[0-9]+[\\-|\\.|_][0-9]+[\\-|\\.|_][0-9]+[\\-|\\.|_]*.*}}
         !hosts = EXDIR/hosts.a8
         delay = 5s




deny message = [SNA13] Your mail server's host name, $sender_host_name, \
                         resembles a home Internet connection. \
                         Complaints to: xxxxx at gmail.com
         condition = ${if match{${lc:$sender_host_name}} \
  {(broadband|client|customer|dsl|dyn|dynamic|home|static|user)(\\d|\\.|\\-|ip)} \
                          {1}{} }
         !condition = ${if match{${lc:$sender_host_name}} \
                          {smarthost|pndsl\\.co\\.uk} {1}{} }








--
Regards,


Paul.
England, EU.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedNov 3, '14 at 4:31p
activeNov 3, '14 at 4:36p
posts2
users1
websitecentos.org
irc#centos

1 user in discussion

Always Learning: 2 posts

People

Translate

site design / logo © 2021 Grokbase