Hi all,

I have this simple setup:

acl_smtp_helo = acl_check_helo

begin acl

acl_check_helo:

  deny  message       = Your host did not present HELO/EHLO greeting.
log_message = SPAM remote host did not present HELO/EHLO greeting.
        condition     = ${if def:sender_helo_name {false}{true}}

  deny  message       = WE DON'T RELAY
        log_message   = SPAM remote host has blacklisted HELO.
condition = ${lookup{$sender_helo_name}lsearch{/etc/exim/reject/helo}{yes}{no}}

  accept

It works as expected, except that if I insist after the first 550 error, the message still goes through...

Here's the session:
# telnet mail.asesoft.ro 25
Trying 46.108.58.132...
Connected to mail.asesoft.ro.
Escape character is '^]'.
220 mail.asesoft.ro ESMTP
helo 192.168.96.20
550 WE DON'T RELAY
mail from: m...@asesoft.ro
250 OK
rcpt to: m...@asesoft.ro
250 Accepted
data
354 Enter message, ending with "." on a line by itself
hello
.
550 Message scored 5.2 spam points.
quit
221 mail.asesoft.ro closing connection
Connection closed by foreign host.


How can I overcome this ?

Thanks,
Marius

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to