mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-18 07:04:59 -05:00
19 lines
378 B
Plaintext
Executable File
19 lines
378 B
Plaintext
Executable File
set -x
|
|
|
|
apt-get update
|
|
echo "1" | apt-get install postfix postfix-mysql postfix-pcre --yes
|
|
apt-get install sasl2-bin --yes
|
|
|
|
cp sudoers.d-postfix-user /etc/sudoers.d/postfix-user
|
|
chmod 0440 /etc/sudoers.d/postfix-user
|
|
|
|
cd /etc/postfix
|
|
rm main.cf
|
|
rm master.cf
|
|
|
|
ln -fs /home/postfix-user/config/main.cf
|
|
ln -fs /home/postfix-user/config/master.cf
|
|
ln -fs /home/postfix-user/config
|
|
|
|
|