From 56e4f7b0a169958ae8ebaba63354ff6314f7c3ff Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Tue, 22 Nov 2011 22:11:59 +0100 Subject: 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. --- README | 14 +++++++++++--- default.yml | 4 ---- default.yml.template | 6 ++++++ 3 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 default.yml create mode 100644 default.yml.template 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: admpass: -where and are user name and password on in next section. +where and are user name and password to the MySQL-server on 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 + $ ssh -vNfL 3306:localhost:3306 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 deleted file mode 100644 index 5df20cb..0000000 --- a/default.yml +++ /dev/null @@ -1,4 +0,0 @@ -# default.yml -- defaults for fripost administrative scripts ---- -dbi_dsn: dbi:mysql:mail;host=127.0.0.1;port=3306 -admin_email: admin@fripost.org diff --git a/default.yml.template b/default.yml.template new file mode 100644 index 0000000..6e4314c --- /dev/null +++ b/default.yml.template @@ -0,0 +1,6 @@ +# default.yml -- defaults for fripost administrative scripts +--- +dbi_dsn: dbi:mysql:mail;host=127.0.0.1;port=3306 +admin_email: admin@fripost.org +admuser: root +admpass: -- cgit v1.2.3