Changeset a39aa4c for npl/mailserver/netqmail_conf/root/usr/bin/syn3-dagent
- Timestamp:
- 05/17/18 15:00:08 (7 years ago)
- Branches:
- master, perl-5.22
- Children:
- b4abfab
- Parents:
- 94ad01e (diff), f690de8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
npl/mailserver/netqmail_conf/root/usr/bin/syn3-dagent
r94ad01e ra39aa4c 45 45 fi 46 46 47 # check cyrus is up, and deliver it there:48 if /usr/bin/pgrep -f -x /usr/cyrus/bin/master ; then49 if [ "$SPAM" ]; then50 /usr/cyrus/bin/deliver -a "$USER" -m Spam "$USER" < $MAIL51 end $?52 else53 /usr/cyrus/bin/deliver -a "$USER" "$USER" < $MAIL54 end $?55 fi56 fi47 # #check cyrus is up, and deliver it there: 48 # if /usr/bin/pgrep -f -x /usr/cyrus/bin/master ; then 49 # if [ "$SPAM" ]; then 50 # /usr/cyrus/bin/deliver -a "$USER" -m Spam "$USER" < $MAIL 51 # end $? 52 # else 53 # /usr/cyrus/bin/deliver -a "$USER" "$USER" < $MAIL 54 # end $? 55 # fi 56 # fi 57 57 58 58 #check zarafa is up, and deliver it there: … … 67 67 fi 68 68 69 #check kopano is up, and deliver it there: 70 if pidof kopano-server >/dev/null; then 71 if [ "$SPAM" ]; then 72 /usr/bin/kopano-dagent "$USER" -q -j < $MAIL 73 end $? 74 else 75 /usr/bin/kopano-dagent "$USER" -q < $MAIL 76 end $? 77 fi 78 fi 79 69 80 #no backend mailstorage up, so fail temporary 70 81 echo "All mailbackends are down, retry again later..."
Note: See TracChangeset
for help on using the changeset viewer.