# MCP - settings file.

# LogFile <logfile>
#
# Where to send the logoutput to.

LogFile /boot/home/log/MCP.log

# We want these indexes for our mails:

Index Message822:From
Index Message822:Subject
Index Message822:Date
Index Message822:To
Index Message822:Cc
Index Message822:Reply-To
Index Message822:Newsgroups
Index Enamel:folder

# Target <Name> TargetPattern <TargetPattern>
#
# The target pattern has to match all mail that should be send to the given target. You may set
# multiple lines for the same target or specify multiple patterns in the same line.
#
# The pattern has to be simple, only asterisks (*) are allowed.
#
# Don't forget to set a target for your local machine to keep your own mail at home. And set a
# default target for the unmatched mail, too!
#
# Mail will always be send to all matching targets!

# This one keeps all mail for private@john.doe.net.

Target private	TargetPattern "private@john.doe.net"

# We want our private mail via pop3, too.

Target privatepop3	TargetPattern "private@john.doe.net"

# This one keeps all mail for business@john.doe.net.

Target business	TargetPattern "business@john.doe.net"

# This one is for our support mailing list.

Target support	TargetPattern "support@john.doe.net"

# This is the outside direction. Send news for all groups this way, put only if
# the source was "private". This is normally news written by me with hermes.

Target nntp                     NewsGroups      "*"     Source "private"

# This is the way inside. All news, no matter where it comes from, for all groups is sent
# to "news".

Target news                     NewsGroups      "*"

# This is the rest; all outgoing mail is sent here.

Target default	Default


# These are our folders...

Folder BeDevTalk		Query "Enamel:status=New && Enamel:folder=None && ((Message822:To=*[dD]ev[tT]alk@[bB]e.com*) || (Message822:Cc=*[dD]ev[tT]alk@[bB]e.com*))"
Folder BeCodeTalk	Query "Enamel:status=New && Enamel:folder=None && ((Message822:To=*[cC]ode[tT]alk@be.com*) || (Message822:Cc=*[cC]ode[tT]alk@be.com*))"


# And we have simple mailinglists, too! Blank line ends this list! Make sure you configure a target for
# every list.

Redirect support ReplyTo support@john.doe.net
"John Doe <private@john.doe.net>"
"Lisa Doe <lisa@gmx.de>"