Manual Pages for UNIX Darwin command on man cleanup
MyWebUniversity

Manual Pages for UNIX Darwin command on man cleanup

CLEANUP(8) CLEANUP(8)

NAME

cleanup - canonicalize and enqueue Postfix message

SYNOPSIS

cclleeaannuupp [generic Postfix daemon options]

DESCRIPTION

The cclleeaannuupp daemon processes inbound mail, inserts it into the iinnccoommiinngg mail queue, and informs the queue manager of its arrival. The cclleeaannuupp daemon always performs the following transformations:

+o Insert missing message headers: (RReesseenntt-) FFrroomm::, TToo::, MMeessssaaggee-

IIdd::, and DDaattee::. +o Transform envelope and header addresses to the standard

user@fully-qualified-domain form that is expected by other Post-

fix programs. This task is delegated to the ttrriivviiaall-rreewwrriittee(8)

daemon. +o Eliminate duplicate envelope recipient addresses. The following address transformations are optional: +o Optionally, rewrite all envelope and header addresses according to the mappings specified in the ccaannoonniiccaall(5) lookup tables. +o Optionally, masquerade envelope sender addresses and message header addresses (i.e. strip host or domain information below all domains listed in the mmaassqquueerraaddeeddoommaaiinnss parameter, except for user names listed in mmaassqquueerraaddeeeexxcceeppttiioonnss). By default, address masquerading does not affect envelope recipients. +o Optionally, expand envelope recipients according to information found in the vviirrttuuaall(5) lookup tables.

The cclleeaannuupp daemon performs sanity checks on the content of each mes-

sage. When it finds a problem, by default it returns a diagnostic sta-

tus to the client, and leaves it up to the client to deal with the problem. Alternatively, the client can request the cclleeaannuupp daemon to bounce the message back to the sender in case of trouble. STANDARDS RFC 822 (ARPA Internet Text Messages) RFC 2045 (MIME: Format of Internet Message Bodies) RFC 2046 (MIME: Media Types) DIAGNOSTICS Problems and transactions are logged to ssyyssllooggdd(8).

BUGS

Table-driven rewriting rules make it hard to express iiff tthheenn eellssee and

other logical relationships. CCOONNFFIIGGUURRAATTIIOONN PPAARRAAMMEETTEERRSS

Changes to mmaaiinn..ccff are picked up automatically, as cleanup(8) processes

run for only a limited amount of time. Use the command "ppoossttffiixx rreellooaadd" to speed up a change. The text below provides only a parameter summary. See postconf(5) for more details including examples. CCOOMMPPAATTIIBBIILLIITTYY CCOONNTTRROOLLSS

uunnddiisscclloosseeddrreecciippiieennttsshheeaaddeerr ((TToo:: uunnddiisscclloosseedd-rreecciippiieennttss::;;))

Message header that the Postfix cleanup(8) server inserts when a

message contains no To: or Cc: message header. Available in Postfix version 2.1 and later: eennaabblleeeerrrroorrssttoo ((nnoo)) Report mail delivery errors to the address specified with the

non-standard Errors-To: message header, instead of the envelope

sender address.

BBUUIILLTT-IINN CCOONNTTEENNTT FFIILLTTEERRIINNGG CCOONNTTRROOLLSS

Postfix built-in content filtering is meant to stop a flood of worms or

viruses. It is not a general content filter. bbooddyycchheecckkss ((eemmppttyy)) Optional lookup tables for content inspection as specified in the bodychecks(5) manual page. hheeaaddeerrcchheecckkss ((eemmppttyy))

Optional lookup tables for content inspection of primary non-

MIME message headers, as specified in the headerchecks(5) man-

ual page. Available in Postfix version 2.0 and later: bbooddyycchheecckkssssiizzeelliimmiitt ((5511220000)) How much text in a message body segment (or attachment, if you prefer to use that term) is subjected to bodychecks inspection.

mmiimmeehheeaaddeerrcchheecckkss (($$hheeaaddeerrcchheecckkss))

Optional lookup tables for content inspection of MIME related message headers, as described in the headerchecks(5) manual page.

nneesstteeddhheeaaddeerrcchheecckkss (($$hheeaaddeerrcchheecckkss))

Optional lookup tables for content inspection of non-MIME mes-

sage headers in attached messages, as described in the headerchecks(5) manual page. MMIIMMEE PPRROOCCEESSSSIINNGG CCOONNTTRROOLLSS Available in Postfix version 2.0 and later: ddiissaabblleemmiimmeeiinnppuuttpprroocceessssiinngg ((nnoo)) Turn off MIME processing while receiving mail. mmiimmeebboouunnddaarryylleennggtthhlliimmiitt ((22004488)) The maximal length of MIME multipart boundary strings. mmiimmeenneessttiinngglliimmiitt ((110000))

The maximal nesting level of multipart mail that the MIME pro-

cessor will handle. ssttrriicctt88bbiittmmiimmee ((nnoo)) Enable both strict7bitheaders and strict8bitmimebody. ssttrriicctt77bbiitthheeaaddeerrss ((nnoo))

Reject mail with 8-bit text in message headers.

ssttrriicctt88bbiittmmiimmeebbooddyy ((nnoo))

Reject 8-bit message body text without 8-bit MIME content encod-

ing information. ssttrriiccttmmiimmeeeennccooddiinnggddoommaaiinn ((nnoo))

Reject mail with invalid Content-Transfer-Encoding: information

for the message/* or multipart/* MIME content types. AAUUTTOOMMAATTIICC BBCCCC RREECCIIPPIIEENNTT CCOONNTTRROOLLSS Postfix can automatically add BCC (blind carbon copy) when mail enters the mail system: aallwwaayyssbbcccc ((eemmppttyy)) Optional address that receives a "blind carbon copy" of each message that is received by the Postfix mail system. Available in Postfix version 2.1 and later: sseennddeerrbbccccmmaappss ((eemmppttyy))

Optional BCC (blind carbon-copy) address lookup tables, indexed

by sender address. rreecciippiieennttbbccccmmaappss ((eemmppttyy))

Optional BCC (blind carbon-copy) address lookup tables, indexed

by recipient address. AADDDDRREESSSS TTRRAANNSSFFOORRMMAATTIIOONN CCOONNTTRROOLLSS

Address rewriting is delegated to the trivial-rewrite(8) daemon. The

cleanup(8) server implements table driven address mapping.

eemmppttyyaaddddrreessssrreecciippiieenntt ((MMAAIILLEERR-DDAAEEMMOONN))

The recipient of mail addressed to the null address. ccaannoonniiccaallmmaappss ((eemmppttyy)) Optional address mapping lookup tables for message headers and envelopes. rreecciippiieennttccaannoonniiccaallmmaappss ((eemmppttyy)) Optional address mapping lookup tables for envelope and header recipient addresses. sseennddeerrccaannoonniiccaallmmaappss ((eemmppttyy)) Optional address mapping lookup tables for envelope and header sender addresses. mmaassqquueerraaddeeccllaasssseess ((eennvveellooppeesseennddeerr,, hheeaaddeerrsseennddeerr,, hheeaaddeerrrreecciippiieenntt)) What addresses are subject to address masquerading. mmaassqquueerraaddeeddoommaaiinnss ((eemmppttyy)) Optional list of domains whose subdomain structure will be stripped off in email addresses. mmaassqquueerraaddeeeexxcceeppttiioonnss ((eemmppttyy)) Optional list of user names that are not subjected to address

masquerading, even when their address matches $masquer-

adedomains. pprrooppaaggaatteeuunnmmaattcchheeddeexxtteennssiioonnss ((ccaannoonniiccaall,, vviirrttuuaall)) What address lookup tables copy an address extension from the lookup key to the lookup result. Available before Postfix version 2.0: vviirrttuuaallmmaappss ((eemmppttyy)) Optional lookup tables with a) names of domains for which all addresses are aliased to addresses in other local or remote domains, and b) addresses that are aliased to addresses in other local or remote domains. Available in Postfix version 2.0 and later:

vviirrttuuaallaalliiaassmmaappss (($$vviirrttuuaallmmaappss))

Optional lookup tables that alias specific mail addresses or domains to other local or remote address. RREESSOOUURRCCEE AANNDD RRAATTEE CCOONNTTRROOLLSS dduupplliiccaatteeffiilltteerrlliimmiitt ((11000000))

The maximal number of addresses remembered by the address dupli-

cate filter for aliases(5) or virtual(5) alias expansion, or for showq(8) queue displays. hheeaaddeerrssiizzeelliimmiitt ((110022440000)) The maximal amount of memory in bytes for storing a message header. hhooppccoouunnttlliimmiitt ((5500)) The maximal number of Received: message headers that is allowed in the primary message headers. iinnfflloowwddeellaayy ((11ss)) Time to pause before accepting a new message, when the message arrival rate exceeds the message delivery rate. mmeessssaaggeessiizzeelliimmiitt ((1100224400000000)) The maximal size in bytes of a message, including envelope information. Available in Postfix version 2.0 and later: hheeaaddeerraaddddrreessssttookkeennlliimmiitt ((1100224400)) The maximal number of address tokens are allowed in an address message header. mmiimmeebboouunnddaarryylleennggtthhlliimmiitt ((22004488)) The maximal length of MIME multipart boundary strings. mmiimmeenneessttiinngglliimmiitt ((110000))

The maximal nesting level of multipart mail that the MIME pro-

cessor will handle. qquueeuueeffiilleeaattttrriibbuutteeccoouunnttlliimmiitt ((110000)) The maximal number of (name=value) attributes that may be stored in a Postfix queue file. Available in Postfix version 2.1 and later: vviirrttuuaallaalliiaasseexxppaannssiioonnlliimmiitt ((11000000)) The maximal number of addresses that virtual alias expansion produces from each original recipient. vviirrttuuaallaalliiaassrreeccuurrssiioonnlliimmiitt ((11000000)) The maximal nesting depth of virtual alias expansion. MMIISSCCEELLLLAANNEEOOUUSS CCOONNTTRROOLLSS

ccoonnffiiggddiirreeccttoorryy ((sseeee ''ppoossttccoonnff -dd'' oouuttppuutt))

The default location of the Postfix main.cf and master.cf con-

figuration files. ddaaeemmoonnttiimmeeoouutt ((1188000000ss)) How much time a Postfix daemon process may take to handle a

request before it is terminated by a built-in watchdog timer.

ddeellaayywwaarrnniinnggttiimmee ((00hh)) The time after which the sender receives the message headers of mail that is still queued. iippccttiimmeeoouutt ((33660000ss)) The time limit for sending or receiving information over an internal communication channel. mmaaxxiiddllee ((110000ss)) The maximum amount of time that an idle Postfix daemon process waits for the next service request before exiting. mmaaxxuussee ((110000))

The maximal number of connection requests before a Postfix dae-

mon process terminates.

mmyyhhoossttnnaammee ((sseeee ''ppoossttccoonnff -dd'' oouuttppuutt))

The internet hostname of this mail system.

mmyyoorriiggiinn (($$mmyyhhoossttnnaammee))

The default domain name that locally-posted mail appears to come

from, and that locally posted mail is delivered to.

pprroocceessssiidd ((rreeaadd-oonnllyy))

The process ID of a Postfix command or daemon process.

pprroocceessssnnaammee ((rreeaadd-oonnllyy))

The process name of a Postfix command or daemon process.

qquueeuueeddiirreeccttoorryy ((sseeee ''ppoossttccoonnff -dd'' oouuttppuutt))

The location of the Postfix top-level queue directory.

ssooffttbboouunnccee ((nnoo)) Safety net to keep mail queued that would otherwise be returned to the sender. ssyyssllooggffaacciilliittyy ((mmaaiill)) The syslog facility of Postfix logging. ssyyssllooggnnaammee ((ppoossttffiixx)) The mail system name that is prepended to the process name in

syslog records, so that "smtpd" becomes, for example, "post-

fix/smtpd". Available in Postfix version 2.1 and later: eennaabblleeoorriiggiinnaallrreecciippiieenntt ((yyeess))

Enable support for the X-Original-To message header.

FILES /etc/postfix/canonical*, canonical mapping table /etc/postfix/virtual*, virtual mapping table

SEE ALSO

trivial-rewrite(8), address rewriting

qmgr(8), queue manager headerchecks(5), message header content inspection bodychecks(5), body parts content inspection canonical(5), canonical address lookup table format virtual(5), virtual alias lookup table format postconf(5), configuration parameters master(8), process manager syslogd(8), system logging README FILES Use "ppoossttccoonnff rreeaaddmmeeddiirreeccttoorryy" or "ppoossttccoonnff hhttmmllddiirreeccttoorryy" to locate this information. ADDRESSREWRITINGREADME Postfix address manipulation LLIICCEENNSSEE 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 CLEANUP(8)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™