maildemo.properties revision 823
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync#
668c89ac2522d866021f5af374fac5bbed1c05aevboxsync# Copyright (c) 2009-2016 Oracle and/or its affiliates. All rights reserved.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Copyright (c) 2009-2016 Jason Mehrens. All Rights Reserved.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync#
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Redistribution and use in source and binary forms, with or without
c58f1213e628a545081c70e26c6b67a841cff880vboxsync# modification, are permitted provided that the following conditions
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# are met:
ee83d548adae5c628ab0799ceae14ad7895a0590vboxsync#
ee83d548adae5c628ab0799ceae14ad7895a0590vboxsync# - Redistributions of source code must retain the above copyright
ee83d548adae5c628ab0799ceae14ad7895a0590vboxsync# notice, this list of conditions and the following disclaimer.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# - Redistributions in binary form must reproduce the above copyright
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# notice, this list of conditions and the following disclaimer in the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# documentation and/or other materials provided with the distribution.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# - Neither the name of Oracle nor the names of its
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# contributors may be used to endorse or promote products derived
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# from this software without specific prior written permission.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
668c89ac2522d866021f5af374fac5bbed1c05aevboxsync# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# This can be used by setting the system property
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# -Djava.util.logging.config.file=path to this file
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Taken from the JDK defaults.
668c89ac2522d866021f5af374fac5bbed1c05aevboxsynchandlers= java.util.logging.ConsoleHandler
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync.level= INFO
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsyncjava.util.logging.ConsoleHandler.level = INFO
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsyncjava.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Set the mail handler demo logger level
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsyncMailHandlerDemo.level = ALL
31150dd0e2ed4d26a150f2f2335efbb04ff40120vboxsync
31150dd0e2ed4d26a150f2f2335efbb04ff40120vboxsync# Configure the MailHandler.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsynccom.sun.mail.util.logging.MailHandler.level = ALL
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsynccom.sun.mail.util.logging.MailHandler.mail.host = my-mail-server
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsynccom.sun.mail.util.logging.MailHandler.mail.from = me@example.com
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsynccom.sun.mail.util.logging.MailHandler.mail.to = me@example.com
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsynccom.sun.mail.util.logging.MailHandler.verify = local
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Add attachments if needed.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync#com.sun.mail.util.logging.MailHandler.attachment.formatters = java.util.logging.SimpleFormatter, java.util.logging.XMLFormatter
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# No filters.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync#com.sun.mail.util.logging.MailHandler.attachment.filters = null, null
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Formatter class name or strings.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync#com.sun.mail.util.logging.MailHandler.attachment.names = simple.txt, error.xml
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Store messages on error by installing the FileErrorManager (demo code).
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsynccom.sun.mail.util.logging.MailHandler.errorManager = FileErrorManager
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Configure the FileErrorManager for demo (not required).
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# FileErrorManager.pattern = path-to-dir
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync# Debug mail transport issues.
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsyncmail.debug = false
e61bf890078c22f4e1a4ff8caa05e0209d548426vboxsync