On Thu Feb 04, 2010 at 22:51:40 +0100, Joe Knall wrote: > ok; web frontends and databases are my business, that's no problem :) > all the usual mail checks will be done by postfix in front, only generally > accepted mails will be passed to qp (in the first run)
If you don't currently use LDAP then you shouldn't struggle too much in writing this with flat files. I setup a system which works on a per-domain basis. Each domain has valid users, per-domain whitelists, blacklists, and anti-spam tests. http://www.steve.org.uk/Software/ms-lite/ The code is clean and you could probably make it work with a little reading. But mostly I mention it to show how easy it can be to setup per-domain or per-user config just using filesystem trees. Why? Because LDAP is overkill if you're only handling small amounts of mail, and databases + qpsmtpd can be a difficult combination to work properly. (Search the list archives for people struggling with sharing handles.) Steve -- Debian GNU/Linux System Administration http://www.debian-administration.org/