[Mailmunge] $ctx->recipients

postfix at ptld.com postfix at ptld.com
Tue Aug 3 09:38:59 EDT 2021


RECIPIENTS:
An arrayref of envelope recipient addresses. In filter_recipient, it 
contains a single address (the address associated with the current RCPT 
To: command). In filter_message and filter_wrapup, it contains an array 
of all the recipient addresses.


What is an "envelope" recipient? Is that from the headers or the RCPT TO 
command?
Does $ctx->recipients contain just the addresses in the header? Or does 
it know the addresses used in RCPT TO?
What happens if my address was given to RCPT TO but the headers only 
contain mailinglist at example.com? And how does BCC work?


More information about the Mailmunge mailing list