Mark Weaver wrote:
> 
> > Then, when I make any changes to my postfix configs, I run this [brute-force]
> > script (not required for header_checks; but it's now a habit) to update the *.db
> > files:
> >
> >    #!/bin/sh
> >    # ONLY do "hash" files
> >    postmap /etc/postfix/access
> >    postmap /etc/postfix/virtual
> >    postmap /etc/postfix/access_client
> >    newaliases
> >    postfix reload
> 
> Pierre,
> 
> Your examples rock! I got my first taste of success with the header_check filters 
>when I examined the mail logs this morning. I had a hit and it rejected the spam 
>message. I'm unclear about the "brute force" thing though. what's that all about?

Glad to hear it!  The script doesn't check for what's changed, just rebuilds the
*.db files even if they haven't changed (hence "brute force" (^:
# ll *db
-rw-r--r--    1 root     root        12288 Dec 14 17:51 access_client.db
-rw-r--r--    1 root     root        12288 Dec 14 17:51 access.db
-rw-r--r--    1 root     root        12288 Dec 14 17:51 aliases.db
-rw-r--r--    1 root     root        12288 Nov 27 10:58 canonical.db
-rw-r--r--    1 root     root        12288 Nov 27 10:58 relocated.db
-rw-r--r--    1 root     root        12288 Nov 27 10:58 transport.db
-rw-r--r--    1 root     root        12288 Dec 14 17:51 virtual.db

I suppose I could add the others (Nov dates); but I don't use those...

Pierre

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to