~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to src/mailman/config/schema.cfg

  • Committer: Barry Warsaw
  • Date: 2012-03-26 12:04:00 UTC
  • Revision ID: barry@list.org-20120326120400-jfezy6cg60ygod7k
Architecture
------------
 * Internally, all datetimes are kept in the UTC timezone, however because of
   LP: #280708, they are stored in the database in naive format.
 * `received_time` is now added to the message metadata by the LMTP runner
   instead of by `Switchboard.enqueue()`.  This latter no longer depends on
   `received_time` in the metadata.
 * The `ArchiveRunner` no longer acquires a lock before it calls the
   individual archiver implementations, since not all of them need a lock.  If
   they do, the implementations must acquire said lock themselves.

Configuration
-------------
 * New configuration variables `clobber_date` and `clobber_skew` supported in
   every `[archiver.<name>]` section.  These are used to determine under what
   circumstances a message destined for a specific archiver should have its
   `Date:` header clobbered.

Show diffs side-by-side

added added

removed removed

Lines of Context:
540
540
# command to call.
541
541
command: /bin/echo
542
542
 
 
543
# When sending the message to the archiver, you have the option of
 
544
# "clobbering" the Date: header, specifically to make it more sane.  Some
 
545
# archivers can't handle dates that are wildly off from reality.  This does
 
546
# not change the Date: header for any other delivery vector except this
 
547
# specific archive.
 
548
#
 
549
# When the original Date header is clobbered, it will always be stored in
 
550
# X-Original-Date.  The new Date header will always be set to the date at
 
551
# which the messages was received by the Mailman server, in UTC.
 
552
#
 
553
# Your options here are:
 
554
# * never  -- Leaves the original Date header alone.
 
555
# * always -- Always override the Date header.
 
556
# * maybe  -- Override the Date only if it is outside the clobber_skew period.
 
557
clobber_date: maybe
 
558
clobber_skew: 1d
543
559
 
544
560
[archiver.mhonarc]
545
561
# This is the stock MHonArc archiver.