Skip to content
Manvendra Bhangui edited this page Dec 27, 2024 · 6 revisions

NAME

rrt - respond to Return Receipts

SYNOPSIS

rrt [-n] [-b] host sender qqeh size recip [ recip ... ]

DESCRIPTION

rrt(1) implements Return Receipt in qmail-remote(8) for emails having the Return-Receipt-To (RRT) header. A sender can request a return-receipt by including this header field. The return-receipt is sent to the Return-Path address of the email and not to the address specified in the Return-Receipt-To header field. This header is non-standard and mostly not supported. Even if RRT is supported, there is no guarantee of a receipt being sent by other systems. You can use qnotify(1) to implement Message Disposition Notification (MDN) by having Disposition-Notification-To header instead.

rrt(1) can be enabled by setting ONSUCCESS_REMOTE, ONFAILURE_REMOTE, ONTEMPORARY_REMOTE environment variables to the path of rrt binary.

rrt(1) uses qmail-queue(8) to queue the Return Receipt.

If running as non-root, rrt 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).

OPTIONS

-n
Print the message rather than feeding it to qmail-queue.

-b
enclose the full email body rather than the headers

RETURN VALUE

0 for success 1 for read errors 2 for write erros 3 for memory allocation error 4 for file open errors 5 for failure to dup file descriptors 6 for lseek system call error 7 for usage error 8 parsing error 111 Temporary Error 100 Permanent Error

SEE ALSO

uenv(1), envdir(8), qmail-remote(8), qmail-queue(8), qnotify(1), qmail-queue(8)

Clone this wiki locally