Zhang Huangbin avatar Zhang Huangbin committed 6175dc2

Add iredmail version info in /etc/iredmail-release.

Comments (0)

Files changed (3)

iRedMail/dialog/config_via_dialog.sh

 
 # Welcome message.
 ${DIALOG} \
-    --title "Welcome and thanks for use" \
+    --title "Welcome and thanks for your use" \
     --yesno "\
 Thanks for your use of ${PROG_NAME}.
 Bug report, feedback, suggestion are always welcome.

iRedMail/functions/cleanup.sh

 
 cleanup()
 {
+    cat > /etc/${PROG_NAME_LOWERCASE}-release <<EOF
+${PROG_NAME}-${PROG_VERSION}
+EOF
+
     cat <<EOF
 
 *************************************************************************

iRedMail/functions/postfix.sh

 
     # Per-domain transport maps.
     cat > ${mysql_transport_maps_domain_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 
     # Per-user transport maps.
     cat > ${mysql_transport_maps_user_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_virtual_mailbox_domains_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_relay_domains_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_virtual_mailbox_maps_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_virtual_alias_maps_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_domain_alias_maps_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_catchall_maps_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_domain_alias_catchall_maps_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_sender_login_maps_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_sender_bcc_maps_domain_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_sender_bcc_maps_user_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_recipient_bcc_maps_domain_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
 EOF
 
     cat > ${mysql_recipient_bcc_maps_user_cf} <<EOF
+${CONF_MSG}
 user        = ${MYSQL_BIND_USER}
 password    = ${MYSQL_BIND_PW}
 hosts       = ${mysql_server}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.