Rev 38 | Rev 54 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
$config = {
'default' => {
'enabled' => 1,
'testing' => '1',
'source' => {
'system' => [
'Outbox',
'Sent Items',
'INBOX'
],
'server' => 'smtp.example.com',
'ignore' => [
'Deleted Messages',
'Drafts',
'Junk E-mail',
'Junk',
'Trash'
],
'age' => '18M',
'deleteOnSuccess' => '1',
'deleteEmptyFolders' => '1'
},
'target' => {
'server' => 'archive.example.com',
'hierarchy' => '<path>'
},
},
'accounts' => {
'user@example.com' => {
'testing' => '1',
'source' => {
'system' => [
'Trash'
],
'server' => 'smtp.example.com',
'username' => 'user@example.com',
'age' => '1Y',
'password' => 'imap password',
'ignore' => [
'ThisIsSpam',
'ThisIsNOTSpam',
'ToProcess',
],
'deleteEmptyFolders' => '1',
'deleteOnSuccess' => '0'
},
'target' => {
'server' => 'smtp.dailydata.net',
'hierarchy' => '<path>^<year>^<month>',
'username' => 'user_archive@archive.example.com',
'password' => 'imap password'
},
'enabled' => 1,
'age' => '1.5Y'
}
}
};