#!/bin/bash #################################################################################################### #### author: SlickStack ############################################################################ #### link: https://slickstack.io ################################################################### #### mirror: http://mirrors.slickstack.io/bash/ss-install-postfix.txt ############################## #### path: /var/www/ss-install-postfix ############################################################# #### destination: n/a (not a boilerplate) ########################################################## #### purpose: Reinstalls the entire Postfix module for SlickStack servers (idempotent) ############# #### module version: Postfix x.x.x ################################################################# #### sourced by: ss-install ######################################################################## #################################################################################################### ## SS-CONFIG MUST BE PROPERLY CONFIGURED AND ON CURRENT BUILD BEFORE RUNNING SS-INSTALL ## ## ENSURE YOUR SS-CONFIG BUILD REMAINS CURRENT BY RUNNING SS-UPDATE OCCASIONALLY ## ## include SlickStack configuration ## source /var/www/ss-config ## include SlickStack functions ## source /var/www/ss-functions #################################################################################################### #### SS-Install-Postfix: Cleanup Temporary Files ################################################### #################################################################################################### ## delete tmp files ## # n/a #################################################################################################### #### SS-Install-Postfix: Reset Permissions (Postfix) ############################################### #################################################################################################### ## run ss-perms-postfix ## source /var/www/ss-perms-postfix #################################################################################################### #### SS-Install-Postfix: Cleanup Temporary Files ################################################### #################################################################################################### ## delete tmp files ## # n/a #################################################################################################### #### SS-Install-Postfix: Touch Timestamp File (End Script) ######################################### #################################################################################################### ## this is a dummy timestamp file that will remember the last time this script was run ## ## it can be useful for developer reference and is sometimes used by SlickStack ## ## script timestamp ## touch /var/www/meta/.timestamp-ss-install-postfix #################################################################################################### #### SlickStack: External References Used To Improve This Script (Thanks, Interwebz) ############### #################################################################################################### ## Ref: ## SS_EOF