man mailrm (Commandes) - zmailer mail queue message remover

NAME

mailrm - zmailer mail queue message remover

SYNOPSIS

mailrm [ id ... ]

DESCRIPTION

mailrm attempts to remove the locally queued mail messages named on its command line by submitting mail messages that cancel the queued messages.

The Obsoletes: message header is the mechanism used to accomplish this. The router turns it into a message control file directive that the scheduler implements. The scheduler will of course do its best to ensure only the owner of a message can cancel it. Therefore this program is only useful to whomever originally sent the message to be cancelled. The super user is not treated specially.

The id is the message file id of a to-be-cancelled message, as it is reported by mailq. It is not the message id, although that is the information that is actually sought for the Obsoletes: header contents. mailrm will rummage through message control files in POSTOFFICE/transport to retrieve the message id for a given message file id.

ENVIRONMENT VARIABLES

ZCONFIG
This environment variable is expected to be inherited from the scheduler(8zm), and it tells where scheduler's idea of ZENV-variables are located at.

FILES

l l. /etc/zmailer/zmailer.conf (ZCONFIG) /var/spool/postoffice/transport (POSTOFFICE/transport)

SEE ALSO

router(8zm), scheduler(8zm), mailq(1zm), zmailer.conf(5zm).

RFC987, RFC1138

AUTHOR

This program authored and copyright by: Rayan Zachariassen <no address>