Menu

#82 patch: courier pop3d 5.2.6 "LOGIN" line changed and no longer matches

v7.10
closed-accepted
nobody
None
5
2024-05-26
2024-03-14
No

This patch fixes pop3d script to recognize a new longer LOGIN line that courier pop3d version 5.2.6 started writing. Without this, logwatch tends to report them as unrecognized lines, and there tends to be a lot of them...

I'm not sure this is actually the best approach (it still tries to match the entire line). Maybe it would be better to just match the beginning of the line (the part logwatch cares about), and ignore whatever suffix they append and/or change after that? (By just dropping the final "(?:, port=[\d+])?$" part of the regular expression (especially the "$"), rather than extending it with more optional stuff...)

1 Attachments

Discussion

  • Bjorn

    Bjorn - 2024-05-26
    • status: open --> closed-accepted
     
  • Bjorn

    Bjorn - 2024-05-26

    Thanks for the patch. Previously incorporated in version 7.9, so just updating the status.

     

Log in to post a comment.