Skip to content

Commit

Permalink
Update passpoll.sh
Browse files Browse the repository at this point in the history
Added path of sendmail in new ZCS version
  • Loading branch information
jcricaud authored Jan 25, 2019
1 parent a233b7e commit 0e80f2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions passpoll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ DOMAIN=""
ADMIN_RECIPIENT="[email protected]"

# Sendmail executable
# Uncomment line corresponding to your ZCS version
#Before ZCS 8.9
SENDMAIL=$(ionice -c3 find /opt/zimbra/postfix* -type f -iname sendmail)
#From ZCS 8.9
#SENDMAIL=$(ionice -c3 find /opt/zimbra/common/sbin -type f -iname sendmail)

# Get all users - it should run once only.
USERS=$(ionice -c3 /opt/zimbra/bin/zmprov -l gaa $DOMAIN)
Expand Down

0 comments on commit 0e80f2d

Please sign in to comment.