postsuper -r not re-resolving aliases

2009-02-27 Thread Harold Paulson

-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?


Thanks.

- H




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFJqGp2Oy/dHTCUq6oRAmTIAJ97czKnfZK7YuGy9+2ofciovOsJQgCgtGtB
y0VlH/yzSPS7M7o6Ku6HabY=
=Mn2Y
-END PGP SIGNATURE-


Re: postsuper -r not re-resolving aliases

2009-02-27 Thread Harold Paulson

-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




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFJqHouOy/dHTCUq6oRAspNAKCCnJ2gHICI5Rdq1w2CyBV8jfDpJQCffWyn
nRusSDhVRTbw6oLIzRG3GFg=
=RAGC
-END PGP SIGNATURE-