|
44 | 44 | // Mailbox password. |
45 | 45 | 'password' => getenv('IMAP_PASSWORD'), |
46 | 46 | // Mailbox name |
47 | | - 'mailbox' => 'DMARC', |
| 47 | + 'mailbox' => getenv('MAILBOX_NAME'), |
48 | 48 | // IMAP authorization methods to be excluded. |
49 | 49 | // For example: 'auth_exclude' => [ 'GSSAPI', 'NTLM' ] |
50 | 50 | 'auth_exclude' => [] |
|
89 | 89 | * 'when_done' => [ 'mark_seen', 'move_to:done' ], |
90 | 90 | * The default value is 'mark_seen'. |
91 | 91 | */ |
92 | | - 'when_done' => 'move_to:DMARC-PROCESSED.Aggregate', |
| 92 | + 'when_done' => 'move_to:' . getenv('MAILBOXES_WHEN_DONE_MOVE_TO'), |
93 | 93 |
|
94 | 94 | /** |
95 | 95 | * What to do with the email message when a report from it has been rejected. |
96 | 96 | * The same actions are available as for the when_done. |
97 | 97 | * The default value is 'move_to:failed'. |
98 | 98 | */ |
99 | | - 'when_failed' => 'move_to:DMARC-PROCESSED.Invalid' |
| 99 | + 'when_failed' => 'move_to:' . getenv('MAILBOXES_WHEN_FAILED_MOVE_TO'), |
100 | 100 | ], |
101 | 101 | 'directories' => [ |
102 | 102 | // How many report files will be processed at once maximum. 0 to disable any limiting. |
|
108 | 108 | * for detailed description. |
109 | 109 | * The default value is 'delete'. |
110 | 110 | */ |
111 | | - 'when_done' => 'move_to:DMARC-PROCESSED.Aggregate', |
| 111 | + 'when_done' => 'move_to:' . getenv('DIRECTORIES_WHEN_DONE_MOVE_TO'), |
112 | 112 |
|
113 | 113 | /** |
114 | 114 | * What to do with the report file when it has been rejected. |
115 | 115 | * The same actions are available as for the when_done. |
116 | 116 | * The default value is 'move_to:failed'. |
117 | 117 | * |
118 | 118 | */ |
119 | | - 'when_failed' => 'move_to:DMARC-PROCESSED.Invalid' |
| 119 | + 'when_failed' => 'move_to:' . getenv('DIRECTORIES_WHEN_FAILED_MOVE_TO'), |
120 | 120 | ], |
121 | 121 | /** |
122 | 122 | * Domains matching this regular expression will be automatically added to the database from processed |
|
0 commit comments