📄 settings.properties
字号:
# server_type: Valid values are pop3 or imap.
_settings.server_type=pop3
# incoming_server: Hostname or ip address of pop3 or imap server.
_settings.incoming_server=pop.your.domain
_settings.incoming_port=-1
_settings.incoming_ssl=false
# outgoing_server: Hostname or ip address of smtp server.
_settings.outgoing_server=smtp.your.domain
_settings.outgoing_port=-1
_settings.outgoing_ssl=false
# smtp_auth: If set to "true" then Webmail attempts to use smtp LOGIN authentication,
# smtp_auth: before sending message, with exactly the same username and
# smtp_auth: password user enters at login page.
_settings.smtp_auth=false
# sender_domain: This would be added to username to form sender address.
# sender_domain: If username already contains sender domain then put nothing after the equal sign.
# sender_domain: If sender domain is specified it should contain the @ sign.
_settings.sender_domain=@your.domain
# rich_content: When set to "true" then if message contains several alternatives of
# rich_content: the same message part then the html one will be preferred.
# rich_content: When set to "false" then the plain text part alternative will be preffered
# rich_content: and the images if any will not be shown in-place.
_settings.rich_content=true
# native_pop3_msguid: The message unique identifier is used to ensure that the
# native_pop3_msguid: operation will be performed on the message that user expects to,
# native_pop3_msguid: not only relying on the message number. Imap servers generate
# native_pop3_msguid: message UIDs that are numbers, but pop3 servers generate
# native_pop3_msguid: UIDs as strings. Not all pop3 servers generate
# native_pop3_msguid: UIDs that Webmail is ready to use. So if your pop3 server generates
# native_pop3_msguid: UIDs with strange symbols and Webmail does not work properly
# native_pop3_msguid: or if your pop3 server does not generate UIDs at all then set
# native_pop3_msguid: this parameter to "false" and Webmail will generate UIDs itself but
# native_pop3_msguid: they probably will not be always unique.
_settings.native_pop3_msguid=true
# msg_size_limit: Limitation of message size in bytes that Webmail will be permitted to send.
_settings.msg_size_limit=15728640
# page_size: Number of messages, displayed per page.
_settings.page_size=10
# delayed_message: When a user try to send a message from compose page while timeout have occured
# delayed_message: then it will be prompted to enter username and password.
# delayed_message: If this parameter is set to "true" then after the user will enter valid
# delayed_message: username and password the composing of the message will be resumed.
_settings.delayed_message=true
# hints_enabled: Whether to show or not hints on pages.
_settings.hints_enabled=true
# sort_enabled: If set to "true" then messages can be sorted
_settings.sort_enabled=true
# sort_limit: Number of messages that can be sorted (performance related)
_settings.sort_limit=100
# sendCodePage: Codepage in which your messages will be send.
_settings.sendCodePage=UTF-8
# defaultCodePage: Some incoming messages contain international characters but does not
# defaultCodePage: specify according codepage, so this parameter is used as a default codepage
# defaultCodePage: for such messages. If the message does not encoded in this codepage you
# defaultCodePage: can choose from codepages that specified in codepages.properties file
# defaultCodePage: or you will be able to specify any valid java codepage in the browser's
# defaultCodePage: address filed as the cp parameter.
_settings.defaultCodePage=UTF-8
# dateFormat: format of the date to be shown in the normal web page
# shortDateFormat: format of the date to be shown in the web page for pda
_settings.dateFormat=EEE, MMM d, yyyy HH:mm:ss
_settings.shortDateFormat=dd.MM.yy HH:mm
#_settings.dateFormat=EEE, MMM d, yyyy hh:mm aaa
# mailto_url: sets the part of the url, linked to an e-mail address in From and To list.
_settings.mailto_url=./compose?action=new&to=
# sent_folder: IMAP folder to store sent messages in
_settings.sent_folder=INBOX.Sent Items
# Webmail can be configured to use database to store users' address books.
# To use database you should set to "true" the _settings.storage_enabled parameter.
#
# To populate a database schema with the tables you should
# go to the "/admin" page and login with database user
# and password specified by parameters
# _settings.storage_user and _settings.storage_password.
#
# Then you should go through the "Schema" hyperlink and
# push the "Update" button.
# Set _settings.admin_enabled to "true" to enable the "/admin" page.
#
# Database tables are designed so as they can accomodate one
# instance of user's address book for different instance of
# webmails. I.e. if some user use one instance of webmail for
# smuser@workmail.com and the other for superman@home.net then
# both webmails can be configured to use one database.
# To configure a user to use one address book you should
# go to the "/admin" page and create a user which is an
# abstraction, then create two domains: "@workmail.com" and
# "smuser@home.net", and two accounts for this user: smuser and
# superman in correspondent domains.
# User, domain and account will be automatically created first
# time the user try to use an address book if the
# _settings.storage_autouser parameter is set to "true".
# Currently Webmail is ready to use MySQL and HSQLDB as a storage.
_settings.admin_enabled=false
_settings.storage_enabled=false
_settings.storage_autouser=true
# Start mysql command line utility
# e.g.: C:\Program Files\MySQL\MySQL Server 5.0\bin> mysql -u root -p mysql
# mysql> create database wmstor;
# mysql> grant all on wmstor.* to wmstor@'localhost' identified by 'wmpass' with grant option;
#_settings.storage_class=olivax.webmail.MySQLStorage
#_settings.storage_connect_str=jdbc:mysql://localhost/wmstor
#_settings.storage_schema=wmstor
#_settings.storage_user=wmstor
#_settings.storage_password=wmpass
# To start HSQLDB in server mode issue a command like this:
# java -cp ./hsqldb.jar org.hsqldb.Server -database.0 file:wmdb -dbname.0 wmstor
# Then connect to the database with an empty password:
# java -jar ./hsqldb.jar --inlineRc URL=jdbc:hsqldb:hsql://localhost/wmstor,USER=sa
# sa's password: <enter>
# set sa's password
# sql> set password "sapass";
_settings.storage_class=olivax.webmail.HSQLDBStorage
_settings.storage_connect_str=jdbc:hsqldb:hsql://localhost/wmstor
_settings.storage_schema=public
_settings.storage_user=sa
_settings.storage_password=sapass
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -