diff options
author | Stefan Kangas <skangas@skangas.se> | 2012-02-03 14:46:57 +0100 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2012-02-03 14:46:57 +0100 |
commit | 82f9c2a71b02c8b5580ae80e2e46e97b348b5b28 (patch) | |
tree | 81da0be33573e52edddd0d5d52efd34c201868cd | |
parent | 50f050b1484f75d45817f633e735f03cff32c575 (diff) | |
parent | b54d422df872c9ba26f78674f795f929523a22d6 (diff) |
merge
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | README | 49 | ||||
-rw-r--r-- | default.yml.template (renamed from default.yml) | 2 |
3 files changed, 53 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ceb876c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +default.yml +*~ + @@ -6,10 +6,55 @@ http://fripost.org/ Please send patches, bug reports and comments to: skangas@skangas.se -License information is in COPYING. +#. Installation + +Read installation file INSTALL and follow those instructions. + +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 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 -vNfL 3306:localhost:3306 <remote server> + +This opens an ssh-tunnel and returns to standard prompt. 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 + +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 + +#. Change password of user + + $ fripost-passwd + Have fun! +License information is in COPYING. 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 @@ -23,3 +68,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 <http://www.gnu.org/licenses/>. + + 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: |