by Daniel Davies

Websites, as most programmers will know, are quite different to regular software programs. The main reason is that the "program" only ever runs when a user wants something (makes a request). HTTP, the protocol through which websites operate, has no state. This can be tricky when a large amount of processing is required on a page, because effectively a visitor must wait until all this processing has been done before they view the page. Relying on visitors to the site to trigger mass processing events is a poor way to develop applications.

A preferred method is to have script run in the background, far away from HTTP actually on the server. Django provides an excellent method of running backend processing scripts via the manage.py file. Unfortunately, its documentation is somewhat lacking and will only get you so far. Assuming that you have read the documentation and are comfortable with ...

Read full article…

by Daniel Davies

I recently discovered that if you are using a patched Postfix server to provide mail quotas with virtual users, but also want to have mail delivered locally by procmail then you lost quota functionality. This leads to a number of problems.

I discovered that the problem lay with a file called maildirsize, which Postfix's VDA apparently creates upon delivery of mail. By delivering via procmail the VDA is by-passed and Procmail will not create this file for you. After a lot of Googling I was unable to find a satisfactory resolution to this problem, so I wrote a quick script which you can run to rebuild this file.

If you're using virtual mailboxes you no doubt have a scipt sat between Postfix and Procmail ...

Read full article…

Showing page 1 of 1
1

Contact Daniel…

Request a Quote