~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to src/mailman/model/docs/registration.rst

  • 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:
275
275
can be used.
276
276
::
277
277
 
 
278
    >>> from mailman.utilities.datetime import now
278
279
    >>> dperson = user_manager.create_user(
279
280
    ...     'dperson@example.com', 'Dave Person')
280
281
    >>> dperson
281
282
    <User "Dave Person" (...) at ...>
282
283
    >>> address = user_manager.get_address('dperson@example.com')
283
 
    >>> address.verified_on = datetime.now()
 
284
    >>> address.verified_on = now()
284
285
 
285
286
    >>> from operator import attrgetter
286
287
    >>> dump_list(repr(address) for address in dperson.addresses)