Releases: johnfawcett/checkauthlog
V3.2.1
V3.1.1
Updated regex that matches postfix log lines to take account of postf… …ix smtpd_client_port_logging option. This now works whether the option is set to yes or no.
V3.1.0
comment update
V3.0.0
Support for syslog (enabled by default)
Support for log level (for syslog and for standard output)
New configuration variable ignored_users to avoid listed users being subject to checks. Comma separated list of logins
New configuration variable ignored_ips to avoid logging listed ips or ranges. Comma separated list of ips or cidr ranges.
Ability to notify users their account has been blocked (only useful if the block does not prevent them receiving and reading email)
Self checking: the script notifies you if it fails to find new log lines after a certain interval (default 1 hour) or new logins after a certain interval (default 1 day - but should be customized to what you expect)
Self checking is enabled by default but can be turned off if not needed.
Support for sending self check notifications to the admin via email (not really needed if you run from crontab since you receive the standard output anyway) but for some might be useful
A new variable that can be used in mysql queries %l (lower case L) which matches the local part of the user name before the @