summaryrefslogtreecommitdiffstats
path: root/data/fixtures/20-test_data.yml
blob: 1bb12d8142ff71073c39ccabbe8ce921a80e7d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
User:
  domainadmin:
    nickname:   domainadmin
    first_name: Micky
    last_name:  Mouse
    email:      domainadmin@example.com
    password:   domainadmin
    role_id:    domainmaster
    parent_user_id: admin
    created_at:

  mailboxadmin:
    nickname:   mailboxadmin
    first_name: Kermit
    last_name:  The Frog
    email:      mailboxadmin@example.com
    password:   mailboxadmin
    role_id:    mailboxmaster
    parent_user_id: admin
    created_at:

Domain:
  d1:
    name:              example.com
    mailbox_prefix:    example
    max_mailbox_count: 300
    quota:             160000
    default_mailbox_quota: 20000
    creator_id:        admin
  d2:
    name:              test.com
    mailbox_prefix:    test
    max_mailbox_count: 300
    quota:             160000
    default_mailbox_quota: 20000
    creator_id:        domainadmin
  d3:
    name:              mailadmin.eu
    mailbox_prefix:    mailadmin
    max_mailbox_count: 9999
    quota:             160000
    default_mailbox_quota: 20000
    creator_id:        mailboxadmin
  d4:
    name:              anothertest.com
    mailbox_prefix:    anothertest
    max_mailbox_count: 0
    quota:             0
    default_mailbox_quota: 40000
    creator_id:        admin
  d5:
    name:              wealllovekittenz.com
    mailbox_prefix:    wealllovekittenz
    max_mailbox_count: 0
    quota:             0
    default_mailbox_quota: 0
    creator_id:        domainadmin
  d6:
    name:              sukimashita.com
    mailbox_prefix:    sukimashita
    max_mailbox_count: 231
    quota:             352351
    default_mailbox_quota: 5000
    creator_id:        admin

DomainPermission:
  p1:
    user_id:             mailboxadmin
    domain_id:           d1
  p2:
    user_id:             mailboxadmin
    domain_id:           d4
  p3:
    user_id:             mailboxadmin
    domain_id:           d6

  p4:
    user_id:             domainadmin
    domain_id:           d1
  p5:
    user_id:             domainadmin
    domain_id:           d2
  p6:
    user_id:             domainadmin
    domain_id:           d3
  p7:
    user_id:             domainadmin
    domain_id:           d5

Mailbox:
  m1:
    domain_id:           d1
    name:                example0001
    password:            secret
    max_quota:           20000
    max_address_count:   999
  m2:
    domain_id:           d2
    name:                test0001
    password:            secret1
    max_quota:           20000
    max_address_count:   0
  m3:
    domain_id:           d3
    name:                mailadmin0001
    password:            secret2
    max_quota:           20000
    max_address_count:   0
  m4:
    domain_id:           d1
    name:                example0002
    password:            secret3
    max_quota:           20000
    max_address_count:   2342

Address:
  a1:
    mailbox_id:    m1
    alias:         info@example.com
    destination:   example0001
    domain_id:     d1
  a2:
    mailbox_id:    m1
    alias:         @example.com
    destination:   example0001
    domain_id:     d1
  a3:
    mailbox_id:    m2
    alias:         test@test.com
    destination:   test0001
    domain_id:     d2
  a4:
    mailbox_id:    m3
    alias:         info@mailadmin.eu
    destination:   maladmin0001
    domain_id:     d3
  a5:
    mailbox_id:    m2
    alias:         @test.com
    destination:   forward@gmail.com,test0001
    domain_id:     d2
  a6:
    mailbox_id:    m3
    alias:         support@mailadmin.eu
    destination:   example0001,mailadmin0001,test0001
    domain_id:     d3

LogEntry:
  l1:
    user_id:       admin
    created_at:
    host:          aafab8a8df.aol.com
    message:       'User admin logged in.'
    priority:      0