The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

rewrited - Rewrite messages in the rewrite spool

SYNOPSIS

        Run from crontab:

        00-59 * * * * /path/to/rewrited -s

        Or in daemon mode:

        /path/to/rewrited -D -t time_to_sleep

COMMAND LINE SWITCHES AND OPTIONS

        Usage: rewrited [-v] [-n] {-D [-t time_to_sleep]|-s}
-D
        Run the program in daemon mode.
-t
        Time (in seconds) which we'll be sleeping
        between each run. (only in deamon mode)
-s
        Run once and exit.
-v
        Give verbose error and info messages in logging
-n
        Debug mode. Don't really move anything.

DESCRIPTION

        rewrited finds new messages in $SPOOL/rewrite and moves
        them to $SPOOL/outgoing.

CONFIGURATION

        Configuration is done in the script it self.
        Thogh this is preferred to be changed in the Makefile,
        this can be done in the script as well.

        In the first lines of sendd you can configure the following variables:
PREFIX
        rewrited's prefix path.

FILES

Message files in PREFIX/spool/rewrited
        These are standard mails sent from any mail client.

REQUIREMENTS

Perl 5
        Maybe even Perl 5.6?
POSIX
        Should be in the standard perl distribution.
Getopt:Std
        Should be in the standard perl distribution.
File::Copy
        Should be in the standard perl distribution.

VERSION

        This is version 1.00

BUGS

        None known as of this date :)

AUTHOR

        Ask Solem Hoel <ask@unixmonks.net>, http://www.unixmonks.net

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 2:

Unknown directive: =comment

Around line 251:

=cut found outside a pod block. Skipping to next block.