-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMilterAgent.conf.sample
More file actions
67 lines (60 loc) · 2.88 KB
/
Copy pathMilterAgent.conf.sample
File metadata and controls
67 lines (60 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# =============================================================================
# MilterAgent sample configuration
# Reload the running process with SIGHUP after editing this file.
# =============================================================================
# =============================================================================
# Logging
# Log_file is optional. When omitted, logs are written to stdout.
# Supported Log_level values: info, trace, debug.
# =============================================================================
Log_file /var/log/milteragent.log
Log_level info
# =============================================================================
# Listener
# Format: IP:PORT or just PORT.
# Examples:
# Listen 8898
# Listen 192.168.1.100:4000
# Listen [::1]:8898
# =============================================================================
Listen 8898
# =============================================================================
# Client timeout
# Disconnect a client when no data is received within this many seconds.
# =============================================================================
Client_timeout 30
# =============================================================================
# RemoteIP_Target
# 0 = inspect messages from external clients only (default)
# 1 = inspect messages from internal clients only
# 2 = inspect all messages
# =============================================================================
RemoteIP_Target 0
# =============================================================================
# Subject prefix rewriting
# Add_Subject_Prefix selects which actions may prepend text to Subject.
# 0 = disabled, 1 = WARN only, 2 = REJECT only, 3 = WARN and REJECT.
# Subject rewriting is attempted only when header replacement was negotiated
# with the MTA.
# If a prefix is written without a trailing space, MilterAgent appends one
# internally so that "[WARN]" becomes "[WARN] ".
# =============================================================================
Add_Subject_Prefix 0
WARN_Subject_Prefix [WARN]
REJECT_Subject_Prefix [REJECT]
# =============================================================================
# Spamhaus reporting
# Enable reporting only after setting a valid API token.
# Spamhaus_safe_address accepts single IPs, CIDR networks, comma-separated
# lists, or repeated lines.
# =============================================================================
Spamhaus_report no
# Spamhaus_api_token your-api-token
# Spamhaus_api_url https://api.spamhaus.example/v1/report
# Spamhaus_safe_address 127.0.0.1
# Spamhaus_safe_address 192.168.0.0/16,10.0.0.0/8
# =============================================================================
# Include directory
# Load filter definitions and additional configuration fragments from here.
# =============================================================================
include /etc/MilterAgent.d/