NAME

narada-setup-qmail - install/remove project qmail configuration

VERSION

This document describes narada-setup-qmail version v2.3.8

USAGE

narada-setup-qmail [--clean|--lock]

DESCRIPTION

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.

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 --clean.

SYNTAX OF "config/qmail/files"

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;

DIAGNOSTICS

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.

CONFIGURATION AND ENVIRONMENT

config/qmail/*
var/qmail/*
~/.qmail-*
var/use/qmail
.lock.qmail

SUPPORT

Bugs / Feature Requests

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.

Source Code

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

Resources

AUTHOR

Alex Efros <powerman@cpan.org>

Nick Levchenko <nick-lev@ya.ru>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2008- by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

The MIT (X11) License