Skip to content

forward.1

Manvendra Bhangui edited this page Feb 25, 2024 · 8 revisions

NAME

forward - forward new mail to one or more addresses.

SYNOPSIS

in .qmail: |forward address ....

DESCRIPTION

forward forwards each new mail message to the specified list of addresses. It is a simple wrapper around qmail-queue. It achieves the same results as listing each address separately in .qmail, but it is more programmable since address can be constructed on the fly.

forward uses the DTLINE environment variable set by qmail-local to insert the Delivered-To header, SENDER environment variable to set the X-Forwarded-For header. For each address, it inserts the X-Forwarded-To header.

forward rewrites the sender using Sender Rewriting Scheme if SRS has been configured. See indimail-srs(5) for information on how to do this.

If running as non-root, forward uses environment set according to files in $HOME/.defaultqueue directory. You can skip $HOME/.defaultqueue if SKIP_LOCAL_ENVIRONMENT is set. If QUEUE_BASE environment variable is not set, it additionally uses environment set according to files in /etc/indimail/control/defaultqueue directory (for any uid).

SEE ALSO

ifaddr(1), iftocc(1), iftoccfrom(1), bouncesaying(1), condredirect(1), condtomaildir(1), dot-qmail(5), dot-forward(1), fastforward(1), printforward(1), setforward(1), filterto(1), except(1), preline(1), qmail-command(8), qnotify(1), qreceipt(1), replier(1), rrforward(1), indimail-srs(5), qmail-queue(8),

Clone this wiki locally