[pskmail] Using diferent servers for HAM and MARS

  • From: Rein Couperus <rein@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Fri, 08 Jan 2010 11:31:40 +0100

If you need different configurations for use in ham radio and MARS 
environment, you can do the following:

make 2 copies of the .pskmail directory:
cp -r .pskmail pskmail_ham_dir
cp -r .pskmail pskmail_mars_dir

You can now edit the pskmailrc.pl files in the new directories for different 
purposes.

You can start the right version by starting them from a small script.
E.g. write a script called 'pskmail_ham' with the 
following content:
#####################
#! /bin/sh
cp -r pskmail_ham_dir .pskmail
pskmail_server
cp .pskmail pskmail_ham_dir
#####################

Make the script executable (sudo chmod +x pskmail_ham) and copy 
it  to /usr/local/bin (sudo cp pskmail_ham /usr/local/bin).

You can now start the ham verson with 'pskmail_ham'.

Do the same with another script called 'pskmail_mars' with the following 
content:
#####################
#! /bin/sh
cp -r pskmail_mars_dir .pskmail
pskmail_server
cp .pskmail pskmail_mars_dir
#####################

That is then started with 'pskmail_mars'.

Hope this helps

73,

Rein PA0R


-- 
http://pa0r.blogspirit.com

Other related posts:

  • » [pskmail] Using diferent servers for HAM and MARS - Rein Couperus