12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- /**
- * mail_fetch plugin - Sample configuration file
- *
- * @copyright 2005-2025 The SquirrelMail Project Team
- * @license http://opensource.org/licenses/gpl-license.php GNU Public License
- * @version $Id$
- * @package plugins
- * @subpackage mail_fetch
- */
- /**
- * Controls use of unsubscribed folders in plugin. Change this to true
- * and save this file as "config.php" if it is allowed to store
- * fetched messages in unsubscribed folders.
- */
- $mail_fetch_allow_unsubscribed = false;
- // This is the list of POP3 ports the user may specify.
- //
- // Usually, this does not need to be used at all, and
- // ports 110 and 995 will be the only available ports.
- //
- // If users are allowed to access POP3 that is served
- // on a non-standard port, you'll need to add that port
- // to this list and make sure this file is saved as
- // "config.php" in the mail_fetch plugin directory
- //
- // If you do not wish to restrict the allowable port
- // numbers at all, include "ALL" in this list.
- //
- $mail_fetch_allowable_ports = array(110, 995);
- // This is a pattern match that allows you to block
- // access to certain server addresses. This prevents
- // a user from attempting to try to specify certain
- // servers when adding a POP3 address.
- //
- // By default, this plugin will block POP3 server
- // addresses starting with "10.", "192.", "127." and
- // "localhost" (the pattern shown below).
- //
- // If you want to block other addresses, you'll need
- // to add them to this pattern and make sure that this
- // file is saved as "config.php" in the mail_fetch
- // plugin diretory
- //
- // If you do not wish to restrict the allowable server
- // addresses at all, set this value to be "UNRESTRICTED"
- //
- // This is a full regular expression pattern
- //
- // Allow anything:
- //
- // $mail_fetch_block_server_pattern = 'UNRESTRICTED';
- //
- // Default pattern:
- //
- $mail_fetch_block_server_pattern = '/(^10\.)|(^192\.)|(^127\.)|(^localhost)/';
|