[exim-dev] [Bug 3092] New: synprot error should invoke notqu…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Bugzilla
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 3092] New: synprot error should invoke notquit ACL
https://bugs.exim.org/show_bug.cgi?id=3092

            Bug ID: 3092
           Summary: synprot error should invoke notquit ACL
           Product: Exim
           Version: 4.97
          Hardware: x86-64
                OS: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
          Assignee: jgh146exb@???
          Reporter: Lena@???
                CC: exim-dev@???


Documentation says:

When the not-QUIT ACL is running, the variable $smtp_notquit_reason is set to a
string that indicates the reason for the termination of the SMTP connection.
The possible values are:
...
bad-commands Too many unknown or non-mail commands
connection-lost The SMTP connection has been lost
...

"connection-lost" works as intended. But:

In my config I have smtp_max_synprot_errors = 0
For a test I included into the very beginning of the notquit ACL:

warn logwrite = :main,reject: $sender_host_address notquit_reason:
$smtp_notquit_reason

Then I connected (with telnet) and gave two commands:

ehlo test
invalid

In mainlog:

SMTP call from *** (test) [***] dropped: too many syntax or protocol errors
(last command was "invalid", C=EHLO)
no MAIL in SMTP connection from *** (test) [***] D=12s C=EHLO

The notquit ACL isn't invoked. For me it's a bug, I need notquit ACL in such
cases to catch bots.

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/