98bb4e9 IPA-EPN: First version.

Authored and Committed by François Cami 3 years ago
    IPA-EPN: First version.
    
    EPN stands for Expiring Password Notification. It is a standalone
    tool designed to build a list of users whose password would expire
    in the near future, and either display the list in a machine-readable
    format, or send email notifications to these users.
    
    EPN provides command-line options to display the list of affected users.
    This provides data introspection and helps understand how many emails
    would be sent for a given day, or a given date range.
    The command-line options can also be used by a monitoring system to alert
    whenever a number of emails over the SMTP quota would be sent.
    
    EPN is meant to be launched once a day from an IPA client (preferred)
    or replica from a systemd timer.
    
    EPN does not keep state. The list of affected users is built at runtime
    but never kept.
    
    TLS/STARTTLS SMTP code is untested and unlikely to work as-is.
    
    Parts of code contributed by Rob Crittenden.
    Ideas and feedback contributed by Christian Heimes and Michal Polovka.
    
    Fixes: https://pagure.io/freeipa/issue/3687
    Signed-off-by: François Cami <fcami@redhat.com>
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Michal Polovka <mpolovka@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Michal Polovka <mpolovka@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+6 -2
file added
+25
file modified
+3 -1
file added
+119
file modified
+19 -0
file modified
+6 -2
file modified
+1 -0