Happy New Year
[squirrelmail.git] / plugins / mail_fetch / config_default.php
CommitLineData
60683821 1<?php
4b4abf93 2
60683821 3/**
4 * mail_fetch plugin - Sample configuration file
5 *
77a1e3d1 6 * @copyright 2005-2022 The SquirrelMail Project Team
4b4abf93 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
60683821 8 * @version $Id$
9 * @package plugins
10 * @subpackage mail_fetch
11 */
12
b571d899 13
60683821 14/**
b571d899 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.
60683821 18 */
19$mail_fetch_allow_unsubscribed = false;
a7030d41 20
b571d899 21
22
23// This is the list of POP3 ports the user may specify.
24//
25// Usually, this does not need to be used at all, and
26// ports 110 and 995 will be the only available ports.
27//
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
32//
33// If you do not wish to restrict the allowable port
34// numbers at all, include "ALL" in this list.
35//
36$mail_fetch_allowable_ports = array(110, 995);
37
38
39
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.
44//
45// By default, this plugin will block POP3 server
46// addresses starting with "10.", "192.", "127." and
47// "localhost" (the pattern shown below).
48//
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
52// plugin diretory
53//
54// If you do not wish to restrict the allowable server
55// addresses at all, set this value to be "UNRESTRICTED"
56//
57// This is a full regular expression pattern
58//
59// Allow anything:
60//
61// $mail_fetch_block_server_pattern = 'UNRESTRICTED';
62//
63// Default pattern:
64//
65$mail_fetch_block_server_pattern = '/(^10\.)|(^192\.)|(^127\.)|(^localhost)/';
66
67