test Drupal site working on Koality Theme Builder
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 rivejä
376 B

#!/bin/bash
# set up ssmtp
if [[ $SESmailhub ]]; then
cat << EOF > /etc/ssmtp/ssmtp.conf
debug=yes
mailhub=$SESmailhub
Hostname=$HOSTNAME
FromLineOverride=yes
UseSTARTTLS=yes
EOF
fi
if [[ $SESAuthUser ]]; then
cat << EOF >> /etc/ssmtp/ssmtp.conf
$SESAuthUser
EOF
fi
if [[ $SESAuthPass ]]; then
cat << EOF >> /etc/ssmtp/ssmtp.conf
$SESAuthPass
EOF
fi
apache2-foreground