Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Child Fund

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 64 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

flush



SYNOPSIS

       flush [generic Postfix daemon options]


DESCRIPTION

       The  flush  server  maintains a record of deferred mail by
       destination.  This information is used to improve the per­
       formance of the SMTP ETRN request, and of its command-line
       equivalent, sendmail -qR.  This program expects to be  run
       from the master(8) process manager.

       The  record  is  implemented  as a per-destination logfile
       with as contents the queue IDs of deferred mail. A logfile
       is   append-only,   and  is  truncated  when  delivery  is
       requested for the corresponding destination. A destination
       is  the part on the right-hand side of the right-most @ in
       an email address.

       Per-destination logfiles of deferred mail  are  maintained
       only  for eligible destinations. The list of eligible des­
       tinations is specified with the fast_flush_domains config­
       uration parameter, which defaults to $relay_domains.

       This server implements the following requests:

       FLUSH_REQ_ADD sitename queue_id
              Inform  the  fast  flush  server that the specified
              message is queued for sitename. Depending  on  log­
              ging  policy,  the  fast  flush  server  stores  or
              ignores the information.

       FLUSH_REQ_SEND sitename
              Request delivery of mail that is queued  for  site­
              name.   If  the  destination is eligible for a fast
              flush logfile, this request  triggers  delivery  of
              messages  listed in that destination's logfile, and
              the logfile is truncated to zero length; if mail is
              undeliverable it will be added back to the logfile.

              If the destination is not eligible for a fast flush
              logfile,  this  request  is rejected (see below for
              status codes).

       TRIGGER_REQ_WAKEUP
              This wakeup request from the master is an  alterna­
              tive way to request FLUSH_REQ_REFRESH.

       FLUSH_REQ_REFRESH (completes in the background)
              Refresh  non-empty  per-destination  logfiles  that
              were not read in fast_flush_refresh_time hours,  by
              simulating send requests (see above) for the corre­
              sponding destinations.


       FLUSH_STAT_OK
              The request completed normally.

       FLUSH_STAT_BAD
              The flush server rejected the request (bad  request
              name, bad request parameter value).

       FLUSH_STAT_FAIL
              The request failed.

       FLUSH_STAT_DENY
              The  request  was  denied  because  the destination
              domain is not eligible for fast flush  service,  or
              because the fast flush service is disabled.


SECURITY

       The  fast  flush server is not security-sensitive. It does
       not talk to the network, and it does  not  talk  to  local
       users.   The  fast  flush server can run chrooted at fixed
       low privilege.


DIAGNOSTICS

       Problems and transactions are logged to syslogd(8).


BUGS

       Fast  flush  logfiles   are   truncated   only   after   a
       FLUSH_REQ_SEND  request,  not when mail is actually deliv­
       ered, and therefore can accumulate outdated  or  redundant
       data.  In order to maintain sanity, FLUSH_REQ_REFRESH must
       be executed periodically. This can  be  automated  with  a
       suitable  wakeup timer setting in the master.cf configura­
       tion file.

       Upon receipt of a request to deliver all mail for an  eli­
       gible  destination,  the flush server requests delivery of
       all messages that are listed in  that  destination's  log­
       file, regardless of the recipients of those messages. This
       is not an issue for mail that is sent to  a  relay_domains
       destination  because  such mail typically only has recipi­
       ents in one domain.


FILES

       /var/spool/postfix/flush, location of "fast flush" logfiles.


CONFIGURATION PARAMETERS

       See the Postfix main.cf file for syntax  details  and  for
       default  values.  Use  the  postfix reload command after a
       configuration change.

       fast_flush_domains
              What destinations can have a "fast flush"  logfile.
              List of Postfix features that use  domain.tld  pat­
              terns   to  match  sub.domain.tld  (as  opposed  to
              requiring .domain.tld patterns).


SEE ALSO

       smtpd(8) Postfix SMTP server
       qmgr(8) Postfix queue manager
       syslogd(8) system logging


LICENSE

       The Secure Mailer license must be  distributed  with  this
       software.


AUTHOR(S)

       Wietse Venema
       IBM T.J. Watson Research
       P.O. Box 704
       Yorktown Heights, NY 10598, USA

                                                         FLUSH(8)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.15 Seconds