Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
da15ae53
Commit
da15ae53
authored
Jun 03, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename the scripts directory to setup
parent
af03feb3
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
21 additions
and
21 deletions
+21
-21
Dockerfile
Dockerfile
+2
-2
README.md
README.md
+1
-1
container_start.sh
containers/docker/container_start.sh
+1
-1
index.md
docs/index.md
+1
-1
dkim.sh
setup/dkim.sh
+1
-1
dns.sh
setup/dns.sh
+2
-2
dns_update.sh
setup/dns_update.sh
+0
-0
functions.sh
setup/functions.sh
+0
-0
mail.sh
setup/mail.sh
+1
-1
spamassassin.sh
setup/spamassassin.sh
+1
-1
start.sh
setup/start.sh
+8
-8
system.sh
setup/system.sh
+1
-1
web.sh
setup/web.sh
+1
-1
webmail.sh
setup/webmail.sh
+1
-1
No files found.
Dockerfile
View file @
da15ae53
...
...
@@ -46,12 +46,12 @@ ENV NO_RESTART_SERVICES 1
RUN
sed
-i
-e
"s/^#*
\s
*PasswordAuthentication
\(
yes
\|
no
\)
/PasswordAuthentication no/g"
/etc/ssh/sshd_config
# Add this repo into the image so we have the configuration scripts.
ADD
s
cripts /usr/local/mailinabox/scripts
ADD
s
etup /usr/local/mailinabox/setup
ADD
conf /usr/local/mailinabox/conf
ADD
tools /usr/local/mailinabox/tools
# Start the configuration.
RUN
cd
/usr/local/mailinabox
&&
s
cripts
/start.sh
RUN
cd
/usr/local/mailinabox
&&
s
etup
/start.sh
# Configure services for docker.
ADD
containers/docker /usr/local/mailinabox/containers/docker
...
...
README.md
View file @
da15ae53
...
...
@@ -30,7 +30,7 @@ Please see the initial and very barebones [Documentation](docs/index.md) for mor
sudo apt-get install -y git
git clone https://github.com/joshdata/mailinabox
cd mailinabox
sudo s
cripts
/start.sh
sudo s
etup
/start.sh
**Status**
: This is a work in progress. It works for what it is, but it is missing such things as quotas, backup/restore, etc.
...
...
containers/docker/container_start.sh
View file @
da15ae53
...
...
@@ -19,6 +19,6 @@ if grep "^PUBLIC_IP=192.168.200.1" /etc/mailinabox.conf > /dev/null; then
# have not been started yet, so we can't ask the user to create an
# account yet.
cd
/usr/local/mailinabox
s
cripts
/start.sh < /dev/null
s
etup
/start.sh < /dev/null
fi
docs/index.md
View file @
da15ae53
...
...
@@ -37,7 +37,7 @@ After logging into your *new* server with SSH and becoming root, type the follow
Now you've got the Mail-in-a-Box source code stored on your server. The next command starts the automatic configuration of the server:
sudo s
cripts
/start.sh
sudo s
etup
/start.sh
*(Just a reminder, do this on a fresh Ubuntu 14.04 machine only! If you're reusing an existing server, unpredictable things may happen.)*
...
...
s
cripts
/dkim.sh
→
s
etup
/dkim.sh
View file @
da15ae53
...
...
@@ -4,7 +4,7 @@
# After this, you'll still need to run dns_update.sh to get the DKIM
# signature in the DNS zones.
source
s
cripts
/functions.sh
# load our functions
source
s
etup
/functions.sh
# load our functions
# Install DKIM
apt_install opendkim opendkim-tools
...
...
s
cripts
/dns.sh
→
s
etup
/dns.sh
View file @
da15ae53
# DNS: Configure a DNS server using nsd
#######################################
# After running this script, you also must run s
cripts
/dns_update.sh,
# After running this script, you also must run s
etup
/dns_update.sh,
# and any time a zone file is added/changed/removed, and any time a
# new domain name becomes in use by a mail user.
#
# This script will turn on DNS for $PUBLIC_HOSTNAME.
source
s
cripts
/functions.sh
# load our functions
source
s
etup
/functions.sh
# load our functions
# Install nsd, our DNS server software.
...
...
s
cripts
/dns_update.sh
→
s
etup
/dns_update.sh
View file @
da15ae53
File moved
s
cripts
/functions.sh
→
s
etup
/functions.sh
View file @
da15ae53
File moved
s
cripts
/mail.sh
→
s
etup
/mail.sh
View file @
da15ae53
...
...
@@ -12,7 +12,7 @@
# Install packages.
source
s
cripts
/functions.sh
# load our functions
source
s
etup
/functions.sh
# load our functions
source
/etc/mailinabox.conf
# load global vars
apt_install
\
...
...
s
cripts
/spamassassin.sh
→
s
etup
/spamassassin.sh
View file @
da15ae53
...
...
@@ -9,7 +9,7 @@
# plugin. The tools/mail.py tool creates the necessary sieve script for each mail
# user when the mail user is created.
source
s
cripts
/functions.sh
# load our functions
source
s
etup
/functions.sh
# load our functions
# Install packages.
apt_install spampd razor pyzor dovecot-sieve dovecot-antispam
...
...
s
cripts
/start.sh
→
s
etup
/start.sh
View file @
da15ae53
...
...
@@ -64,14 +64,14 @@ if [ "$NO_RESTART_SERVICES" == "1" ]; then
fi
# Start service configuration.
.
s
cripts
/system.sh
.
s
cripts
/dns.sh
.
s
cripts
/mail.sh
.
s
cripts
/dkim.sh
.
s
cripts
/spamassassin.sh
.
s
cripts
/dns_update.sh
.
s
cripts
/web.sh
.
s
cripts
/webmail.sh
.
s
etup
/system.sh
.
s
etup
/dns.sh
.
s
etup
/mail.sh
.
s
etup
/dkim.sh
.
s
etup
/spamassassin.sh
.
s
etup
/dns_update.sh
.
s
etup
/web.sh
.
s
etup
/webmail.sh
if
[
-t
0
]
;
then
# are we in an interactive shell?
if
[
-z
"
`
tools/mail.py user
`
"
]
;
then
...
...
s
cripts
/system.sh
→
s
etup
/system.sh
View file @
da15ae53
source
s
cripts
/functions.sh
# load our functions
source
s
etup
/functions.sh
# load our functions
# Base system configuration.
...
...
s
cripts
/web.sh
→
s
etup
/web.sh
View file @
da15ae53
# HTTP: Turn on a web server serving static files
#################################################
source
s
cripts
/functions.sh
# load our functions
source
s
etup
/functions.sh
# load our functions
apt_install nginx php5-cgi
...
...
s
cripts
/webmail.sh
→
s
etup
/webmail.sh
View file @
da15ae53
# Webmail: Using roundcube
##########################
source
s
cripts
/functions.sh
# load our functions
source
s
etup
/functions.sh
# load our functions
source
/etc/mailinabox.conf
# load global vars
# Ubuntu's roundcube-core has dependencies on Apache & MySQL, which we don't want, so we can't
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment