OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Ben Rosengart (brpanix.com)
Date: Mon Apr 23 2001 - 14:52:52 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Sat, Apr 21, 2001 at 04:19:49PM +0400, Michael Tokarev wrote:
    > Ben Rosengart wrote:
    > >
    > > 1) Do you think I'm crazy?
    >
    > What caused you to ask this?? :)

    Well, if the postfix-users thought I was barking up the wrong tree,
    I'd find another tree to bark at.
     
    > > 2) Is there a chance that nqmgr would help?
    >
    > Nqmgr will restart as frequently as qmgr does -- i.e. any change in
    > any map postfix program uses causes this program to restart.
    >
    > Hm. This is also a good candidate to FAQ IMHO:
    >
    > Q. I updated (virtual, access, ... - peek one) map frequently, and
    > postfix slows dosn a lot. What to do?
    >
    > A. Do not rebuild maps so frequently. There are rare situations when
    > you really need to rebuild maps frequently. Some people uses a cron
    > job that executes postmap every few minutes. Instead, write a makefile
    > that will rebuild map only if source file(s) changed, and put a call
    > to `make' to your cron job; you may even *increase* updating frequency
    > in this case, to enshure that postfix uses more up-to-date info.
    > But note that this doesn't fit well in a situation where you host tons
    > of virtual domains and users constantly adds or deletes addresses in
    > there. In this case, use sql or ldap map.

    We rebuild the file every 15 minutes, but qmgr doesn't seem to reload
    unless there's a change.

    Thank you.

    -- 
    Ben Rosengart
    (212) 741-4400 x215
    

    "My hair is my password. Verify me."

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users