Subversion Repositories sysadmin_scripts

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 rodolico 1
%accounts = (
2
   'me@example.org' => {
3
                              'source' => {
4
                                 'server'    => 'mail.example.org',
5
                                 'username'  => 'me@example.org',
6
                                 'password'  => 'SomeReallyCoolPassword',
7
                              },
8
                              'target' => {
9
                                 'server'    => 'archive.example.org',
10
                                 'username'  => 'me_archive@example.org',
11
                                 'password'  => 'SomeReallyCoolPassword',
38 rodolico 12
                                 'hierarchy' => 'INBOX/%Y/%m/'
14 rodolico 13
                              },
14
                              'age'    => floor(365*1.5), # 18 months
15
                              'ignore' => [ 'ThisIsSpam','ThisIsNOTSpam', 'ToProcess' ],
16
                              'deleteOnSuccess' => 1,
17
                              'deleteEmptyFolders' => 1,
18
                             },
19
   'me2@example.org' => {
20
                              'source' => {
21
                                 'server'    => 'mail.example.org',
22
                                 'username'  => 'me2@example.org',
23
                                 'password'  => 'SomeReallyCoolPassword',
24
                              },
25
                              'target' => {
26
                                 'server'    => 'mail.example.org',
27
                                 'username'  => 'me2_archive@example.org',
28
                                 'password'  => 'SomeReallyCoolPassword',
38 rodolico 29
                                 'hierarchy' => ''
14 rodolico 30
                              },
31
                              'age'    => 365*2, # two years
32
                              'ignore' => [ 'ThisIsSpam','ThisIsNOTSpam', 'Archives', 'Archive' ],
33
                              'deleteOnSuccess' => 1,
34
                              'deleteEmptyFolders' => 1,
35
                             },
36
               );