librelist archives

« back to archive

Lamson 1.0pre2 Shortly

Lamson 1.0pre2 Shortly

From:
Zed A. Shaw
Date:
2009-07-28 @ 08:23
Hey Everyone,

If you're on meta then you probably got this:


http://librelist.com/archives/meta/2009/07/22/queue/new/1248246267.M7179P11087Q1.09c5769d5b9f3d575cefc2ccb51877ec

I'll be dropping 1.0pre2 on you so you can get at the input limit queues
that I just added.  It's just two options on QueueReceiver, like this:

settings.receiver = QueueReceiver(settings.receiver_config['queue'],
			settings.receiver_config['sleep'],
                        size_limit=10 * 1024, oversize_dir='run/oversize')

Which sets a limit of 10k and tells the QueueReceiver to put any big
mails into run/oversize.

This is done by checking the size of the actual file in the maildir, and
if it's bigger than that then do a move on it to the target directory.
This way lamson doesn't actually load the file at all to find out if
it's too big.

This code is currently running on librelist.

Other than that there's not much else.  Librelist has the above listed
features and it finally gets the thread message id structures right, so
replies work now.

Have fun!

-- 
Zed A. Shaw
http://zedshaw.com/