source: sandbox/doc-expressolivre/arquivos/scripts/imap.sh @ 2245

Revision 2245, 636 bytes checked in by wmerlotto, 14 years ago (diff)

Ticket #965 - Arquivos duplicados e referencias foram removiadas.

Line 
1
2# CYRUS
3cyrus () {
4        cp ./arqs-conf-rhel5/etc/imapd.conf /etc/
5        cp ./arqs-conf-rhel5/etc/cyrus.conf /etc/
6        sed -e "s/LDAP_DN/$LDAP_DN/g" ./arqs-conf-rhel5/etc/saslauthd.conf > /etc/saslauthd.conf
7        cp ./arqs-conf-rhel5/etc/sysconfig/saslauthd /etc/sysconfig/
8        cp -p ./arqs-conf-rhel5/usr/bin/cyradm_expresso /usr/bin/
9
10# Por algum motivo, ainda desconhecido para mim, esta chamada não é executada corretamente dentro da função "cyrus"
11./arqs-conf-rhel5/cyrus.pl $LDAP_PWD
12
13        service saslauthd restart
14        chkconfig saslauthd on
15        sleep 4
16
17        service cyrus-imapd restart
18        chkconfig cyrus-imapd on
19
20        #./arqs-conf-rhel5/cyrus.pl $LDAP_PWD
21}
22
23
Note: See TracBrowser for help on using the repository browser.