home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c29a6a
)
Improve mail system configuration.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 6 Oct 2015 22:00:47 +0000
(
00:00
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 6 Oct 2015 22:00:47 +0000
(
00:00
+0200)
jessie_start_server.sh
patch
|
blob
|
history
diff --git
a/jessie_start_server.sh
b/jessie_start_server.sh
index 0d12b31a560348052fd1b6a3110ddb7b65d8455f..d05fc073d3523941690bc9e0a0ba78241a5c3149 100755
(executable)
--- a/
jessie_start_server.sh
+++ b/
jessie_start_server.sh
@@
-85,13
+85,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}'
+echo 'plomlompom.com' > /etc/mailname
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
service postfix restart
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
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