aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README14
-rw-r--r--default.yml.template (renamed from default.yml)2
2 files changed, 13 insertions, 3 deletions
diff --git a/README b/README
index b35e044..cab0fab 100644
--- a/README
+++ b/README
@@ -10,16 +10,22 @@ skangas@skangas.se
Read installation file INSTALL and follow those instructions.
-Edit file default.yml and add the following
+Copy file default.yml.template to default.yml, edit file default.yml and add the following
admuser: <admin username>
admpass: <admin password>
-where <admin username> and <admin password> are user name and password on <remote server> in next section.
+where <admin username> and <admin password> are user name and password to the MySQL-server on <remote server> in next section.
+
+Configure an locla Mail Transger Agent (MTA) for example exim4:
+
+ $ sudo dpkg-reconfigure exim4-config
+
+Choose use smarthost for outgoing and no local e-mail. Choos your IPS's SMTP server for outgoing e-mail.
#. Log in to server
- $ ssh -NfL 3306:localhost:3306 <remote server>
+ $ ssh -vNfL 3306:localhost:3306 <remote server>
This opens an ssh-tunnel and returns to standard prompt. Use standard mysql port 3306.
@@ -35,6 +41,8 @@ This opens an ssh-tunnel and returns to standard prompt. Use standard mysql port
$ fripost-newalias
+The script prompts first for go-to address, which is where the new alias is supposed to point to, and later for alias. It is not necessary to add domain for go-to address, BUT for alias address.
+
#. Add a new domain to the system
$ fripost-newdomain
diff --git a/default.yml b/default.yml.template
index 5df20cb..6e4314c 100644
--- a/default.yml
+++ b/default.yml.template
@@ -2,3 +2,5 @@
---
dbi_dsn: dbi:mysql:mail;host=127.0.0.1;port=3306
admin_email: admin@fripost.org
+admuser: root
+admpass: