Answer the question
In order to leave comments, you need to log in
How to get the body of an email when it is forwarded?
Good day. It is necessary to make an additional redirection of sent letters from the server to the group chat in the telegram. With the telegram itself, everything is clear, and sending messages is working properly. Email forwarding is done via /etc/aliases:
telegram: "|/usr/scripts/forwarding"
Answer the question
In order to leave comments, you need to log in
did this a long time ago...
first we redirect the letter, it was automatically set to the HOLD status
cat /etc/postfix/hold
[email protected] HOLD
postsuper -d ID
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question