Re: Rewrite the To: header?

2017-11-19 Thread Viktor Dukhovni
> On Nov 19, 2017, at 11:36 AM, Jack Bates wrote: > > Is there a feature I can use to rewrite the To: header, of "virtual alias > domain" mail, with the result of the following lookup, *after* smtpd_milters > are applied? > > SELECT 'b...@example.com' FROM my_table WHERE sender = '%s' > > O

Re: Rewrite the To: header?

2017-11-19 Thread Bill Cole
On 19 Nov 2017, at 11:36 (-0500), Jack Bates wrote: Is there a feature I can use to rewrite the To: header, of "virtual alias domain" mail, with the result of the following lookup, *after* smtpd_milters are applied? SELECT 'b...@example.com' FROM my_table WHERE sender = '%s' Do you actually

Re: Rewrite the To: header?

2017-11-19 Thread Dominic Raferd
On 19 November 2017 at 16:36, Jack Bates wrote: > > Is there a feature I can use to rewrite the To: header, of "virtual alias > domain" mail, with the result of the following lookup, *after* smtpd_milters > are applied? > > SELECT 'b...@example.com' FROM my_table WHERE sender = '%s' > > Or do I

Rewrite the To: header?

2017-11-19 Thread Jack Bates
Is there a feature I can use to rewrite the To: header, of "virtual alias domain" mail, with the result of the following lookup, *after* smtpd_milters are applied? SELECT 'b...@example.com' FROM my_table WHERE sender = '%s' Or do I need to use a milter of my own for this? recipient_canonical_