User Tools

Site Tools


internet:mail:zimbra:zimbra_password_policy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
internet:mail:zimbra:zimbra_password_policy [2022/03/30 08:38]
gcooper
internet:mail:zimbra:zimbra_password_policy [2022/03/30 08:55] (current)
gcooper
Line 130: Line 130:
 # Set some vars: # Set some vars:
 # Notifications in days, then last warning. Don't use 1 as it's assumed. # Notifications in days, then last warning. Don't use 1 as it's assumed.
-FIRST="37"+FIRST="10"
 SECOND="5" SECOND="5"
 LAST="3" LAST="3"
 # Sent from: # Sent from:
-FROM="admin@virtualarchitects.com"+FROM="admin@yourdomain.tld"
 # Domain to check, e.g. 'example.com'; leave blank for all # Domain to check, e.g. 'example.com'; leave blank for all
-DOMAIN="virtualarchitects.com"+DOMAIN=""
 # Recipient who should receive an email with all expired accounts # Recipient who should receive an email with all expired accounts
-ADMIN_RECIPIENT="admin@virtualarchitects.com"+ADMIN_RECIPIENT="admin@yourdomain.tld"
 # URL for your Zimbra in message body # URL for your Zimbra in message body
-URL="https://zimbra.virtualarchitects.com"+URL="https://zimbra.yourdomain.tld"
  
 # Sendmail executable # Sendmail executable
Line 146: Line 146:
  
 # Get all users - it should run once only. # Get all users - it should run once only.
-USERS=$(ionice -c3 /opt/zimbra/bin/zmprov -l gaa $DOMAIN | egrep -v "spam\.|ham\.|galsync\.|virus-quarantine")+USERS=$(ionice -c3 /opt/zimbra/bin/zmprov -l gaa $DOMAIN | egrep -v "spam\.|ham\.|galsync\.|galsync\@|virus-quarantine")
  
 #Todays date, in seconds: #Todays date, in seconds:
internet/mail/zimbra/zimbra_password_policy.1648651121.txt.gz · Last modified: 2022/03/30 08:38 by gcooper