Chris Lewis wrote:
The version I've derived from Steve's works during hook_rcpt.
Yes, but assigning to $_[0] is a horrible way to do it. We should have a
supported and cleaner way to modify the email address at RCPT TO time...
Ah, we do have a supported way... a hook called rcpt_pre which
On 5/5/2010 3:13 PM, Matt Sergeant wrote:
On Wed, 5 May 2010, Chris Lewis wrote:
On 5/5/2010 4:07 AM, Steve Kemp wrote:
I hope that helps. It was based upon a thread in the archive
a while back but I cannot immediately find the discussion link, even
though I started it by asking
On Tue May 04, 2010 at 23:47:04 -0400, Chris Lewis wrote:
Very old version of qpsmtpd, but this should still be more-or-less the same.
I'm trying to substitute a recipient address very early on in processing
so that every subsequent plugin sees the new value.
This is code I'm using here:
On 5/5/2010 4:07 AM, Steve Kemp wrote:
I hope that helps. It was based upon a thread in the archive
a while back but I cannot immediately find the discussion link, even
though I started it by asking a question similar to yours!
I remembered that thread, but I couldn't find it either.
Very old version of qpsmtpd, but this should still be more-or-less the same.
I'm trying to substitute a recipient address very early on in processing
so that every subsequent plugin sees the new value.
I'm trying this as the very first plugin listed in the config file:
use Qpsmtpd::Address;