Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

This question already has an answer here:

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.

share|improve this question

marked as duplicate by Michael Hampton Sep 25 '14 at 14:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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

I still have some encoding problems.

share|improve this answer

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