Skip to content

Problem with authenticated user, sendmail auth and rule '\[<HOST>\] \(may be forged\)' #3058

Answered by sebres
jobst asked this question in Q&A
Discussion options

You must be logged in to vote

if they are authenticated don't bother to check other rules

An how one would detect it? From your log excerpt it is not obvious, or else you removed such lines since "killed many lines that arent needed here".
Anyway there is indeed a way to do that, there are tags <F-MLFFORGET> and <F-MLFGAINED> which allow to forget previous pending failures by multi-line parsing with <F-MLFID> with same session ID, see an example in sshd-filter:

^<F-MLFFORGET><F-MLFGAINED>Accepted \w+</F-MLFGAINED></F-MLFFORGET> for <F-USER>\S+</F-USER> from <HOST>(?:\s|$)

Just you must also ensure to capture the user name (tag <F-USER>) to avoid…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jobst
Comment options

@sebres
Comment options

Answer selected by jobst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants