GreenArrow Documentation

hvmail_init Command

Purpose

The hvmail_init is used to start, stop, and review the status of GreenArrow’s MTA components, including the ram-queue, bounce-queue and disk-queue.

Command Syntax

USAGE

    hvmail_init COMMAND [ QUEUE ]
    hvmail_init --help

COMMANDS

    Here are the types of commands you can run:

        status
            View the current status of GreenArrow Engine's disk-queue,
            bounce-queue and ram-queue.

        start
            Start GreenArrow Engine's disk-queue, bounce-queue, ram-queue, SMTP
            service and rspawn-limiter service.

        stop
            Stop GreenArrow Engine's disk-queue, bounce-queue, ram-queue, SMTP
            service and rspawn-limiter service.

        restart
            Restart GreenArrow Engine's disk-queue, bounce-queue, ram-queue,
            SMTP service and rspawn-limiter service.

        stop_send_processes
            Stop GreenArrow Engine's message sending services
            ({ram,bounce,disk}-qmail-queue) and rspawn-limiter service, but
            do not umount the RAM disks or shudown the SMTP service.

        restart_send_processes
            Restarts all processes stopped by stop_send_processes.

        start_send_processes
            Starts all processes stopped by stop_send_processes.

QUEUES

    You can optionally specify that any of the hvmail_init commands be run only
    for a specified queue. For example, to restart the disk-queue, you can run:

    hvmail_init restart disk