Files
server/etc/drweb/addresses.conf
cutemeli 0bfc6c8425 Initial
2025-12-22 10:32:59 +00:00

52 lines
1.7 KiB
Plaintext

#
# Address list for DrWeb Mail Filters
#
# The file with the list of addresses allows to block notifications
# to specified addresses or group of addresses depending on address role
# in mail transaction.
#
#
# Format of file:
# ---------------
# Line beginning with # - it's a comments
# Empty lines are acceptable
#
# Version 1 (default):
# <role> <address_re>
# where
# <role> - defines role (from, to, any) of address in envelope
# <address_re> - the address matching string which is interpreted as POSIX
# regular expression (regexp), should be in quotes if contains spaces.
# Operation NOT can be used (symbol '!' before quoted regexp), that
# means do not send notifications to address which is not matched by
# regexp. If expression matches to expression then search continues.
# Operation NOT is very useful to send notifications only for local
# users. Operation NOT for @example.com equivalent to
# "@[^e][^x][^a][^m][^p][^l][^\.][^c][^o][^m]".
#
# NOTE:
# - regexp's are case insensitive
# - symbol ! also can be used as part of regexp, but should be inside of quotes
# In other words, lines below have different meanings.
# any !"user@example\.com"
# any "!user@example\.com"
#
# [version=1]
#
# do not send notification to asv@drweb.ru when he sends a virus,
# but send notification when virus came to him
#
#from "asv@drweb\.ru"
#
#
# do not send notifications to users from example.com when virus came to them,
# but send notifications when virus came from them
#
#to "@example\.com"
#
#
# do not send notifications to non-local (not from mydomain.ru) users
#
#any !"@mydomain\.ru"
#any !"@(mydomain1)|(mydomain2)\.ru"