Re: Rewrite the To: header?

2017-11-20 Thread Jack Bates
On 19/11/17 05:04 PM, Viktor Dukhovni wrote: 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...@ex

Re: Rewrite the To: header?

2017-11-20 Thread Jack Bates
On 19/11/17 12:20 PM, Bill Cole wrote: 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...@ex

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.c

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 se

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

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 u