Migration from /etc/aliases to MySQL

I wrote a small shellscript which converts existing mail
relays in /etc/aliases to a SQL database. It worked for me in this
simple form but I can take no responsibility whatsover for any other

The usage is pretty much straight forward – simply give the script
the needed information as to where the aliases file is located, the
account for MySQL and so forth.
Note: In the current implementation you have to create the database,
a user and a valid relay table yourself. If you don’t know how to do that
you can extract this information in my howto on migrating Postfix to


Category: articles | Tags: , , , 3 comments »

3 Responses to “Migration from /etc/aliases to MySQL”

  1. Marguerita Colmenero

    Please let me know if you’re looking for a author for your site. You have some really great articles and I think I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some articles for your blog in exchange for a link back to mine. Please shoot me an email if interested. Regards!

  2. Winnifred Haspel

    Hey cool weblog, basically questioning what anti-spam software plan you use for feedback simply because i get lots on my weblog. Anyway, in my vocabulary, there should not quite a few great provide like this.

  3. Harold U. Prather

    Woah! I’m really enjoying the template/theme of this blog.
    It’s simple, yet effective. A lot of times it’s challenging to get that “perfect balance” between user friendliness
    and visual appeal. I must say you’ve done a fantastic job
    with this. In addition, the blog loads super fast for me on Chrome.

    Superb Blog!