usado link
adicionado ao main.cf:
# for redirection some emails header_checks = pcre:/etc/postfix/header_checks
conteúdo de: / etc / postfix / header_checks
/^From: (.*@test1.lo.cal)/ REDIRECT [email protected] /^Received: (.*10.10.10.12)/ REDIRECT [email protected] /^From: (.*@abrakadabra.lo.cal)/ REDIRECT [email protected] /^Received: (.*10.10.10.222)/ REDIRECT [email protected]
recarregue o reinício e assim por diante :) como sempre:)
postmap -q - pcre:/etc/postfix/header_checks < /etc/postfix/header_check systemctl reload postfix