narada-setup-qmail - install/remove project qmail configuration
This document describes narada-setup-qmail version v2.2.0
Should be executed in project deploy directory (or Narada 1.x project root directory).
Sync Narada project's qmail configuration with user's
When executed with
--clean option will remove all
~/.qmail-* files related to this project.
When executed with
--lock option will setup all
~/.qmail-* files related to this project to exit with code which means that the delivery failed but should be tried again in a little while (soft error). To undo this effect run again without options or with
Syntax of "config/qmail/files" is same as described in "man dot-qmail", but commands in project's qmail configuration will be executed in project's root directory instead of user's home directory. If config file have piped command (started with "|") it will be modified to "|cd /path/to/project || exit(100); " command will be added on-the-fly before user command, i.e. every command line in "config/qmail/file_with_command" like:
will turn into line in user's dir like:
|cd /path/to/project || exit(100); some_script some_opt;
conflict detected on ~/.qmail-NAME
This project have config/qmail/NAME, but ~/.qmail-NAME already exists and it isn't symlink to this project's var/qmail/NAME file.
You should manually resolve this conflict by either renaming config/qmail/NAME file in this project or removing ~/.qmail-NAME. After that you should run narada-setup-qmail again.
config/qmail/* var/qmail/* ~/.qmail-* var/use/qmail .lock.qmail
Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/Narada/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.
git clone https://github.com/powerman/Narada.git
Alex Efros <email@example.com>
This software is Copyright (c) 2008-2015 by Alex Efros <firstname.lastname@example.org>.
This is free software, licensed under:
The MIT (X11) License