Jos Backus [mailto:[EMAIL PROTECTED]] wrote:
> Use an smtproutes entry perhaps, and SIGALRM qmail-send?

I thought about that, but I need to change more than just the SMTP server
otherwise the old recipient would be rejected by the new SMTP server. This is
weird because the recipient of the messages in the queue no longer exists
(along with the MX host), so I need to give those messages a new recipient.

I found that I could modify queue/remote/*/* files with qmail down. (It might
work with qmail up, but I don't know.)

This command did the trick for me:

perl -i -pe 's|Told\@old.com\0|Tnew\@new.com\0|g' remote/*/*

 - David Harris
   Principal Engineer, DRH Internet Services


Reply via email to