aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustav@fripost.org>2011-11-22 22:11:59 +0100
committerGustav Eek <gustav@fripost.org>2011-11-22 22:11:59 +0100
commit56e4f7b0a169958ae8ebaba63354ff6314f7c3ff (patch)
tree65810a5522ec1aca5a764da6952cac31c010f9a3
parent52a407f738d0c8e28087f27762f775f99ca51c01 (diff)
default.yml renamed.
File default.yml renamed (and will later be added to .gitignore) so that the file is not commited by acident. README is updated with more info on how to create file default.yml. OBS! Be careful when merging so that you do not ovewrite the password.
-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: