What?
Ashafix is a Postfixadmin
clone in Perl using the Mojolicious framework.
Why yet another Postfix admin tool?
You're running a Postfix server because it's both designed with security in mind and fairly easy to use? Chances are you're running Postfixadmin, and you feel a bit uncomfortable about it. It hasn't seen an official release in well over two years, and PHP's security problems and general ugliness aren't exactly confidence-inspiring either.
That's not to say the Postfixadmin team hasn't done a good job. The tool
is simple and does just what people need. That (and the fact that I suck at
UI design) is why Ashafix is based closely on Postfixadmin, but with a few
differences that should make working on it and adapting it to new needs
less painful:
Features
- Written in Perl using the Mojolicious framework and Template Toolkit.
- Object-oriented MVC design
- Relatively clean separation of business logic and presentation (though
there is still some baggage from Postfixadmin 2.3 to be dealt with)
- Uses prepared statements throughout to minimize the risk of SQL injections.
- Built-in Cross-Site Request Forgery protection.
Missing features and other issues
Be warned: this is still alpha-quality software! Quite a few features are missing and others will have bugs. Among the known ones are:
- Only supports MySQL so far. In trying to keep it slim, I have avoided a
real ORM like DBIx::Class so far but I'm not too happy wit the database layer so this may change. Postfixadmin's business logic is sprinkled with special cases for PostgreSQL; I left these for the model classes to deal with but haven't decided just how, yet.
- Doesn't support fetchmail configuration/execution. Someone would have to convince me we still need this in 2012.
Requirements
Apart from a working web server and Perl 5.10 or greater, Ashafix needs the following Perl modules:
News
- 27-Apr-2012
Initial release.
Get it!
Ashafix is available from GitHub. Collaboration is welcome of course!
FAQ
- What's with the stupid name?
Any Postfix add-on likes to be named after some figure from the Asterix comic books. The postman “Postaldistrix” is a bit too obvious however, and all the major ones have been used somewhere. “Ashafix” is the Hebrew name for the village druid (“Getafix” in English), and “Druid” is GNOME-speak for what Microsoft calls a Wizard, a GUI-driven program that enables noobs to click through a process that would otherwise require editing some config files.