ls -l /var/www/imscp/gui/plugins/SpamAssassin/roundcube-plugins
Code
- insgesamt 128dr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 acldr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 additional_message_headersdr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 archivedr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 attachment_reminderdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 autologondr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 database_attachmentsdr-xr-x--- 4 vu2000 vu2000 4096 Apr 27 02:57 debug_loggerdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 emoticonsdr-xr-x--- 7 vu2000 vu2000 4096 Apr 27 02:57 enigmadr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 example_addressbookdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 filesystem_attachmentsdr-xr-x--- 6 vu2000 vu2000 4096 Apr 27 02:57 helpdr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 hide_blockquotedr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 http_authenticationdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 identity_selectdr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 jqueryuidr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 legacy_browserdr-xr-x--- 6 vu2000 vu2000 4096 Apr 27 02:57 managesievedr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 markasjunkdr-xr-x--- 4 vu2000 vu2000 4096 Apr 27 02:57 newmail_notifierdr-xr-x--- 4 vu2000 vu2000 4096 Apr 27 02:57 new_user_dialogdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 new_user_identitydr-xr-x--- 6 vu2000 vu2000 4096 Apr 27 02:57 passworddr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 redundant_attachmentsdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 show_additional_headersdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 squirrelmail_usercopydr-xr-x--- 4 vu2000 vu2000 4096 Apr 27 02:57 subscriptions_optiondr-xr-x--- 4 vu2000 vu2000 4096 Apr 27 02:57 userinfodr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 vcard_attachmentsdr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 virtuser_filedr-xr-x--- 3 vu2000 vu2000 4096 Apr 27 02:57 virtuser_querydr-xr-x--- 5 vu2000 vu2000 4096 Apr 27 02:57 zipdownload
PHP: /var/www/imscp/gui/plugins/SpamAssassin/config.php
- <?php/** * i-MSCP SpamAssassin plugin * Copyright (C) 2015 Laurent Declercq <l.declercq@nuxwin.com> * Copyright (C) 2013-2015 Rene Schuster <mail@reneschuster.de> * Copyright (C) 2013-2015 Sascha Bay <info@space2place.de> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */return array( // // Below you can adjust the SpamAssassin configuration. // // For more information about the different configuration options please check the SpamAssassin documentation at: // http://spamassassin.apache.org/full/3.3.x/doc/ or http://spamassassin.apache.org/full/3.4.x/doc/ // // WARNING: Don't change anything, if you don't know what you are doing. // // Reject spam (default: not) // // If set to 'yes', the mails are rejected when they are detected as SPAM by SpamAssassin. // If set to 'no', the mails are no rejected but taggued as SPAM when they are deteced as SPAM by SpamAssassin. // // Note: Rejecting SPAMs is supported because the checks are done before the MTA accepts the mails (before-queue // filter with spamass-milter). 'reject_spam' => 'no', // Use bayes (default: yes) // // If set to 'yes', enable usage of the bayes database. // If set to 'no', disable usage of the bayes database. 'use_bayes' => 'yes', // Site wide bayes (default: no) // // If set to 'yes', global bayes database is activated. This allow to share the bayesian database with all users. 'site_wide_bayes' => 'no', // SA learn cronjob for learning about spam/ham (default: run every 12 hours) 'cronjob_bayes_sa-learn' => array( 'minute' => '*', 'hour' => '*/12', 'day' => '*', 'month' => '*', 'dweek' => '*' ), // SA learn cron job for cleaning the bayesian database (default: run once per day) 'cronjob_clean_bayes_db' => array( 'minute' => '@daily', 'hour' => '', 'day' => '', 'month' => '', 'dweek' => '' ), // Use auto whitelist (default: no) // // When set to 'yes', enable usage of the Auto-Whitelist (awl) factor. // When set to 'no', disable usage of the Auto-Whitelist (awl) factor. 'use_auto-whitelist' => 'no', // Cron job to cleanup the awl database from old entries (default: once per day) 'cronjob_clean_awl_db' => array( // See man CRONTAB(5) for allowed values 'minute' => '@daily', 'hour' => '', 'day' => '', 'month' => '', 'dweek' => '' ), // Razor2 (default: no) // // If set to 'yes', enable usage of razor2. // If set to 'no', disable usage of razor2. 'use_razor2' => 'yes', // Pyzor (default: no) // // If set to 'yes', enable usage of Pyzor. // If set to 'no', disable usage of Pyzor. 'use_pyzor' => 'yes', // DCC - Distributed Checksum Clearinghouse (default: no) // // If set to 'yes', enable usage of DCC. // If set to 'no', disable usage of DCC. 'use_dcc' => 'no', // RBL checks (default: no) // // If set to 'yes', enable RBL checks. // If set to 'no', disable RBL check. // // Note: You shouldn't enable this feature if you're already using PolicydWeight or Postscreen plugins. 'use_rbl_checks' => 'yes', // This plugin will try to guess the language used in the message text. 'use_lang_check' => 'no', // yes, no (default) // //// 3rd party SpamAssasin plugins // // DecodeShortURLs plugin (default: no) // // If set to 'yes', enable the DecodeShortURLs plugin. // If set to 'no', disable the DecodeShortURLs plugin. // // See https://github.com/smfreegard/DecodeShortURLs for further details. 'DecodeShortURLs' => 'no', // iXhash2 plugin (default: no) // // If set to 'yes', enable the iXhash2 plugin. // If set to 'no', disable the iXhash2 plugin. // // See http://mailfud.org/iXhash2/ for further details. 'iXhash2' => 'no', // //// Roundcube plugins // // markasjunk2 plugin (default: yes) // // If set to 'yes', enable the markasjunk2 roundcube plugin. // If set to 'no', disable the markasjunk2 roundcube plugin. // // The markasjunk2 roundcube plugin adds a new button to the mailbox toolbar, which allow the users to mark the // selected messages as Junk/Not Junk, optionally detaching original messages from spam reports if the message is // not junk and learning the bayesian database with junk/not junk. 'markasjunk2' => 'yes', // sauserprefs plugin (default: yes) // // If set to 'yes', enable the sauserprefs plugin. // If set to 'no', disable sauserprefs plugin. // // The sauserprefs roundcube plugin adds a 'Spam' tab to the 'Settings' in roundcube, which allow the users to // change their SpamAssassin preferences. SA user preference are stored inside the imscp_spamassassin database. 'sauserprefs' => 'yes', // Protected SA user preferences (default: '{headers}', 'use_razor1') // // Any user preference listed in that configuration parameter will be protected against overriding by users. See // Check webmail/plugins/sauserprefs/config.inc.php for list of available options. // // Don't change anything, if you don't know what you are doing. 'sauserprefs_dont_override' => "'{headers}', 'use_razor1'", // default: "'{headers}', 'use_razor1'" // //// SpamAssassin and spamass-milter configuration // 'spamassMilterOptions' => '-e -f -I -u spamass-milter', 'spamassMilterSocket' => '/var/spool/postfix/spamass/spamass.sock', 'spamassassinOptions' => '--max-children=5 --sql-config --nouser-config --username=debian-spamd --port=783 --helper-home-dir=/var/lib/spamassassin');
PHP: /var/www/imscp/gui/plugins/RoundcubePlugins/config.php
- <?php
- /**
- * i-MSCP - internet Multi Server Control Panel
- * Copyright (C) 2013-2015 Rene Schuster <mail@reneschuster.de>
- * Copyright (C) 2013-2015 Sascha Bay <info@space2place.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
- return array(
- // Adds the originating ip address for the emails sent via roundcube
- 'additional_message_headers_plugin' => 'yes', // YES to enable (default), NO to disable
- // Archive plugin adds a new button to the Roundcube toolbar
- // to move messages to an (user selectable) archive folder.
- 'archive_plugin' => 'no', // YES to enable (default), NO to disable
- // Calendar plugin is a full calendar for Roundcube.
- 'calendar_plugin' => 'yes', // YES to enable (default), NO to disable
- // Adds context menus to the message list, folder list and address book.
- // Possibility to mark mails as read/unread, delete, reply and forward mails.
- 'contextmenu_plugin' => 'yes', // YES to enable (default), NO to disable
- // Displays the DKIM Signature status of each mail in Roundcube.
- 'dkimstatus_plugin' => 'yes', // YES to enable (default), NO to disable
- // Emoticons inserts nice smileys and other emoticons when the appropriate
- // text representations e.g. :-) are discovered in the mail text.
- 'emoticons_plugin' => 'yes', // YES to enable (default), NO to disable
- // Allows to display additional information (HTML code block) at logon page.
- // Configuration: Put your content into the file config-templates/logon_page/logon_page.html
- // It will be parsed by Roundcube templates engine, so you can use all template features (tags).
- 'logon_page_plugin' => 'yes', // YES to enable (default), NO to disable
- // Uses the managesieve protocol and allows the user to manage his sieve mail rules.
- // A default Spam sieve rule will be created after the user opened the Filters configuration in Roundcube.
- // This plugin only works with po server dovecot.
- 'managesieve_plugin' => 'yes', // YES to enable (default), NO to disable
- // The name of the script which will be used when there's no user script
- 'managesieve_script_name' => 'managesieve', // default: managesieve
- // Can notify on new mails by focusing browser window and changing favicon,
- // playing a sound and displaying desktop notification (using webkitNotifications feature).
- 'newmail_notifier_plugin' => 'yes', // YES to enable (default), NO to disable
- 'newmail_notifier_config' => array(
- // Enables basic notification
- 'newmail_notifier_basic' => 'true', // TRUE to enable (default), FALSE to disable
- // Enables sound notification
- 'newmail_notifier_sound' => 'true', // TRUE to enable, FALSE to disable (default)
- // Enables desktop notification
- 'newmail_notifier_desktop' => 'true' // TRUE to enable, FALSE to disable (default)
- ),
- // Roundcube inline pdf viewer.
- 'pdfviewer_plugin' => 'yes', // YES to enable (default), NO to disable
- // Roundcube inline odf viewer.
- 'odfviewer_plugin' => 'yes', // YES to enable (default), NO to disable
- // Plugin pop3fetcher allows to add pop3 accounts and automatically fetch emails from them.
- 'pop3fetcher_plugin' => 'yes', // YES to enable (default), NO to disable
- // Define how often the pop3 accounts should be checked.
- 'pop3fetcher_cronjob' => array( // See man CRONTAB(5) for allowed values
- 'minute' => '*/15',
- 'hour' => '*',
- 'day' => '*',
- 'month' => '*',
- 'dweek' => '*'
- ),
- // Task management plugin for Roundcube.
- 'tasklist_plugin' => 'yes', // YES to enable (default), NO to disable
- // Adds an option to download all attachments of a message in one zip file.
- 'zipdownload_plugin' => 'yes', // YES to enable (default), NO to disable
- // i-MSCP mail password changer
- 'imscp_pw_changer' => 'yes' // YES to enable (default), NO to disable
- );