Changeset 8265 for sandbox/2.5.1-evolucao/INSTALL
- Timestamp:
- 11/25/13 17:17:06 (10 years ago)
- Location:
- sandbox/2.5.1-evolucao/INSTALL
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.1-evolucao/INSTALL/arquivos/expresso-cron
r8137 r8265 5 5 6 6 # Utilizado para verificar se ha algum alarme, por e-mail, do modulo ExpressoCalendar 7 #CENTOS*/1 * * * * apache phpEXPRESSO_DIR/prototype/modules/calendar/alarms.php 1>& /dev/null8 #DEBIAN*/1 * * * * www-data php5EXPRESSO_DIR/prototype/modules/calendar/alarms.php 1>& /dev/null7 #CENTOS*/1 * * * * apache php EXPRESSO_DIR/prototype/modules/calendar/alarms.php 1>& /dev/null 8 #DEBIAN*/1 * * * * www-data php5 EXPRESSO_DIR/prototype/modules/calendar/alarms.php 1>& /dev/null 9 9 10 10 # Utilizado para limpar a tabela, temporaria, que contem os e-mails (rascunhos) antes de 11 11 # serem salvos no IMAP. 12 #CENTOS00 02 * * * apache php EXPRESSO_DIR/prototype/modules/mail/cleanMailAttachments.php13 #DEBIAN00 02 * * * www-data php5 12 #CENTOS00 02 * * * apache php EXPRESSO_DIR/prototype/modules/mail/cleanMailAttachments.php 13 #DEBIAN00 02 * * * www-data php5 EXPRESSO_DIR/prototype/modules/mail/cleanMailAttachments.php 14 14 15 15 # Utilizado para limpar a tabela de registros de acesso, sessoes, do Expresso (phpgw_access_log) 16 #CENTOS00 22 * * * apache php EXPRESSO_DIR/phpgwapi/cron/clean_phpgw_tables.php17 #DEBIAN00 22 * * * www-data php5 16 #CENTOS00 22 * * * apache php EXPRESSO_DIR/phpgwapi/cron/clean_phpgw_tables.php 17 #DEBIAN00 22 * * * www-data php5 EXPRESSO_DIR/phpgwapi/cron/clean_phpgw_tables.php 18 18 19 19 # Utilizado para limpar os arquivos de sessao do PHP 20 #*/31 * * * * rootfind /dev/shm -type f -name "sess_*" -cmin 240 -print0 | xargs -n 200 -r -0 rm21 */31 * * * * rootfind /dev/shm -type f -name "sess_*" -cmin +240 -delete20 #*/31 * * * * root find /dev/shm -type f -name "sess_*" -cmin 240 -print0 | xargs -n 200 -r -0 rm 21 */31 * * * * root find /dev/shm -type f -name "sess_*" -cmin +240 -delete 22 22 23 23 # Utilizado para limpar os arquivos, eml, criados ao exportar mensagens 24 #13 */4 * * * root find /tmp/ -iname "*.eml" -amin +60 -exec rm -f '{}' \; 25 13 */4 * * * root find /tmp/ -iname "*.eml" -cmin +60 -delete 24 #13 */4 * * * root find /tmp/ -iname "*.eml" -amin +60 -exec rm -f '{}' \; 25 13 */4 * * * root find /tmp/ -iname "*.eml" -cmin +60 -delete 26 27 # Para o DSPAM 28 #*/15 * * * * root pidof dspam 1&> /dev/null ; [ $? -ne 0 ] && service dspam restart 26 29 27 30 # -
sandbox/2.5.1-evolucao/INSTALL/arquivos/scripts/smtp.sh
r7503 r8265 11 11 sed -e "s/DOMAIN/$DOMAIN/g" $DIR_POSTFIX/transport > /etc/postfix/transport 12 12 cp $DIR_POSTFIX/master.cf /etc/postfix/ 13 sed -e "s/LDAP_DN/$LDAP_DN/g" $ARQS/scl.pl > /etc/postfix/scl.pl 14 chmod a+x /etc/postfix/scl.pl 13 15 14 16 postmap /etc/postfix/expresso-dominios … … 20 22 smtp_rhel () 21 23 { 22 yum -y install postfix 24 yum -y install postfix perl-LDAP 23 25 24 26 smtp $1 … … 36 38 smtp_debian () 37 39 { 38 apt-get -y install postfix postfix-ldap 40 apt-get -y install postfix postfix-ldap libnet-ldap-perl 39 41 40 42 smtp $1 -
sandbox/2.5.1-evolucao/INSTALL/debian/squeeze/etc/postfix/main.cf
r8137 r8265 108 108 cra_maillists_chase_referral = 0 109 109 cra_maillists_search_base = $ldapbase 110 cra_maillists_query_filter = (&( mail=%s)(phpgwAccountType=l)(accountRestrictive=mailListRestriction))110 cra_maillists_query_filter = (&(|(mail=%s)(mailAlternateAddress=%s))(phpgwAccountType=l)(accountRestrictive=mailListRestriction)) 111 111 cra_maillists_result_attribute = accountRestrictive 112 112 cra_maillists_domain = hash:/etc/postfix/expresso-dominios … … 166 166 #SCL - Sender Control List - Restricoes para envio nas listas 167 167 smtpd_restriction_classes = mailListRestriction 168 mailListRestriction = check_sender_access ldap:csa_maillists, 169 reject 168 mailListRestriction = check_policy_service unix:private/scl 170 169 171 -
sandbox/2.5.1-evolucao/INSTALL/debian/squeeze/etc/postfix/master.cf
r5797 r8265 75 75 ${nexthop} ${user} 76 76 77 # Script para controle de envio nas listas de discussão 78 scl unix - n n - 0 spawn 79 user=nobody argv=/usr/bin/perl /etc/postfix/scl.pl 80 -
sandbox/2.5.1-evolucao/INSTALL/rhel/6/etc/postfix/main.cf
r8137 r8265 166 166 #SCL - Sender Control List - Restricoes para envio nas listas 167 167 smtpd_restriction_classes = mailListRestriction 168 mailListRestriction = check_sender_access ldap:csa_maillists, 169 reject 168 mailListRestriction = check_policy_service unix:private/scl 170 169 171 170 # LOCAL PATHNAME INFORMATION -
sandbox/2.5.1-evolucao/INSTALL/rhel/6/etc/postfix/master.cf
r5797 r8265 78 78 bsmtp unix - n n - - pipe 79 79 flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient 80 81 # Script para controle de envio nas listas de discussão 82 scl unix - n n - 0 spawn 83 user=nobody argv=/usr/bin/perl /etc/postfix/scl.pl 84
Note: See TracChangeset
for help on using the changeset viewer.