Giter Site home page Giter Site logo

cloudxtreme / hostadmin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lordmortis/hostadmin

0.0 1.0 0.0 332 KB

Webhost admin software for managing email / dns / etc

Home Page: http://glados.qsix.com.au

Ruby 64.50% JavaScript 0.42% CoffeeScript 0.42% CSS 5.77% HTML 28.72% Shell 0.17%

hostadmin's Introduction

== Web Administation on Rails

== Things that need to be done
Write better readme :) 

Aliases - need to figure out a better way to display them so we can see multiple aliases for a single user. May require a new database layout

Deployment Scripts?
	Autogenerate database config file
	Autogenerate postfix config file(s)
	Change sync script to do the right thing


Configs:

Modify name of hosting environment in environment.rb

=======mysql-domains=======
user = postfix
password = Ucibtoc%

# The database name on the servers.
dbname = gladosadmin

# For Postfix 2.2 and later The SQL query template.
# See mysql_table(5) for details.
query = SELECT domains.name FROM domains WHERE domains.name = '%s' AND domains.email = '1'

hosts = 127.0.0.1
=======mysql-virtual-alias-maps=======
user = postfix
password = Ucibtoc%

# The database name on the servers.
dbname = gladosadmin

# For Postfix 2.2 and later The SQL query template.
# See mysql_table(5) for details.
query = SELECT destinations.destination as destination FROM mailalias_destinations as destinations, mailalias_sources as sources, domains WHERE sources.source='%u' AND domains.name='%d' AND sources.domain_id = domains.id AND sources.id = destinations.mailalias_source_id

hosts = 127.0.0.1
=======mysql-virtual-users=======
user = postfix
password = Ucibtoc%

# The database name on the servers.
dbname = gladosadmin

# For Postfix 2.2 and later The SQL query template.
# See mysql_table(5) for details.
query = SELECT CONCAT(U.name, '@',D.name) FROM mailusers AS U LEFT JOIN domains AS D ON U.domain_id=D.id WHERE CONCAT(U.name, '@',D.name)='%s'

hosts = 127.0.0.1

hostadmin's People

Contributors

lordmortis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.