> ------- Original Message -------
> From: Harold Paulson <haro...@sierraweb.com>
> To: postfix-users@postfix.org
> Sent: 27-Feb-09, 17:41:27
> Subject: Re: postsuper -r not re-resolving aliases
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Victor,
> 
> On Feb 27, 2009, at 2:39 PM, Victor Duchovni wrote:
> 
> > On Fri, Feb 27, 2009 at 02:34:23PM -0800, Harold Paulson wrote:
> >
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Hello,
> >>
> >> I have a number of messages in my deferred queue that are destined  
> >> for an
> >> offsite alias, which is currently unreachable.  I have changed the  
> >> alias to
> >> point to a local mailbox so the mail can be retrieved by the  
> >> owner.  New
> >> messages sent to this alias are delivered as expected to this new  
> >> mailbox.
> >>
> >> However, if I 'postsuper -r <queueid>' one of the deferred  
> >> messages, it is
> >> re-queued to go to the old offsite destination.  I was expecting  
> >> it to
> >> re-resolve the alias, and send the message to the new mailbox.
> >> postsuper(1) says that when I re-queue a message with the -r option:
> >>
> >>   The  message is subjected again to mail address rewriting
> >>   and substitution.  This is useful when rewriting rules or
> >>   virtual mappings have changed.
> >>
> >> Obviously I am doing something wrong here.  How can I re-queue these
> >> deferred messages so they are sent to the new destination instead  
> >> of the
> >> old one?
> >
> > It is again subjected to rewriting, but the input to the rewrite is  
> > the
> > output of the previous rewrites.
> 
> Thank you for the informative reply.  I understand the problem now.
> 
> Is there a reasonable way to get the destination of these stuck  
> messages changed?
> 
>       - H

add a virtual alias maps entry like
stuckaddress  newaddress
and then requeue the messages

  -- Noel Jones  

Reply via email to