filterメモ
Postfixで簡単なfilterを使ったのでメモ
主に、FILTER_READMEを参考にしています。
不思議な事に、
filter unix - n n - 10 pipe
flags=Rq user=postfix_filter argv=/home/postfix_filter/filter/filter.sh -f ${sender} -- ${recipient}
と書くべき所を、
filter unix - n n - 10 pipe flags=Rq user=postfix_filter argv=/home/postfix_filter/filter/filter.sh -f ${sender} -- ${recipient} flter unix - n n - 10 pipe flags=Rq user=postfix_filter argv=/home/postfix_filter/filter/filter.sh -f ${sender} -- ${recipient}
と一行書かなければ、外からのメールがflterに通れないぞとエラー吐いてました。localhostからのメールはfilterを通っているのに・・・
typoなのは分かるのですが、どうも・・・
ちなみに、postfixは2.3.7を使用しています。