This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internet:mail:zimbra:zimbra_password_policy [2019/08/07 10:18] gcooper |
internet:mail:zimbra:zimbra_password_policy [2022/03/30 08:55] (current) gcooper |
||
---|---|---|---|
Line 70: | Line 70: | ||
===== Expiring Passwords Notification ===== | ===== Expiring Passwords Notification ===== | ||
- | https:// | + | **Original**: |
< | < | ||
Line 102: | Line 102: | ||
</ | </ | ||
- | ==== passpoll.sh ==== | + | ==== Modified |
- | **Original**: https:// | + | This script has been **modified from the original** in several ways, including: |
- | This script has been modified from the original in several ways, including: | + | * **Number of user notifications** |
- | + | * Four including final on last day | |
- | | + | |
- | * Content of user notifications | + | * Instructions to change password |
- | * Content of admin notifications | + | * Zimbra URL |
- | * Daily expired password notifications | + | |
+ | * Include log | ||
+ | | ||
< | < | ||
Line 119: | Line 121: | ||
# Meant to be performed as daily cronjob run as zimbra user. | # Meant to be performed as daily cronjob run as zimbra user. | ||
# redirect output to a file to get a 'log file' of sorts. | # redirect output to a file to get a 'log file' of sorts. | ||
+ | |||
+ | # Start in tmp folder to eliminate permissions warnings | ||
+ | cd /tmp | ||
# Time taken of script; | # Time taken of script; | ||
Line 129: | Line 134: | ||
LAST=" | LAST=" | ||
# Sent from: | # Sent from: | ||
- | FROM=" | + | FROM=" |
# Domain to check, e.g. ' | # Domain to check, e.g. ' | ||
- | DOMAIN= | + | DOMAIN="" |
# Recipient who should receive an email with all expired accounts | # Recipient who should receive an email with all expired accounts | ||
- | ADMIN_RECIPIENT=" | + | ADMIN_RECIPIENT=" |
# URL for your Zimbra in message body | # URL for your Zimbra in message body | ||
- | URL=https:// | + | URL="https:// |
# Sendmail executable | # Sendmail executable | ||
- | # Uncomment line corresponding to your ZCS version | ||
- | #Before ZCS 8.9 | ||
- | # | ||
- | #From ZCS 8.9 | ||
SENDMAIL=$(ionice -c3 find / | SENDMAIL=$(ionice -c3 find / | ||
# Get all users - it should run once only. | # Get all users - it should run once only. | ||
- | USERS=$(ionice -c3 / | + | USERS=$(ionice -c3 / |
#Todays date, in seconds: | #Todays date, in seconds: | ||
Line 185: | Line 186: | ||
Thanks, | Thanks, | ||
- | VA Admin Team | + | Your Zimbra |
" | " | ||
Line 239: | Line 240: | ||
$(echo -e " | $(echo -e " | ||
- | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | + | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- |
Log file: | Log file: |