4 * mail_fetch plugin - Sample configuration file
6 * @copyright 2005-2020 The SquirrelMail Project Team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @subpackage mail_fetch
15 * Controls use of unsubscribed folders in plugin. Change this to true
16 * and save this file as "config.php" if it is allowed to store
17 * fetched messages in unsubscribed folders.
19 $mail_fetch_allow_unsubscribed = false;
23 // This is the list of POP3 ports the user may specify.
25 // Usually, this does not need to be used at all, and
26 // ports 110 and 995 will be the only available ports.
28 // If users are allowed to access POP3 that is served
29 // on a non-standard port, you'll need to add that port
30 // to this list and make sure this file is saved as
31 // "config.php" in the mail_fetch plugin directory
33 // If you do not wish to restrict the allowable port
34 // numbers at all, include "ALL" in this list.
36 $mail_fetch_allowable_ports = array(110, 995);
40 // This is a pattern match that allows you to block
41 // access to certain server addresses. This prevents
42 // a user from attempting to try to specify certain
43 // servers when adding a POP3 address.
45 // By default, this plugin will block POP3 server
46 // addresses starting with "10.", "192.", "127." and
47 // "localhost" (the pattern shown below).
49 // If you want to block other addresses, you'll need
50 // to add them to this pattern and make sure that this
51 // file is saved as "config.php" in the mail_fetch
54 // If you do not wish to restrict the allowable server
55 // addresses at all, set this value to be "UNRESTRICTED"
57 // This is a full regular expression pattern
61 // $mail_fetch_block_server_pattern = 'UNRESTRICTED';
65 $mail_fetch_block_server_pattern = '/(^10\.)|(^192\.)|(^127\.)|(^localhost)/';