From 76113a2549eb224ef6e7b3cf85989857cf8fdb99 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Tue, 14 Aug 2012 09:31:38 +0200 Subject: 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. --- INSTALL | 3 ++- README | 38 ++++++++++++++------------------------ 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 + $ ssh -vvvNfL :localhost: -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 -i \ + -L 389:localhost:389 - $ 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! -- cgit v1.2.3