+ Kimmo Bergh�ll <[EMAIL PROTECTED]>:

| Is it possibly to resend message in queue to different address?

Yes.

If the original address was local, just edit the appropriate local
.qmail file to the address you want.

In the more likely case that the original address was remote, you need
to do these things:

1. Declare that address as local using control/virtualdomains, and
   redirect it to a suitable alias that forwards to the new remote
   address.  RTFM qmail-send(1) for details on the virtualdomains
   file.

2. Then give your qmail-send a SIGHUP.  It will reread the
   virtualdomains file.

3. Put an item in control/smtphosts redirecting the remote host to
   localhost (or [127.0.0.1])

4. Give your qmail-send a SIGALRM.  Watch the logs and see the message
   travel towards its new destination.

5. Undo your changes to the virtualdomains file and give qmail-send
   another SIGHUP.

But beware in case there may be other messages traveling to the same
remote host at the same time - they risk being redirected too.

I believe the only other alternative is to stop qmail-send and then
fish the message out of the quene manually, before you restart
qmail-send.  Not recommended unless you really know what you're doing.

- Harald

Reply via email to