diff options
-rw-r--r-- | INSTALL | 3 | ||||
-rw-r--r-- | README | 38 |
2 files changed, 16 insertions, 25 deletions
@@ -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. @@ -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! |