[Mailman-Users] Mailman not archiving

stupidmail4me stupidmail4me at yahoo.com
Tue Oct 10 18:54:51 CEST 2006


Nothing. It doesn't create any log and there's no
appropriate entries in any log.

I've checked the headers for the delivered messages
and there's no x-archive headers (they're not being
myteriously added).

--- Mark Sapiro <msapiro at value.net> wrote:

> stupidmail4me wrote:
> 
> >It is set to Yes.
> >
> >--- Mark Sapiro <msapiro at value.net> wrote:
> >
> >> Is the list's archive attribute set to Yes?
> >> (Archiving Options in the
> >> web admin interface)
> 
> 
> Apply the attached patch to your mailman
> installation, restart Mailman,
> post a message to the list and report the contents
> of Mailman's
> 'debug' log.
> 
> To apply the patch, cd to the mailman install
> directory and
> 
> patch -p0 < path/to/patch.txt
> 
> -- 
> Mark Sapiro <msapiro at value.net>       The highway is
> for gamblers,
> San Francisco Bay Area, California    better use
> your sense - B. Dylan
> 
> > --- Mailman/Queue/ArchRunner.py	2006-04-15
> 16:56:00.000000000 -0700
> +++ Mailman/Queue/ArchRunner.py	2006-10-10
> 08:14:14.015625000 -0700
> @@ -22,6 +22,7 @@
>  from Mailman import mm_cfg
>  from Mailman import LockFile
>  from Mailman.Queue.Runner import Runner
> +from Mailman.Logging.Syslog import syslog
>  
>  
>  
> @@ -32,6 +33,7 @@
>          # Support clobber_date, i.e. setting the
> date in the archive to the
>          # received date, not the (potentially
> bogus) Date: header of the
>          # original message.
> +        syslog('debug', 'ArchRunner processing %s',
> msg.get('message-id'))
>          clobber = 0
>          originaldate = msg.get('date')
>          receivedtime =
> formatdate(msgdata['received_time'])
> --- Mailman/Handlers/ToArchive.py	2006-04-15
> 16:56:08.000000000 -0700
> +++ Mailman/Handlers/ToArchive.py	2006-10-10
> 08:14:47.453125000 -0700
> @@ -22,10 +22,12 @@
>  
>  from Mailman import mm_cfg
>  from Mailman.Queue.sbcache import get_switchboard
> +from Mailman.Logging.Syslog import syslog
>  
>  
>  
>  def process(mlist, msg, msgdata):
> +    syslog('debug', 'ToArchive invoked %s',
> msg.get('message-id'))
>      # short circuits
>      if msgdata.get('isdigest') or not
> mlist.archive:
>          return
> @@ -35,6 +37,7 @@
>      if msg.has_key('x-no-archive') or
> msg.get('x-archive', '').lower() == 'no':
>          return
>      # Send the message to the archiver queue
> +    syslog('debug', 'ToArchive queueing %s',
> msg.get('message-id'))
>      archq = get_switchboard(mm_cfg.ARCHQUEUE_DIR)
>      # Send the message to the queue
>      archq.enqueue(msg, msgdata)
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Mailman-Users mailing list