mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-25 20:36:01 +03:00
Added postfix config file to Vagrant to help populate mailboxes
This commit is contained in:
parent
ca5aaa6a36
commit
efa2bd9a51
12
tests/vagrant/Postfix.sh
Normal file
12
tests/vagrant/Postfix.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if which postfix > /dev/null; then
|
||||||
|
echo 'Postfix is already installed'
|
||||||
|
else
|
||||||
|
echo 'Installing Postfix'
|
||||||
|
sudo debconf-set-selections <<< "postfix postfix/mailname string precise64"
|
||||||
|
sudo debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Local only'"
|
||||||
|
sudo apt-get -qq update
|
||||||
|
sudo apt-get -qq -y install postfix mailutils
|
||||||
|
sudo postconf -e 'home_mailbox = Maildir/'
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user