Beispiel #1
0
    def __init__( self,
                  msgs = [],
                  cache = None,
                  command_recipient = None,
                  descending = None,
                  dispose = None,
                  older = None,
                  summary = None,
                  terse = None,
                  threshold = None,
                  verbose = 1,
                  younger = None,
                  pretend = None ):

        Queue.__init__(self,
                       msgs,
                       cache,
                       command_recipient,
                       descending,
                       dispose,
                       older,
                       summary,
                       terse,
                       threshold,
                       verbose,
                       younger,
                       pretend)
Beispiel #2
0
 def initQueue(self):
     """Additionally initialize the interactive queue."""
     Queue.initQueue(self)
     if self.dispose is None:
         self.dispose_def = 'pass'
     else:
         self.dispose_def = self.dispose
     return self
Beispiel #3
0
 def __init__(self):
     Queue.__init__(self)
     self.format = "original"
 def __init__(self):
     Queue.__init__(self)
     self.format = "original"
Beispiel #5
0
 def __init__(self):
     Queue.__init__(self)
     self.format = "maildir"
Beispiel #6
0

from email.utils import parseaddr
import email
import os
import sys
import time

import Defaults
import Errors
import FilterParser
import Util
from TMDA.Queue.Queue import Queue


Q = Queue()
Q = Q.init()


class Queue:
    """A simple pending queue."""

    def __init__( self,
                  msgs = [],
                  cache = None,
                  command_recipient = None,
                  descending = None,
                  dispose = None,
                  older = None,
                  summary = None,
                  terse = None,