# AntiSpam MsgCopy Settings file
# Empty lines and lines starting with a hash are ignored.

# This file should contain at least four lines:
#  Format  type
#  Target  nickname path
#  Mailbox mailbox name
#  Rule    text-to-find nickname !ignore

# Read by BASIC GET$#, so lines should not be longer than 255 characters.

# The Format type can be either plain or maildir. The plain format is just
# that: messages are stored in the directory specified by the target line
# and that's it. The maildir format expects the leafname of the target to
# be 'tmp'. Messages are 'built' there and when they're complete, renamed
# to a file with the same name in the 'new' directory, which must exist on
# the same level as tmp.
# See https://en.wikipedia.org/wiki/Maildir for details.

# The Target must be a nickname, followed by a space and the pathname of
# the directory where the copies are to be stored. This directory must
# already exist. AntiSpam will not create it and fail to copy anything if
# it doesn't.

# The Mailbox name must be exactly the same as the name of one of the
# mailboxes in AntiSpam's settings (case sensitive!).

# Rule lines should have two or more space separated fields:
#  asterisk or text to search in recipient or sender;
#  box nickname.
# There may be as many nicknames as necessary. If any nickname is followed
# by !IGNORE-LIST, IGNORE-LIST is a comma separated list, which may not
# contain spaces. Any item in that list, found in the recipient or sender,
# makes AntiSpam ignore that rule for that nickname only.


# All types of lines may be used multiple times, but only the last Format
# line will have any effect and the other lines should be grouped as in
# the following example.

Format maildir
Target host $.Data.dovecot.lokaal.mail.tmp
Target mobiel $.Data.dovecot.mobiel.mail.tmp

Mailbox aconet
Rule anti@   host mobiel
Rule cryp@   host mobiel
Rule ms@     host mobiel
Rule test@   host
Rule unknown host mobiel !no-reply,noreply

Mailbox HCCNet
Rule *       host mobiel
