vmm
author martin f. krafft <madduck@madduck.net>
Sat, 14 Apr 2012 00:36:43 +0200
branchv0.6.x
changeset 533 2676dbf43e1c
parent 366 d6573da35b5f
child 568 14abdd04ddf5
permissions -rwxr-xr-x
Change UI to accept 'default' to restore inherited values Instead of explicit values for tid/ssid/qid, the UI now accepts 'default', which removed user-pecific settings and hence causes domain defaults to be used.

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Copyright 2007 - 2011, Pascal Volk
# See COPYING for distribution information.

"""This is the vmm main script."""

import sys

if __name__ == '__main__':
    # replace the script's cwd (/usr/local/sbin) with our module dir
    # (the location of the VirtualMailManager directory)
    sys.path[0] = '/usr/local/lib/vmm'
    from VirtualMailManager.cli.main import run
    sys.exit(run(sys.argv))