home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In mail system config, remove mailname setting, reinstate newaliases.
[config]
/
jessie_start_server.sh
diff --git
a/jessie_start_server.sh
b/jessie_start_server.sh
index 0d12b31a560348052fd1b6a3110ddb7b65d8455f..4a2e4af5f0a7008e9b49bd5549f249c989e8b3a5 100755
(executable)
--- a/
jessie_start_server.sh
+++ b/
jessie_start_server.sh
@@
-24,6
+24,7
@@
echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf.d/99mindeps
# Set hostname and FQDN.
echo 'plomlompom' > /etc/hostname
# Set hostname and FQDN.
echo 'plomlompom' > /etc/hostname
+hostname 'plomlompom'
echo '127.0.0.1 localhost' > /etc/hosts
ip=`hostname -I`
echo "$ip plomlompom.com plomlompom" >> /etc/hosts
echo '127.0.0.1 localhost' > /etc/hosts
ip=`hostname -I`
echo "$ip plomlompom.com plomlompom" >> /etc/hosts
@@
-85,13
+86,14
@@
su plom -c 'mkdir -p /home/plom/.vimbackups/'
apt-get -y install openssh-server
# Set up mail system.
apt-get -y install openssh-server
# Set up mail system.
+su plom -c 'mkdir -p /home/plom/mail/'
+su plom -c 'mkdir -p /home/plom/mail/inbox/{cur,new,tmp}'
+su plom -c 'mkdir -p /home/plom/mail/new_inbox/{cur,new,tmp}'
DEBIAN_FRONTEND=noninteractive apt-get -y install getmail4 procmail mutt postfix maildrop
cp config/systemfiles/main.cf /etc/postfix/main.cf
cp config/systemfiles/aliases /etc/aliases
DEBIAN_FRONTEND=noninteractive apt-get -y install getmail4 procmail mutt postfix maildrop
cp config/systemfiles/main.cf /etc/postfix/main.cf
cp config/systemfiles/aliases /etc/aliases
+newaliases
service postfix restart
service postfix restart
-su plom -c 'mkdir -p /home/plom/mail/'
-su plom -c 'mkdir -p /home/plom/mail/inbox/{cur,new,tmp}'
-su plom -c 'mkdir -p /home/plom/mail/new_inbox/{cur,new,tmp}'
# Set up screen.
apt-get -y install screen
# Set up screen.
apt-get -y install screen