narada-setup-qmail - install/remove project qmail configuration
This document describes narada-setup-qmail version v2.3.7
narada-setup-qmail [--clean|--lock]
Should be executed in project deploy directory (or Narada 1.x project root directory).
Sync Narada project's qmail configuration with user's ~/.qmail-* files.
~/.qmail-*
When executed with --clean option will remove all ~/.qmail-* files related to this project.
--clean
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 --clean.
--lock
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:
|some_script some_opt;
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.
https://github.com/powerman/Narada
git clone https://github.com/powerman/Narada.git
MetaCPAN Search
https://metacpan.org/search?q=Narada
CPAN Ratings
http://cpanratings.perl.org/dist/Narada
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Narada
CPAN Testers Matrix
http://matrix.cpantesters.org/?dist=Narada
CPANTS: A CPAN Testing Service (Kwalitee)
http://cpants.cpanauthors.org/dist/Narada
Alex Efros <powerman@cpan.org>
Nick Levchenko <nick-lev@ya.ru>
<nick-lev@ya.ru>
This software is Copyright (c) 2008- by Alex Efros <powerman@cpan.org>.
This is free software, licensed under:
The MIT (X11) License
To install Narada, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Narada
CPAN shell
perl -MCPAN -e shell install Narada
For more information on module installation, please visit the detailed CPAN module installation guide.