Re: pending queue design

[email protected] (Jason R. Mastaler)
Newsgroups gmane.mail.spam.tmda.devel
Message-ID <[email protected]>
A first cut at the pending queue abstraction code is now in SVN.

See http://article.gmane.org/gmane.mail.spam.tmda.cvs/3174

Currently, "OriginalQueue", which is the current queue format, is the
only one available.  I just wanted to get the framework up, but now I
plan to write a Maildir compatible option as well, and perhaps others
(such as MySQL) too, and then add code to let users select from their
config file.

tmda-filter and tmda-pending should still work without any config
changes.  tmda-cgi has not been tested, but scanning quickly through
the code, I see that it does some direct pending queue scanning,
looking for "*.msg" files.  This will need to be changed.  tmda-cgi
should use the TMDA.Pending and TMDA.Queue.Queue interfaces only from
now on so that it will work with any pending queue format.  Hopefully
someone familiar with tmda-cgi (Jim?) can take a look at this soon.

The TMDA.Queue.Queue interface isn't set in stone yet, so any
suggestions are welcome.  I think writing another type of queue or two
will help me work out whether this needs to be changed or not, and how.

I can't believe I still remember how to program after 2+ years of not
writing a line of code in any language.  I guess it's like riding a
bike, or something....  :-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.