mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/tglx/remail.git
synced 2024-11-08 13:42:36 +01:00
323b8cda64
Add a handle pipe function to the remailer and a pipe script for handling mail in a MTA delivery path. Requested-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
74 lines
1.5 KiB
ReStructuredText
74 lines
1.5 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
.. _remail_pipe_man:
|
|
|
|
remail_pipe manual page
|
|
=========================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
**remail_pipe** [*options*] config_file
|
|
|
|
Description
|
|
-----------
|
|
|
|
:program:`remail_pipe`, The pipe script for decrypting incoming mail and
|
|
sending it re-encrypted to the subscribers of an encrypted mailing
|
|
list. The incoming mail is read from stdin.
|
|
|
|
|
|
Options
|
|
-------
|
|
|
|
-h, --help
|
|
Show this help message and exit
|
|
|
|
-s syslog, --syslog
|
|
Use syslog for logging. Default is stderr
|
|
|
|
-v, --verbose
|
|
Enable verbose logging.
|
|
|
|
-V, --version
|
|
Display version information
|
|
|
|
|
|
Configuration file
|
|
------------------
|
|
|
|
remail_pipe reads the configuration file which was handed in as command
|
|
line argument. The configuration file is a simple yaml file. Non-mandatory
|
|
configuration options which are not in the configuration file are set to
|
|
the default values.
|
|
|
|
See the configuration file man page for detailed information.
|
|
|
|
|
|
Work directory
|
|
--------------
|
|
|
|
remail pipe assumes that the configuration file is in the work directory
|
|
which has a defined layout and content. The directory structure is
|
|
documented in the full remail documentation along with hints how to manage
|
|
encrypted mailing lists.
|
|
|
|
Exit codes
|
|
----------
|
|
|
|
.. list-table::
|
|
|
|
* - 0
|
|
- Mail was successfully delivered
|
|
* - 1
|
|
- No enabled mailinglist found for delivery
|
|
* - 2
|
|
- Mail processing incomplete. See log output
|
|
* - 11
|
|
- Configuration error
|
|
* - 12
|
|
- Fatal exception
|
|
|
|
See also
|
|
--------
|
|
:manpage:`remail.config(5)`
|