Subversion Repositories sysadmin_scripts

Rev

Rev 38 | Rev 50 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42 rodolico 1
$config = {
2
          'default' => {
3
                       'enabled' => 1,
4
                       'testing' => '1',
5
                       'source' => {
6
                                     'system' => [
7
                                                   'Outbox',
8
                                                   'Sent Items',
9
                                                   'INBOX'
10
                                                 ],
11
                                     'server' => 'smtp.example.com',
12
                                     'ignore' => [
13
                                                   'Deleted Messages',
14
                                                   'Drafts',
15
                                                   'Junk E-mail',
16
                                                   'Junk',
17
                                                   'Trash'
18
                                                 ],
19
                                     'age' => '18M',
20
                                     'deleteOnSuccess' => '1',
21
                                     'deleteEmptyFolders' => '1'
22
                                   },
23
                       'target' => {
24
                                   'server' => 'archive.example.com',
25
                                   'hierarchy' => '<path>'
26
                                 },
27
                     },
28
          'accounts' => {
29
                          'user@example.com' => {
30
                                                  'testing' => '1',
31
                                                  'source' => {
32
                                                                'system' => [
33
                                                                              'Trash'
34
                                                                            ],
35
                                                                'server' => 'smtp.example.com',
36
                                                                'username' => 'user@example.com',
37
                                                                'age' => '1Y',
38
                                                                'password' => 'imap password',
39
                                                                'ignore' => [
40
                                                                              'ThisIsSpam',
41
                                                                              'ThisIsNOTSpam',
42
                                                                              'ToProcess',
43
                                                                            ],
44
                                                                'deleteEmptyFolders' => '1',
45
                                                                'deleteOnSuccess' => '0'
46
                                                              },
47
                                                  'target' => {
48
                                                              'server' => 'smtp.dailydata.net',
49
                                                              'hierarchy' => '<path>^<year>^<month>',
50
                                                              'username' => 'user_archive@archive.example.com',
51
                                                              'password' => 'imap password'
52
                                                            },
53
                                                  'enabled' => 1,
54
                                                  'age' => '1.5Y'
55
                                                }
56
                        }
57
        };