• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/postfix-252/postfix/src/cleanup/

Lines Matching +defs:header +defs:text

90 /* cleanup_fold_header - wrap address list header */
127 * from a message header line.
148 * Parse the header line, rewrite each address found, and regenerate the
149 * header line. Finally, pipe the result through the header line folding
205 * Parse the header line, rewrite each address found, and regenerate the
206 * header line. Finally, pipe the result through the header line folding
251 const char *content, const char *text)
267 if (text && *text)
268 vstring_sprintf_append(state->temp1, ": %s", text);
272 #define CLEANUP_ACT_CTXT_HEADER "header"
276 /* cleanup_act - act upon a header/body match */
315 state->reason = dsn_prepend(detail->dsn, detail->text);
387 msg_warn("PREPEND action without text in %s map", map_class);
390 msg_warn("bad PREPEND header text \"%s\" in %s map -- "
401 msg_warn("REPLACE action without text in %s map", map_class);
405 msg_warn("bad REPLACE header text \"%s\" in %s map -- "
428 /* Allow and ignore optional text after the action. */
443 /* cleanup_header_callback - process one complete header line */
473 * Crude header filtering. This stops malware that isn't sophisticated
474 * enough to use fancy header encodings.
486 char *header = vstring_str(header_buf);
489 if ((value = maps_find(checks, header, 0)) != 0) {
493 header, value, map_class))
496 } else if (result != header) {
509 * If this is an "unknown" header, just copy it to the output without
520 * the effort that went into MIME header parsing.
539 * Copy attachment etc. header blocks without further inspection.
547 * Known header. Remember that we have seen at least one. Find out what
548 * we should do with this header: delete, count, rewrite. Note that we
569 * SHOULD NOT send a message that already contains a Return-path header.
622 * Add a missing (Resent-)Message-Id: header. The message ID gives the
625 * XXX Message-Id is not a required message header (RFC 822 and RFC 2822).
665 * Add a missing (Resent-)Date: header. The date is in local time units,
676 * Add a missing (Resent-)From: header.
698 * (local) user, and the "From:" header field otherwise. If there is a
700 * header field if it is different from the address in the From header
704 * Postfix presently does not insert a Sender: header if envelope and From:
711 * contain multiple addresses. If this is the case, then a Sender: header
714 * Postfix does not count the number of addresses in a From: header
719 * Add a missing destination header.
727 msg_warn("bad %s header text \"%s\" -- "
736 * Place a dummy PTR record right after the last header so that we can
800 /* cleanup_message_headerbody - process message content, header and body */
854 * Copy text record to the output.
869 /* Ignore header truncation after primary message headers. */
874 state->reason = dsn_prepend(detail->dsn, detail->text);
896 const char *text, ssize_t len)
902 * Message header too large errors are handled after the end of the
910 state->queue_id, mime_state_error(err_code), TEXT_LEN, text,
931 * special processing of Content-Type: headers, and thus, causes all text
962 * XXX Workaround: truncate a long message header so that we don't exceed
971 * Pass control to the header processing routine.