This repository was archived by the owner on Dec 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.php
64 lines (59 loc) · 2.06 KB
/
config.example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* The IMAP server connection string.
*
* This string should be in the format described on PHP's `imap_open`
* documentation page, but should contain only connectivity information and
* lack the mailbox name. If there is no configured mailbox name (see below),
* then a list of mailboxes will be printed when the application is started.
*
* @var string
*/
$GLOBALS['imap_server'] = '{imap.gmail.com:993/imap/ssl}';
/**
* The username used to login to the IMAP connection.
*
* @var string
*/
$GLOBALS['imap_username'] = '[email protected]';
/**
* The password used to login to the IMAP connection.
*
* @var string
*/
$GLOBALS['imap_password'] = 'Ex4mple!';
/**
* The name of the IMAP mailbox to use for DMARC aggregate reports.
*
* It is assumed that each e-mail in this mailbox will contain an XML
* (plain-text eXtensible Markup Language) or XML.GZ (g-zipped XML) attachment
* that is compliant with RFC 7489 Appendix C. If any given message fails to
* meet these conditions, it will be discarded during processing.
*
* @var string
*/
$GLOBALS['imap_mailbox'] = 'INBOX';
/**
* Optionally filter messages in the configured mailbox by recipient.
*
* This filter could be useful if DMARC reports are mixed-in with other
* messages, but are sent using a recipient delimiter (i.e.
* `[email protected]`).
*
* If this configuration directive is an empty string, this feature will be
* disabled. Otherwise, this directive will reduce the result set of messages
* to those with recipient addresses that match this directive exactly.
*
* @var string
*/
$GLOBALS['imap_filter_recipient'] = '[email protected]';
/**
* Flag to determine if only unread messages should be processed.
*
* If this flag is `false`, all messages in the remote mailbox, including
* those that could have been processed already, will be processed. This flag,
* if `true`, helps track incremental progress.
*
* @var bool
*/
$GLOBALS['imap_flag_unseen_only'] = true;