Редирект почты в Postfix
Wednesday, January 28, 2009 4:35:53 AM
Задача: все письма которые не соответствую/соответствуют маске, заворачивать на служебный адрес
apt-get install postfix-pcre
/etc/postfix/main.cf
/etc/postfix/headers_check
apt-get install postfix-pcre
/etc/postfix/main.cf
header_checks = pcre:/etc/postfix/headers_check
/etc/postfix/headers_check
/To:.*@(?!mail.domain.ru)/ REDIRECT mailbox@mail.other.domain.ru







