]> andersk Git - moira.git/blobdiff - gen/postoffice.sh
Don't create mailboxes for deactivated users.
[moira.git] / gen / postoffice.sh
index eb8bc2ea0b67372bcfd996e8fa9bdd4ae8fe7b54..c6078cdf7bea3b0097eb7ba4b19240b7bc3065c2 100644 (file)
@@ -76,10 +76,6 @@ if [ $? != 0 ]; then
        exit ${MR_NOCRED}
 fi
 
-if [ -r {$IMAP_MBOXES} ]; then
-       egrep "\..*\." ${IMAP_CONFIG}/mailboxes >> ${IMAP_MBOXES}
-fi
-
 sort -o ${IMAP_MBOXES} ${IMAP_MBOXES}
 
 
@@ -106,7 +102,7 @@ cp ${IMAP_CONFIG}/mailboxes ${IMAP_CONFIG}/mailboxes.save
 LD_LIBRARY_PATH=/usr/local/tcl/lib
 export LD_LIBRARY_PATH
 
-${IMAP_BIN}/cyradm -file ${IMAP_BIN}/sync.cyradm sync -d
+${IMAP_BIN}/sync.pl
 if [ $? != 0 ]; then
        exit ${MR_MKCRED}
 fi
This page took 0.036883 seconds and 4 git commands to generate.