Stewart, John
2004-03-05 21:37:24 UTC
I'm using 2.0.13:
bratwurst# postconf mail_version
mail_version = 2.0.13
And have got some virus checking stuff in body_checks:
bratwurst# postconf body_checks
body_checks = pcre:/etc/postfix/body_checks
And PCRE seems to be supported (I always do try to remember to compile it in
when I upgrade):
bratwurst# postconf -m
static
pcre
nis
dbm
regexp
environ
proxy
unix
However, postmap doesn't like PCRE:
bratwurst# postmap pcre:/etc/postfix/body_checks
postmap: fatal: unsupported map type: pcre
How can postmap not know about PCRE if postconf does? They were both
installed with a "make install" at the same time:
bratwurst# ls -l `which postmap`
-rwxr-xr-x 1 root other 1216936 Aug 5 2003
/usr/sbin/postmap
bratwurst# ls -l `which postconf`
-rwxr-xr-x 1 root other 1212152 Aug 5 2003
/usr/sbin/postconf
Also, since I've run postmap on body_checks without the pcre: prefix, it
seems it would be in dbm format:
bratwurst# postconf default_database_type
default_database_type = dbm
And it appears to be working (even though main.cf has it as type PCRE) with
dbm format (I'm seeing emails get blocked due to the new virus signatures I
just installed). So postfix is "smart" enough to use dbm format even though
PCRE is specified?
johnS
bratwurst# postconf mail_version
mail_version = 2.0.13
And have got some virus checking stuff in body_checks:
bratwurst# postconf body_checks
body_checks = pcre:/etc/postfix/body_checks
And PCRE seems to be supported (I always do try to remember to compile it in
when I upgrade):
bratwurst# postconf -m
static
pcre
nis
dbm
regexp
environ
proxy
unix
However, postmap doesn't like PCRE:
bratwurst# postmap pcre:/etc/postfix/body_checks
postmap: fatal: unsupported map type: pcre
How can postmap not know about PCRE if postconf does? They were both
installed with a "make install" at the same time:
bratwurst# ls -l `which postmap`
-rwxr-xr-x 1 root other 1216936 Aug 5 2003
/usr/sbin/postmap
bratwurst# ls -l `which postconf`
-rwxr-xr-x 1 root other 1212152 Aug 5 2003
/usr/sbin/postconf
Also, since I've run postmap on body_checks without the pcre: prefix, it
seems it would be in dbm format:
bratwurst# postconf default_database_type
default_database_type = dbm
And it appears to be working (even though main.cf has it as type PCRE) with
dbm format (I'm seeing emails get blocked due to the new virus signatures I
just installed). So postfix is "smart" enough to use dbm format even though
PCRE is specified?
johnS