Organizations import

A sample of the YAML Organizations import format is provided below.

organizations:
- admins:
  - account_type: 2
    active: true
    addresses: []
    created_on: 2016-04-26 11:33:30.251905
    email: !!python/unicode 'tony@home.topdog-software.com'
    firstname: !!python/unicode ''
    high_score: 0.0
    last_login: 2016-04-26 11:33:30.251905
    lastname: !!python/unicode ''
    lists: []
    local: true
    low_score: 0.0
    password1: !!python/unicode ''
    password2: !!python/unicode ''
    send_report: true
    signatures: []
    spam_checks: true
    timezone: !!python/unicode 'Africa/Johannesburg'
    username: !!python/unicode 'topdog'
  domains:
  - aliases:
    - name: !!python/unicode 'mojo.com'
      status: true
    - name: !!python/unicode 'mojo2.com'
      status: true
    authservers:
    - address: !!python/unicode '192.168.1.150'
      enabled: true
      ldapsettings: []
      port: 993
      protocol: 2
      radiussettings: []
      split_address: true
      user_map_template: !!python/unicode ''
    - address: !!python/unicode '192.168.1.150'
      enabled: true
      ldapsettings:
      - basedn: !!python/unicode 'cn=users,dc=topdog-software,dc=com'
        binddn: !!python/unicode 'uid=andrew,cn=users,dc=topdog-software,dc=com'
        bindpw: !!python/unicode ''
        emailattribute: !!python/unicode 'mail'
        emailsearch_scope: !!python/unicode 'subtree'
        emailsearchfilter: !!python/unicode 'mail=%u@topdog-software,dc=com'
        nameattribute: !!python/unicode 'uid'
        search_scope: !!python/unicode 'subtree'
        searchfilter: !!python/unicode ''
        usesearch: false
        usetls: true
      port: 389
      protocol: 5
      radiussettings: []
      split_address: true
      user_map_template: !!python/unicode ''
    delivery_mode: 1
    dkimkeys: []
    high_score: 0.0
    highspam_actions: 2
    language: !!python/unicode 'en'
    ldap_callout: true
    low_score: 0.0
    message_size: !!python/unicode '0'
    name: !!python/unicode 'home.topdog-software.com'
    report_every: 3
    servers:
    - address: !!python/unicode 'build2.home.topdog-software.com'
      enabled: true
      port: 25
      protocol: 1
    signatures: []
    site_url: !!python/unicode 'https://standalone.home.topdog-software.com'
    smtp_callout: true
    spam_actions: 2
    spam_checks: true
    status: true
    timezone: !!python/unicode 'Africa/Johannesburg'
    users:
    - account_type: 3
      active: true
      addresses:
      - address: !!python/unicode 'angel+*@home.topdog-software.com'
        enabled: true
        username: !!python/unicode 'angel@home.topdog-software.com'
      created_on: 2016-04-26 11:33:28.927721
      email: !!python/unicode 'angel@home.topdog-software.com'
      firstname: null
      high_score: 0.0
      last_login: 2016-04-26 11:33:28.927721
      lastname: null
      lists: []
      local: false
      low_score: 0.0
      password1: !!python/unicode ''
      password2: !!python/unicode ''
      send_report: true
      signatures: []
      spam_checks: true
      timezone: !!python/unicode 'Africa/Johannesburg'
      username: !!python/unicode 'angel@home.topdog-software.com'
    virus_actions: 2
    virus_checks: true
    virus_checks_at_smtp: true
  name: !!python/unicode 'Asante'
  relaysettings:
  - address: !!python/unicode '192.168.3.0/24'
    description: !!python/unicode 'hosted network'
    enabled: true
    high_score: 0.0
    highspam_actions: 2
    low_score: 0.0
    password1: !!python/unicode ''
    password2: !!python/unicode ''
    ratelimit: 250
    spam_actions: 2
    username: !!python/unicode ''
- admins: []
  domains:
  - aliases: []
    authservers:
    - address: !!python/unicode 'mail.tdss.co.za'
      enabled: true
      ldapsettings: []
      port: 110
      protocol: 1
      radiussettings: []
      split_address: true
      user_map_template: !!python/unicode ''
    delivery_mode: 1
    dkimkeys:
    - enabled: false
      pri_key: !!python/unicode '-----BEGIN RSA PRIVATE KEY-----
        MIIEpQIBAAKCAQEA4yQ2oy+5XoDdO2zQtaY0m7wTVAh2GsYwOo9yrUksMLfj33bH
        Uri6JI3Z8kPaFIeP/H+a0diFWWgtfKVzhl50vqYVXtAA9GdykbhjOlzU697Tqg6Z
        7/StEsJ5r5GRxwxCeEydfgmVzG+dbYangpHy2QkBQwSqOvFX3a3VZyUpUNTq+n7V
        jo/PZ2hWxL/tPiV82g0rqj4VPB95vBicENIA6g9+pEOZLnG2QcdP6hWED/Dd5nQr
        GDKKjAdX0SyXDrfgcfSoVOCIO4jWxdv2Nq/Q49DsV30PTB4hmLN4VyAdZNJJB5m0
        Y91IcJ66F2ftYClVoPCObF2KPNEeOufoQ7DAfwIDAQABAoIBAQDdbSAWVR/QEK+a
        jqmnay894kq1UMpRr4K0k8KnSv3ZQGrUHWaSLaLIn8AnfB3MhZrH+11h1EGqtvQg
        3umPw+TrNdz/YKaNm4sEo0uYSYcHqWGOFk3arhtKfmtBzBbghAMIYyflBlMRyH0f
        mHUTxFOJYE3ql1GbxEpzwFKZCpEMSa26Ho602kkEHe22rdfLkDOHtS9AERcwllGt
        GTHrETlUoV1WL2fOnoxx7T+qL5LfFVXZGipllSzpf1L0RK5uo7bsmOvOUF7x6yxY
        z8pM8hNlHW0MKyKei3oG0fWNg/FxXKxk7ursQOtbucjeSaVu76WfEf5vLWbncfql
        7kzrAGWBAoGBAPdh3aIrhBM+zm6lcHsFTw+Pc7vYIG5jZcId03r7j3itBdWYacne
        suj2dpS5gFY5gkOn4OVkzIA0LMasE2Jd1POfGOeiLp6KZxwHp4f8cuLlBmNDPl6n
        q2+F3hf5dPGMDVHo4yvWvpe74D2d6jM8bBFWuQxpNH5mXR1yF1kx09QdAoGBAOsN
        13fov3M0j/ZFy6M669gSFOOWGv57MhxjkFY3CNBG7qlFwdcDTFE8Ncw2vZTfDebM
        9+oV4GurukTF3HsSph/bEL1mOXT/oO9c9ksbaiCddy5SZqMDBWoAk95Iy0uwc0ud
        CGe+wmb9jhAoH2c1SSQswkGz/5r7FvfG62kT/UxLAoGBAIiMtbkBSisRXQNIQLk3
        KffN2DVUzDoClbW7nvNgjkYvQ2wucB5k1d6vxK69YjC2F8hej04wAI23vwt/Ckge
        wSAkrquVIySSAu4+72OpnoTNpGQARxoadQ/fFcOoB7wY8XVIFrUpGRVKODHqy86y
        SHidpRFLtRUcTcOmKWsrjOClAoGAH4BAYyqHFdpyfK/H5b1MxC1QLVv9jCNYiONz
        AYronHkVHQxjOPyRKsXl89NWPvBRvZ+0jeOWqvddxD+8F6ZdKyHBsZBUnPBxUgLk
        YxZud6aCxWt3o9sQy67+IikhTah9GyIVcUnoZcMPWez2oG9MuRNiiUmlNND3uAcp
        n3B1XtcCgYEA8gzfmLw4Zv6DWcJeXYlx6J65ns9BnPeIC3+tGbtksavV4zuge/f+
        GMcfUtt+zOtvDwqQd2AgpweaHCZX2goD7+3AvzMn8gQn113jHTSFlbCUhvfmwCBO
        WxrSXE4RHaMTDlce6e6J1h8j8esdjPDdaK6wuv6s+AnibEaY8xZCiRA=
        -----END RSA PRIVATE KEY-----
        '
      pub_key: !!python/unicode '-----BEGIN PUBLIC KEY-----
        MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4yQ2oy+5XoDdO2zQtaY0
        m7wTVAh2GsYwOo9yrUksMLfj33bHUri6JI3Z8kPaFIeP/H+a0diFWWgtfKVzhl50
        vqYVXtAA9GdykbhjOlzU697Tqg6Z7/StEsJ5r5GRxwxCeEydfgmVzG+dbYangpHy
        2QkBQwSqOvFX3a3VZyUpUNTq+n7Vjo/PZ2hWxL/tPiV82g0rqj4VPB95vBicENIA
        6g9+pEOZLnG2QcdP6hWED/Dd5nQrGDKKjAdX0SyXDrfgcfSoVOCIO4jWxdv2Nq/Q
        49DsV30PTB4hmLN4VyAdZNJJB5m0Y91IcJ66F2ftYClVoPCObF2KPNEeOufoQ7DA
        fwIDAQAB
        -----END PUBLIC KEY-----
        '
    high_score: 0.0
    highspam_actions: 2
    language: !!python/unicode 'en'
    ldap_callout: true
    low_score: 0.0
    message_size: !!python/unicode '0'
    name: !!python/unicode 'baruwa.com'
    report_every: 3
    servers:
    - address: !!python/unicode '192.168.1.150'
      enabled: true
      port: 25
      protocol: 1
    signatures: []
    site_url: !!python/unicode 'https://standalone.home.topdog-software.com'
    smtp_callout: true
    spam_actions: 2
    spam_checks: true
    status: true
    timezone: !!python/unicode 'Africa/Abidjan'
    users: []
    virus_actions: 2
    virus_checks: true
    virus_checks_at_smtp: true
  name: !!python/unicode 'Baruwa'
  relaysettings: []