aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@proceranetworks.com>2012-08-14 09:31:38 +0200
committerGustav Eek <gustav.eek@proceranetworks.com>2012-08-14 09:31:38 +0200
commit76113a2549eb224ef6e7b3cf85989857cf8fdb99 (patch)
treefe1cc6b7f9ce06d7b50c08beeee22d2a359c8002
parent9508574dcb8c37ff1cb8211e2fe845b2703d9141 (diff)
Installation instructions and README is updated
The packages libclass-method-modifiers-perl perl-doc are added to the installation once. The README is uppdated to suit the new integrated script.
-rw-r--r--INSTALL3
-rw-r--r--README38
2 files changed, 16 insertions, 25 deletions
diff --git a/INSTALL b/INSTALL
index 5848f48..c11dd10 100644
--- a/INSTALL
+++ b/INSTALL
@@ -6,7 +6,8 @@ sudo aptitude install -R libdatetime-perl \
libdigest-perl libemail-valid-perl libfile-slurp-perl \
libmail-gnupg-perl libgnupg-interface-perl libio-prompter-perl \
libmime-base64-perl libmime-tools-perl libnet-ldap-perl \
-libstring-mkpasswd-perl libtemplate-perl libyaml-syck-perl
+libstring-mkpasswd-perl libtemplate-perl libyaml-syck-perl \
+libclass-method-modifiers-perl perl-doc
This will most probably work for Ubuntu as well.
diff --git a/README b/README
index 687bf45..af386f1 100644
--- a/README
+++ b/README
@@ -28,38 +28,28 @@ server for outgoing e-mail.
#. Log in to server
- $ ssh -vNfL 389:localhost:389 <remote server>
+ $ ssh -vvvNfL <port>:localhost:<port> <remote server>
-This opens an ssh-tunnel and returns to standard prompt. Locally, you may want
-to use the standard LDAP port 389, or some unprivileged port.
+or
-#. Add a new mailbox.
+ $ sudo ssh -vvvNf -l <your usrname at server> -i <ssh-key> \
+ -L 389:localhost:389 <remote server>
- $ fripost-adduser
+This opens an ssh-tunnel and returns to standard prompt. Locally, you
+may want to use the standard LDAP port 389, or some unprivileged
+port. Since 389 is a privileged port, you need sudo rights
-#. Create a random new password
+It is not possible to use the -N flag in ~/.ssh/config, so you need to
+use the command line
- $ fripost-mkpass
+#. The script to run to use the functions is fripost:
-#. Add a new alias to the system
+ $ ./fripost
- $ fripost-newalias
+The script has an integrated manual you can read using e.g.,
+`fripost--man'.
-The script prompts first for goto address, which is where the new alias is
-supposed to point to, and later for alias. It is not necessary to add domain for
-goto address, BUT for alias address.
-
-#. Add a new domain to the system
-
- $ fripost-newdomain
-
-#. Change password of user
-
- $ fripost-passwd
-
-All these scripts have an integrated manual you can read using e.g.,
-`fripost-adduser --man'. A short help is also available with e.g.,
-`fripost-adduser --help'.
+A short help is also available with e.g., `fripost--help'.
Have fun!