INSTALL 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Requirements
  2. ===============
  3. Currently there is no packaging for any distro. Higher quality would probably be
  4. required, see 'TODO' file.
  5. There is no compiled code and no sophisticated installer, therefore the only
  6. maintenance and installation requirements are coreutils.
  7. The runtime dependencies of 'doar' are:
  8. - a shell, e.g. Bash
  9. - coreutils
  10. - sed
  11. - awk
  12. - mpop
  13. - msmtp (although you can easily switch to any other MDA or MTA)
  14. - cron
  15. How to Install
  16. ===============
  17. You have two options:
  18. 1. Install things manually, according to the instructions below
  19. 2. Run the 'install.sh' script as root, which does exactly the same
  20. Then, the users which have mail accounts on the server will need to configure
  21. their 'account\_defs' and 'account\_list' files.
  22. The process is as follows.
  23. 1. The file 'doar.sh' should be in the PATH. You can put it under
  24. `/usr/local/bin`. Rename it to 'doar' without extension, unless you also
  25. modify the crob job in the next step to use the correct name.
  26. 2. The file 'doar.cron' should be in `/etc/cron.d`. You can rename it to just
  27. 'doar'.
  28. 3. The file 'mpoprc' should be in `/etc/doar`.
  29. 4. If you want, you can put install.sh, uninstall.sh, INSTALL, README, TODO and
  30. AUTHORS in `/usr/local/share/doar` for future usage/reference.
  31. How to Uninstall
  32. ================
  33. To uninstall, simply remove these files. 'uninstall.sh' can do this for you (run
  34. as root). BEFORE you rely on it, make sure it has the correct filenames,
  35. otherwise it may miss a file, or worse, delete the wrong file. If you used
  36. 'install.sh', then 'uninstall.sh' will undo the changes.