From 34fcaf7c1e185d15310691432b2e8e210b2b5380 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Fri, 11 Mar 2011 19:31:09 +0100 Subject: Changes to README --- README | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README b/README index 1d4821a..961bf42 100644 --- a/README +++ b/README @@ -6,11 +6,41 @@ http://fripost.org/ Please send patches, bug reports and comments to: skangas@skangas.se +#. Installation + +Read installation file INSTALL + +#. Log in to server + + $ ssh -NfL :localhost: + +This opens an ssh-tunnel. Use standard mysql port 3306. + +#. Add a new mailbox + + $ fripost-adduser + +#. Create a random new password + + $ fripost-mkpass + +#. Add a new alias to the system + + $ fripost-newalias + +#. Add a new domain to the system + + $ fripost-newdomain + +#. Change password of user + + $ fripost-passwd + + License information is Have fun! - This document is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or @@ -23,3 +53,5 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . + + -- cgit v1.2.3 From 7938fe602e343fa9d47a1f89a6083f3b6a3906d0 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Fri, 11 Mar 2011 20:37:28 +0100 Subject: Continuous changes to README --- README | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README b/README index 961bf42..b35e044 100644 --- a/README +++ b/README @@ -8,15 +8,22 @@ skangas@skangas.se #. Installation -Read installation file INSTALL +Read installation file INSTALL and follow those instructions. + +Edit file default.yml and add the following + + admuser: + admpass: + +where and are user name and password on in next section. #. Log in to server - $ ssh -NfL :localhost: + $ ssh -NfL 3306:localhost:3306 -This opens an ssh-tunnel. Use standard mysql port 3306. +This opens an ssh-tunnel and returns to standard prompt. Use standard mysql port 3306. -#. Add a new mailbox +#. Add a new mailbox. $ fripost-adduser -- cgit v1.2.3 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 From b54d422df872c9ba26f78674f795f929523a22d6 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Tue, 22 Nov 2011 22:13:25 +0100 Subject: File .gitignore added. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ceb876c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +default.yml +*~ + -- cgit v1.2.3