[Mimedefang] Get recipients

Richard Laager rlaager at wiktel.com
Fri Apr 7 12:21:11 EDT 2017


On 04/07/2017 03:25 AM, Stagiair 2. Cisa wrote:
> I've tried getting the recipients out of the @recipients array but it seems to be empty.

Note the first letter is capitalized. It's @Recipients, not @recipients.

> Should I call it on a specific time or in a specific function?

It is available at filter_begin() through filter_end() time, with all of
the recipients. From `man mimedefang-filter`, "In filter_recipient, it
is set to the single recipient currently under consideration."

-- 
Richard



More information about the MIMEDefang mailing list