Changeset 4f7cda5 for npl/mailserver/netqmail_conf/root
- Timestamp:
- 04/25/18 20:56:16 (7 years ago)
- Branches:
- gcc484, master, perl-5.22
- Children:
- 4d0b1ea
- Parents:
- b26e5aa
- Location:
- npl/mailserver/netqmail_conf/root
- Files:
-
- 26 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
npl/mailserver/netqmail_conf/root/usr/bin/syn3-dagent
rb26e5aa r4f7cda5 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.