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

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
add comment

1 Answer

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

I still have some encoding problems.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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