This plugin maps the recipients of the message to addresses stored in the expanded_recipients transaction note. Typically this note was filled in by the companion plugin aliases_check.
replace_rcpt
This plugin uses one transaction note:
A reference to a hash of arrays. The keys of the hash are the recipients as passed in the RCPT commands and as stored in $transaction->recipients. Each value is a list of addresses this recipient should be replaced with. All addresses are strings, not Qpsmtpd::Address objects, and they are full RFC-2821-style addresses, except that delimiting angle brackets are omitted.
So the note should look something like this:
{ 'hjp@wsr.ac.at' => [ 'hjp@asherah.wsr.ac.at' }, 'peter.holzer@wsr.ac.at' => [ 'hjp@asherah.wsr.ac.at' }, ... 'postmaster@wsr.ac.at' => [ 'hjp@asherah.wsr.ac.at', 'gina@wsr.ac.at' ], ... }
Replace all recipients with the list collected in note 'expanded_recipients'.
None known (yet).
Copyright (c) 2003-2006 Peter J. Holzer <hjp@wsr.ac.at>
This plugin is licensed under the same terms as the qpsmtpd package itself. Please see the LICENSE file included with qpsmtpd for details.