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',
12
                              },
13
                              'age'    => floor(365*1.5), # 18 months
14
                              'ignore' => [ 'ThisIsSpam','ThisIsNOTSpam', 'ToProcess' ],
15
                              'deleteOnSuccess' => 1,
16
                              'deleteEmptyFolders' => 1,
17
                             },
18
   'me2@example.org' => {
19
                              'source' => {
20
                                 'server'    => 'mail.example.org',
21
                                 'username'  => 'me2@example.org',
22
                                 'password'  => 'SomeReallyCoolPassword',
23
                              },
24
                              'target' => {
25
                                 'server'    => 'mail.example.org',
26
                                 'username'  => 'me2_archive@example.org',
27
                                 'password'  => 'SomeReallyCoolPassword',
28
                              },
29
                              'age'    => 365*2, # two years
30
                              'ignore' => [ 'ThisIsSpam','ThisIsNOTSpam', 'Archives', 'Archive' ],
31
                              'deleteOnSuccess' => 1,
32
                              'deleteEmptyFolders' => 1,
33
                             },
34
               );