I'm a sysadmin for a smallish ISP, and we have our own mail server (qmail, of all the godforsaken things) that serves mail for about 300 domains and 5000 users in total. It's running out of disk space, and we have to replace the hardware to make it bigger.
So, I built a new mail server based on Exim, which uses Dovecot for POP/IMAP, and is modified to use MySQL for user authentication both on the Dovecot end and the Exim end (when receiving mail to verify the existence of an account before accepting mail for delivery). This was all based on the HOWTO at struction.de, and after getting all the kinks worked out, everything was going swimmingly, until I got to the part where users need to be able to administer their own accounts, or at the very least the domain hosting customers who like to create/delete accounts on a frequent basis.
Vexim is basically a dead project, so I avoided that. Someone recommended Postfixadmin.
Now, while it almost works, it's missing a big, fat feature that breaks the setup I have: user-defined spam scores that are stored in the MySQL database in the user's account. Just as importantly, it seems that the entire design of the system needs to be built around Postfixadmin, instead of putting Postfixadmin on top. I've just designed the entire system backwards.
I've been working on this project forever, and now I just want to chuck it all and buy some software that makes mail servers work properly the way we need them. I'm also not about to spend the next month or six building a new version of Postfixadmin (with my design and programming skills, a bad one at that) or just even modifying the current one.
Is there a way out of this situation?