I started a new project a while ago and recently it got its own site, time to let them Monks know about it and get it properly bashed:

Ashafix—a Postfixadmin port using Mojolicious

I was tired of trying to hack Postfixadmin to implement stuff like per-user transports and ending up wanting to gouge my eyes out at the look of the PHP, so I decided to take one last look and convert it to something more digestible/extensible, adding a bit of security like the CSRF protection Postfixadmin never got due to its nonexistent (in release versions that is, the alpha is a bit further) templating system and some protection against SQL injection through consistent use of prepared statements.

The result is still very alpha but has basic things working. As I suck at HTML design, it looks pretty much exactly like Postfixadmin but uses the Template Toolkit under the hood. It supports only MySQL so far as sprinkling the business logic with database case distinctions as in PFA was something I didn't even want to start; if someone has a good idea on how to abstract away datatype differences such as Postgres' boolean that can be 't' or 'f' vs. MySQL's TINYINT with 0 or !0 short of using DBIx::Class with column inflators, go ahead!

Any other ideas, criticism and patches (code is on GitHub) are welcome too of course!


In reply to Ashafix: Postfixadmin port in Perl/Mojolicious by mbethke

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.