Last active
March 25, 2017 11:26
-
-
Save netscylla/0ccd2db4e341138fed36ee31ae7a5dbd to your computer and use it in GitHub Desktop.
install-postfix.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "postfix postfix/mailname string smtp.example.com" | debconf-set-selections | |
echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections | |
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' -f -q -y install postfix postfix-mysql dovecot-core dovecot-imapd dovecot-lmtpd dovecot-mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment