Add some more (default) settings to global configuration 'sympa.conf'.
This commit is contained in:
		
							
								
								
									
										4754
									
								
								OLD/install_sympa.sh.01
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4754
									
								
								OLD/install_sympa.sh.01
									
									
									
									
									
										Executable file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -3449,6 +3449,94 @@ EOF | ||||
|                     See '${_log_file}' for further informations." | ||||
|    fi | ||||
|  | ||||
|    echo "" >> $_log_file | ||||
|    echo "## - Add \"shared_feature on\" to file ${SYMPA_MAIN_CONF_DIR}/sympa.conf .." >> $_log_file | ||||
|    echo "## -" >> $_log_file | ||||
|    echononl "\tAdd \"shared_feature on\" to file ${SYMPA_MAIN_CONF_DIR}/sympa.conf .." | ||||
|    echo "cat << EOF > ${SYMPA_MAIN_CONF_DIR}/sympa.conf | ||||
|  | ||||
| # Upgrade from 6.2.40 to 6.2.42 | ||||
| # 06. Jun 2019 um 14:02:54 | ||||
| # | ||||
| # Enable shared repository | ||||
| # | ||||
| shared_feature on | ||||
| EOF" >> $_log_file | ||||
|    cat << EOF >> ${SYMPA_MAIN_CONF_DIR}/sympa.conf 2>> $_log_file | ||||
|  | ||||
| # Upgrade from 6.2.40 to 6.2.42 | ||||
| # 06. Jun 2019 um 14:02:54 | ||||
| # | ||||
| # Enable shared repository | ||||
| # | ||||
| shared_feature on | ||||
| EOF | ||||
|    if [ "$?" = "0" ]; then | ||||
|       echo_ok | ||||
|    else | ||||
|       echo_failed | ||||
|       error "Cannot set \"shared_feature\" in file \"${SYMPA_MAIN_CONF_DIR}/sympa.conf\"! \n | ||||
|                     See '${_log_file}' for further informations." | ||||
|    fi | ||||
|  | ||||
|    echo "" >> $_log_file | ||||
|    echo "## - Add \"personalization.mail_apply_on footer\" and others to file ${SYMPA_MAIN_CONF_DIR}/sympa.conf .." >> $_log_file | ||||
|    echo "## -" >> $_log_file | ||||
|    echononl "\tAdd \"personalization.mail_apply_on footer\" and others to file ${SYMPA_MAIN_CONF_DIR}/sympa.conf .." | ||||
|    echo "cat << EOF > ${SYMPA_MAIN_CONF_DIR}/sympa.conf | ||||
|  | ||||
| # Upgrade from 6.2.58 to 6.2.60 | ||||
| # | ||||
| # Personalization (also known as “merge feature”) is now subject to the following restrictions: | ||||
| # | ||||
| #    Allowed only for messages posted from the web interface | ||||
| #    Applied only to the header and the footer of the message | ||||
| # | ||||
| # The restrictions can be configured with the new personalization list parameter. Listmasters | ||||
| # are advised to review the current usage of template variables and adjust the configuration | ||||
| # accordingly. | ||||
| # | ||||
| # Note: | ||||
| #  the default for e-mail created at webinterface (web_apply_on) is 'footer' | ||||
| #  the default for mail delivery is 'none' | ||||
| # | ||||
| # We want this feature set to 'footer' also for mail delivery | ||||
| # | ||||
| personalization_feature on | ||||
| personalization.web_apply_on footer | ||||
| personalization.mail_apply_on footer | ||||
| EOF" >> $_log_file | ||||
|    cat << EOF >> ${SYMPA_MAIN_CONF_DIR}/sympa.conf 2>> $_log_file | ||||
|  | ||||
| # Upgrade from 6.2.58 to 6.2.60 | ||||
| # | ||||
| # Personalization (also known as “merge feature”) is now subject to the following restrictions: | ||||
| # | ||||
| #    Allowed only for messages posted from the web interface | ||||
| #    Applied only to the header and the footer of the message | ||||
| # | ||||
| # The restrictions can be configured with the new personalization list parameter. Listmasters | ||||
| # are advised to review the current usage of template variables and adjust the configuration | ||||
| # accordingly. | ||||
| # | ||||
| # Note: | ||||
| #  the default for e-mail created at webinterface (web_apply_on) is 'footer' | ||||
| #  the default for mail delivery is 'none' | ||||
| # | ||||
| # We want this feature set to 'footer' also for mail delivery | ||||
| # | ||||
| personalization_feature on | ||||
| personalization.web_apply_on footer | ||||
| personalization.mail_apply_on footer | ||||
| EOF | ||||
|    if [ "$?" = "0" ]; then | ||||
|       echo_ok | ||||
|    else | ||||
|       echo_failed | ||||
|       error "Cannot set \"personalization.web_apply_on\" in file \"${SYMPA_MAIN_CONF_DIR}/sympa.conf\"! \n | ||||
|                     See '${_log_file}' for further informations." | ||||
|    fi | ||||
|  | ||||
|  | ||||
|    ## - Set owner/group for \"sympa.conf\".. | ||||
|    ## - | ||||
|   | ||||
		Reference in New Issue
	
	Block a user