RV Products Forums: HELO tests - reject instead of delay? - RV Products Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HELO tests - reject instead of delay? http://www.rvskin.com/index.php?page=public/antispam#4

#1 User is offline   webignition 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 16-March 06

Posted 16 March 2006 - 05:40 PM

I find the HELO tests listed at http://www.rvskin.com/index.php?page=public/antispam#4 to be very useful.

However I've been advised that using delays is not a good idea. In some situations, I'd prefer to reject mail rather than delay.

For example, consider the following ACL:

CODE
deny message = Hacked HELO: you are not $sender_helo_name
condition = ${if match {$sender_helo_name}{\N^[A-Z0-9]+\.[a-z]+$\N}{yes}{no}}
condition = ${if match {$sender_helo_name}{\N^[0-9]+\.[a-z]+$\N}{no}{yes}}
!hosts = @[]
!hosts = +rv_relay_hosts
!authenticated = *
delay = 3s


In such situations, the sending host will be pretending it is someone it is not. Assuming that no hosts sending valid mail would do something so silly, I have no interest in any such messages and so I would like to reject them instead of issue a 3 second delay.

So, my rather simple question is: how could I modify the above ACL to reject rather than delay?
0

#2 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,345
  • Joined: 13-June 03

Posted 16 March 2006 - 11:28 PM

Remove the last line 'delay = 3s'. That's it.
0

#3 User is offline   webignition 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 16-March 06

Posted 17 March 2006 - 03:21 AM

Thanks so much!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic