I want to rewrite the recipient adress of a mail queued in a hold queue.

Is it possible to rewrite the mail by hand with the mail id in the postfix queue ?

Maybe a command like this :

postrewrite -I ETGH12DD newrecipient@domain.com

Thanks for yours answers.

link|improve this question

80% accept rate
feedback

1 Answer

postcat -q ETGH12DD | grep -v "^* " | sendmail -oi newrecipient@domain.com ; done

I still have some encoding problems.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.