Dec 032010

Postfix implements the header_checks as built-in content inspection classes while receiving mail. Usually the best performance is obtained with pcre (Perl Compatible Regular Expression) tables or slower regexp (POSIX regular expressions). Googling on the net, i’ve found tiny perl script that can queries to,, ( Sahil Tandon wrote it, based on  João Gouveia perl script, i think..)

first download the script

# cd /etc/postfix
# wget

Rename and make it executable

# mv
# chmod 755

Edit add this two lines inet  n       n       n       -       0      spawn
user=nobody argv=/etc/postfix/

Make preliminary test, to ensure sih really spawned and answering our queries

# postfix reload
# telnet 2526

Continue reading »