Rev 37 | Rev 42 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
%accounts = (
'me@example.org' => {
'source' => {
'server' => 'mail.example.org',
'username' => 'me@example.org',
'password' => 'SomeReallyCoolPassword',
},
'target' => {
'server' => 'archive.example.org',
'username' => 'me_archive@example.org',
'password' => 'SomeReallyCoolPassword',
'hierarchy' => 'INBOX/%Y/%m/'
},
'age' => floor(365*1.5), # 18 months
'ignore' => [ 'ThisIsSpam','ThisIsNOTSpam', 'ToProcess' ],
'deleteOnSuccess' => 1,
'deleteEmptyFolders' => 1,
},
'me2@example.org' => {
'source' => {
'server' => 'mail.example.org',
'username' => 'me2@example.org',
'password' => 'SomeReallyCoolPassword',
},
'target' => {
'server' => 'mail.example.org',
'username' => 'me2_archive@example.org',
'password' => 'SomeReallyCoolPassword',
'hierarchy' => ''
},
'age' => 365*2, # two years
'ignore' => [ 'ThisIsSpam','ThisIsNOTSpam', 'Archives', 'Archive' ],
'deleteOnSuccess' => 1,
'deleteEmptyFolders' => 1,
},
);