Re: Apply a redirect before checking other restrictions

2014-08-26 Thread Darren Pilgrim
On 8/26/2014 12:12 PM, Wietse Venema wrote: Darren Pilgrim: On 8/22/2014 4:17 AM, Wietse Venema wrote: Darren Pilgrim: Postfix doesn't appear to do alias resolution on the REDIRECT'ed address. Do I need to add something to a setting that controls lookups on redirects? REDIRECT addresses are

Re: Apply a redirect before checking other restrictions

2014-08-26 Thread Wietse Venema
Darren Pilgrim: > On 8/22/2014 4:17 AM, Wietse Venema wrote: > > Darren Pilgrim: > >> Postfix doesn't appear to do alias resolution on the REDIRECT'ed > >> address. Do I need to add something to a setting that controls > >> lookups on redirects? > > > > REDIRECT addresses are currently not subject

Re: Apply a redirect before checking other restrictions

2014-08-26 Thread Darren Pilgrim
On 8/22/2014 4:17 AM, Wietse Venema wrote: Darren Pilgrim: Postfix doesn't appear to do alias resolution on the REDIRECT'ed address. Do I need to add something to a setting that controls lookups on redirects? REDIRECT addresses are currently not subject to "before queue" address rewriting. Th

Re: Apply a redirect before checking other restrictions

2014-08-22 Thread Wietse Venema
Wietse Venema: > Darren Pilgrim: > > Postfix doesn't appear to do alias resolution on the REDIRECT'ed > > address. Do I need to add something to a setting that controls > > lookups on redirects? > > REDIRECT addresses are currently not subject to "before queue" > address rewriting. There exists n

Re: Apply a redirect before checking other restrictions

2014-08-22 Thread Wietse Venema
Darren Pilgrim: > Postfix doesn't appear to do alias resolution on the REDIRECT'ed > address. Do I need to add something to a setting that controls > lookups on redirects? REDIRECT addresses are currently not subject to "before queue" address rewriting. There exists no code do do that. W

Re: Apply a redirect before checking other restrictions

2014-08-22 Thread Darren Pilgrim
On 8/21/2014 2:49 PM, Viktor Dukhovni wrote: On Thu, Aug 21, 2014 at 02:22:46PM -0700, Darren Pilgrim wrote: I want to rewrite the envelope recipient of a message if it's from a specific sender, but have that rewrite change the envelope before reaching permit_auth_destination (i.e., an immediat

Re: Apply a redirect before checking other restrictions

2014-08-21 Thread Darren Pilgrim
On 8/21/2014 2:49 PM, Viktor Dukhovni wrote: On Thu, Aug 21, 2014 at 02:22:46PM -0700, Darren Pilgrim wrote: I want to rewrite the envelope recipient of a message if it's from a specific sender, but have that rewrite change the envelope before reaching permit_auth_destination (i.e., an immediat

Re: Apply a redirect before checking other restrictions

2014-08-21 Thread Viktor Dukhovni
On Thu, Aug 21, 2014 at 02:22:46PM -0700, Darren Pilgrim wrote: > I want to rewrite the envelope recipient of a message if it's from a > specific sender, but have that rewrite change the envelope before reaching > permit_auth_destination (i.e., an immediate, before-queue rewrite). I want > this s

Apply a redirect before checking other restrictions

2014-08-21 Thread Darren Pilgrim
I want to rewrite the envelope recipient of a message if it's from a specific sender, but have that rewrite change the envelope before reaching permit_auth_destination (i.e., an immediate, before-queue rewrite). I want this so that I don't have to allow open relay from a given address just to