Name | Modified | Size | Downloads / Week |
---|---|---|---|
0.0.6 | 2013-05-22 | ||
0.0.5 | 2013-04-16 | ||
0.0.4 | 2012-08-09 | ||
0.0.3 | 2012-07-29 | ||
0.0.2 | 2012-07-07 | ||
0.0.1 | 2012-07-07 | ||
README.txt | 2012-07-07 | 2.0 kB | |
Totals: 7 Items | 2.0 kB | 0 |
DavmailCtrl Author: Nikolaos Bestas <nikolaos.bestas@siemens.com> DavmailCtrl is a script that controls the amazing Davmail ( http://sourceforge.net/projects/davmail ) Prerequisites: - For install, update and status -- wget is used to download the latest davmail version. It is also used to check the latest davmail version. -- Internet connectivity. - For start, stop and restart there are no prerequisites, assuming you use bash To use it: - download it - make it executable ( chmod +x DavmailCtrl ) - configure it (see bellow) - invoke it with the desired argument "start" "stop" "restart" "status" "install" "update" ( e.g. ./DavmailCtrl install ) Configuration: The configuration is controlled by the following variables: DavCfgDir=$HOME/.config/davmail DavConfig1=davmail.properties.1 DavConfig2=davmail.properties.2 That are used by the function StartDavSeq If you run the program like without changing the default configuration the following will occur: - The directory $HOME/.config/davmail will be created - Davmail will start 2 instances each using the respective configuration file. ---- If those files do not exist, they will be created with the default values. This will create collision of the listening ports. ---- You will have to adjust them. - If you already have your own configuration file(s) you would like to use, simply set the DavCfgDir and DavConfig1 and DavConfig2 (DavConfig3 ... DavConfigx) to reflect your environement. ---- If you want to only have one instance, simply remove the second invokation of Davmail ( $DavStartCmd $DavCfgDir/$DavConfig2 &). You can also remove the DavConfig2 variable, but you don't have to. ---- If you want to have a third instance: -------> add DavConfig3=my.davmail.properties.3 (like the other two variables) -------> add a third call to davmail in the function StartDavSeq ( $DavStartCmd $DavCfgDir/$DavConfig3 &) So far DavmailCtrl has been tested with only up to two instances, on an x86 PC. Hope you enjoy the program as much as I enjoyed making it. :-)