Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- source /etc/network/interfaces.d/*
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- allow-hotplug eth0
- iface eth0 inet static
- address 92.63.57.120
- netmask 255.255.255.0
- gateway 92.63.57.1
- dns-nameservers 62.149.128.4 62.149.132.4
- nameserver 62.149.128.4
- nemeserver 62.149.132.4
- # postfix config file
- # uncomment for debugging if needed
- soft_bounce=yes
- # postfix main
- mail_owner = postfix
- setgid_group = postdrop
- delay_warning_time = 4
- # postfix paths
- html_directory = no
- command_directory = /usr/sbin
- daemon_directory = /usr/lib/postfix
- queue_directory = /var/spool/postfix
- sendmail_path = /usr/sbin/sendmail.postfix
- newaliases_path = /usr/bin/newaliases.postfix
- mailq_path = /usr/bin/mailq.postfix
- manpage_directory = /usr/share/man
- sample_directory = /usr/share/doc/postfix-2.2.2/samples
- readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
- # network settings
- inet_interfaces = all
- mydomain = webhost.stacknet.eu
- myhostname = webhost
- mynetworks = 127.0.0.1, 92.63.57.120
- mydestination = localhost.$mydomain, localhost
- relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf
- # mail delivery
- recipient_delimiter = +
- # mappings
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- #transport_maps = hash:/etc/postfix/transport
- #local_recipient_maps =
- # virtual setup
- virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf, regexp:/etc/sentora/configs/postfix/virtual_regexp
- virtual_mailbox_base = /var/sentora/vmail
- virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
- virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
- virtual_minimum_uid = 999
- virtual_uid_maps = static:999
- virtual_gid_maps = static:8
- virtual_transport = dovecot
- dovecot_destination_recipient_limit = 1
- # debugging
- debug_peer_level = 2
- debugger_command =
- PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
- xxgdb $daemon_directory/$process_name $process_id & sleep 5
- # authentication
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_security_options = noanonymous
- smtpd_sasl_local_domain = $myhostname
- broken_sasl_auth_clients = yes
- smtpd_sasl_type = dovecot
- smtpd_sasl_path = private/auth
- # tls config
- smtp_use_tls = no
- smtpd_use_tls = no
- #smtp_tls_note_starttls_offer = yes
- #smtpd_tls_loglevel = 1
- #smtpd_tls_received_header = yes
- #smtpd_tls_session_cache_timeout = 3600s
- #tls_random_source = dev:/dev/urandom
- #smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
- # Change mail.example.com.* to your host name
- #smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key
- #smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.crt
- # smtpd_tls_CAfile = /etc/pki/tls/root.crt
- # rules restrictions
- smtpd_client_restrictions =
- smtpd_helo_restrictions =
- smtpd_sender_restrictions =
- smtpd_recipient_restrictions = permit_sasl_authenticated,
- permit_mynetworks,
- reject_unauth_destination,
- reject_non_fqdn_sender,
- reject_non_fqdn_recipient,
- reject_unknown_recipient_domain
- # uncomment for realtime black list checks. (Warn: will also reject false positive)
- # ,reject_rbl_client zen.spamhaus.org
- # ,reject_rbl_client bl.spamcop.net
- # ,reject_rbl_client dnsbl.sorbs.net
- smtpd_helo_required = yes
- unknown_local_recipient_reject_code = 550
- disable_vrfy_command = yes
- smtpd_data_restrictions = reject_unauth_pipelining
- smtpd_banner = $myhostname ESMTP
- message_size_limit = 20480000
- <?php
- /*
- +-----------------------------------------------------------------------+
- | Main configuration file |
- | |
- | This file is part of the Roundcube Webmail client |
- | Copyright (C) 2005-2013, The Roundcube Dev Team |
- | |
- | Licensed under the GNU General Public License version 3 or |
- | any later version with exceptions for skins & plugins. |
- | See the README file for a full license statement. |
- +-----------------------------------------------------------------------+
- */
- $config = array();
- // ----------------------------------
- // SQL DATABASE
- // ----------------------------------
- // Database connection string (DSN) for read+write operations
- // Format (compatible with PEAR MDB2): db_provider://user:password@host/database
- // Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
- // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
- // NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
- $config['db_dsnw'] = 'mysql://roundcube:6466f6b26466@localhost/sentora_roundcube';
- $config['db_table_users'] = 'users';
- $config['db_table_identities'] = 'identities';
- $config['db_table_contacts'] = 'contacts';
- $config['db_table_contactgroups'] = 'contactgroups';
- $config['db_table_contactgroupmembers'] = 'contactgroupmembers';
- $config['db_table_session'] = 'session';
- $config['db_table_cache'] = 'cache';
- $config['db_table_cache_index'] = 'cache_index';
- $config['db_table_cache_thread'] = 'cache_thread';
- $config['db_table_cache_messages'] = 'cache_messages';
- // ----------------------------------
- // SMTP
- // ----------------------------------
- $config['smtp_server'] = 'tls://%h'; //Default was ''
- // SMTP username (if required) if you use %u as the username Roundcube
- // will use the current username for login
- $config['smtp_user'] = '%u'; //Default was ''
- // SMTP password (if required) if you use %p as the password Roundcube
- // will use the current user's password for login
- $config['smtp_pass'] = '%p'; //Default was ''
- // use this folder to store log files (must be writeable for apache user)
- // This is used by the 'file' log driver.
- $config['log_dir'] = '/var/sentora/logs/roundcube/'; //Default was RCUBE_INSTALL_PATH . 'logs/'
- // use this folder to store temp files (must be writeable for apache user)
- $config['temp_dir'] = '/var/sentora/temp'; //Default was RCUBE_INSTALL_PATH . 'temp/'
- // Forces conversion of logins to lower case.
- // 0 - disabled, 1 - only domain part, 2 - domain and local part.
- // If users authentication is case-insensitive this must be enabled.
- // Note: After enabling it all user records need to be updated, e.g. with query:
- // UPDATE users SET username = LOWER(username);
- $config['login_lc'] = 0; //Default was 2
- // this key is used to encrypt the users imap password which is stored
- // in the session record (and the client cookie if remember password is enabled).
- // please provide a string of exactly 24 chars.
- $config['des_key'] = 'TDlK7Xp7YBRIAPQGQ0YKH4dv';
- // Name your service. This is displayed on the login screen and in the window title
- $config['product_name'] = 'Sentora Webmail'; //Default was 'Roundcube Webmail'
- // Path to a local mime magic database file for PHPs finfo extension.
- // Set to null if the default path should be used.
- #$config['mime_magic'] = '/usr/share/misc/magic'; //default was null
- // ----------------------------------
- // PLUGINS
- // ----------------------------------
- // List of active plugins (in plugins/ directory)
- $config['plugins'] = array('managesieve');
- // ----------------------------------
- // USER INTERFACE
- // ----------------------------------
- // automatically create the above listed default folders on first login
- $config['create_default_folders'] = true; //Default was false
- // ----------------------------------
- // USER PREFERENCES
- // ----------------------------------
- // display remote inline images
- // 0 - Never, always ask
- // 1 - Ask if sender is not in address book
- // 2 - Always show inline images
- $config['show_images'] = 2; //Default was 0
- // compose html formatted messages by default
- // 0 - never, 1 - always, 2 - on reply to HTML message, 3 - on forward or reply to HTML message
- $config['htmleditor'] = 1; //Default was 0
- // save compose message every 120 seconds (2min)
- $config['draft_autosave'] = 120; //default was 300
- // If true, after message delete/move, the next message will be displayed
- $config['display_next'] = false; //Default was true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement