|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse_at_porcupine.org)
Date: Mon Aug 12 2002 - 15:11:37 CDT
Steve Johnson:
> i have a quick question about how :include: files work. what happens
> if a message comes into Postfix that will be delivered to a list of
> address in an include file, but the file is in the process of being
> overwritten with a new version? does Postfix cache a version of the
> list for delivering messages to until the file is completely
> overwritten? or does it grab what's there even if it's incomplete?
> or does it wait until the file is completely there if it detects it's
> being overwritten? (if this is OS specific then i'm using Red Hat
> 7.3 and Postfix 1.1.11)
Postfix uses read() to read the file content, regardless of whether
the file is being updated. If you want to be safe, I suggest that
you adopt an include file maintenance procedure that uses rename()
rather than write().
> also - is there a way to use an ":include:" file from a virtual table
> or does it have to be in the aliases file? (i checked the archives
> and it looks like in 1999 the answer was "it has to be in the aliases
> file", but i wanted to doublecheck.)
Virtual maps are documented in the virtual(5) manual page. Last
time I looked, that manual page it did not document :include: files.
Wietse
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]