Ignore:
Timestamp:
05/17/18 15:00:08 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
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.
Message:

Merge branch 'gcc483'

File:
1 moved

Legend:

Unmodified
Added
Removed
  • npl/mailserver/netqmail_conf/root/usr/bin/syn3-dagent

    r94ad01e ra39aa4c  
    4545fi
    4646
    47 #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
     47# #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
    5757
    5858#check zarafa is up, and deliver it there:
     
    6767fi
    6868
     69#check kopano is up, and deliver it there:
     70if 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
     78fi
     79
    6980#no backend mailstorage up, so fail temporary
    7081echo "All mailbackends are down, retry again later..."
Note: See TracChangeset for help on using the changeset viewer.