Re: postfix postmap, when to use
dave [EMAIL PROTECTED] writes: I've got a confusion issue, regarding postfix's postmap and when to use it. I've read some documentation that suggests you don't need to run it when making regexp or pcre map types such as in header_checks, yet the header_checks file supplied with postfix 2.1 suggests to run it. In addition hash and other types i'm similar confused. Has this changed from 2.0 to 2.1? I don't actually understand the question, but I'll take a try at answering anyway. The postmap command is what creates the databases from the source files that you create for the maps. Regular expressions are normally used in the source files as a syntax for the entries. I suggest asking postfix questions on the postfix lists... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix postmap, when to use
dave [EMAIL PROTECTED]: I've got a confusion issue, regarding postfix's postmap and when to use it. I've read some documentation that suggests you don't need to run it when making regexp or pcre map types such as in header_checks, yet the header_checks file supplied with postfix 2.1 suggests to run it. In addition hash and other types i'm similar confused. Has this changed from 2.0 to 2.1? I believe you are correct, certainly pcre possibly regexp do not require postmap to be run. Postfix has the tools to help you work this out for yourself: believe you are correct, certainly pcre possibly regexp do not require postmap to be run. Postfix has the tools to help you work this out for yourself: # cat /usr/local/etc/postfix/maps/helo_access.pcre /^[0-9]+(\.[0-9]+){3}$/ REJECT Invalid hostname # postmap -q 10.0.0.1 pcre:/usr/local/etc/postfix/maps/helo_access.pcre REJECT Invalid hostname # cat /usr/local/etc/postfix/maps/user_access jeffOK # postmap -q jeff hash:/usr/local/etc/postfix/maps/user_access postmap: fatal: open database /usr/local/etc/postfix/maps/user_access.db : No such file or directory # postmap hash:/usr/local/etc/postfix/maps/user_access # postmap -q jeff hash:/usr/local/etc/postfix/maps/user_access OK Use postconf -m to find out what databases your system supports. jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix postmap, when to use
Hello, I've got a confusion issue, regarding postfix's postmap and when to use it. I've read some documentation that suggests you don't need to run it when making regexp or pcre map types such as in header_checks, yet the header_checks file supplied with postfix 2.1 suggests to run it. In addition hash and other types i'm similar confused. Has this changed from 2.0 to 2.1? Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]