Postfix Overview - Introduction - SCN Research
Postfix Overview - Introduction - SCN Research
Postfix Overview - Introduction - SCN Research
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
FLUSH(8)<br />
FLUSH(8)<br />
Page 1 of 3<br />
NAME<br />
flush - <strong>Postfix</strong> fast flush server<br />
SYNOPSIS<br />
flush<br />
[generic <strong>Postfix</strong> daemon options]<br />
DESCRIPTION<br />
The flush server maintains a record of deferred mail by<br />
destination. This information is used to improve the performance<br />
of the SMTP ETRN request, and of its command-line<br />
equivalent, sendmail -qR. This program expects to be run<br />
from the master(8) process manager.<br />
The record is implemented as a per-destination logfile<br />
with as contents the queue IDs of deferred mail. A logfile<br />
is append-only, and is truncated when delivery is<br />
requested for the corresponding destination. A destination<br />
is the part on the right-hand side of the right-most @ in<br />
an email address.<br />
Per-destination logfiles of deferred mail are maintained<br />
only for eligible destinations. The list of eligible destinations<br />
is specified with the fast_flush_domains configuration<br />
parameter, which defaults to $relay_domains.<br />
This server implements the following requests:<br />
FLUSH_REQ_ADD sitename queue_id<br />
Inform the fast flush server that the specified<br />
message is queued for sitename. Depending on logging<br />
policy, the fast flush server stores or<br />
ignores the information.<br />
FLUSH_REQ_SEND sitename<br />
Request delivery of mail that is queued for sitename.<br />
If the destination is eligible for a fast<br />
flush logfile, this request triggers delivery of<br />
messages listed in that destination's logfile, and<br />
the logfile is truncated to zero length; if mail is<br />
undeliverable it will be added back to the logfile.<br />
If the destination is not eligible for a fast flush<br />
logfile, this request triggers delivery of all<br />
queued mail.<br />
TRIGGER_REQ_WAKEUP<br />
This wakeup request from the master is an alternative<br />
way to request FLUSH_REQ_REFRESH.<br />
FLUSH_REQ_REFRESH (completes in the background)<br />
Refresh non-empty per-destination logfiles that<br />
were not read in fast_flush_refresh_time hours, by<br />
simulating send requests (see above) for the corresponding<br />
destinations.<br />
Delete empty per-destination logfiles that were not<br />
updated in fast_flush_purge_time days.<br />
FLUSH_REQ_PURGE (completes in the background)<br />
Refresh all non-empty per-destination logfiles, by<br />
simulating send requests (see above) for the corre-<br />
http://www.porcupine.org/postfix-mirror/flush.8.html<br />
6/26/01