-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdelivery.yaml
More file actions
70 lines (54 loc) · 1.66 KB
/
Copy pathdelivery.yaml
File metadata and controls
70 lines (54 loc) · 1.66 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
68
69
70
# Raven Delivery Service Configuration
# This file configures the LMTP delivery service
lmtp:
# UNIX socket path for LMTP (recommended for local delivery)
# unix_socket: "/var/run/raven/lmtp.sock"
# TCP address for LMTP (optional, useful for remote delivery)
# For Docker: bind to all interfaces so Postfix can connect
tcp_address: "0.0.0.0:24"
# Maximum message size in bytes (50MB default)
max_size: 52428800
# Connection timeout in seconds
timeout: 300
# Server hostname presented in LHLO response
hostname: "localhost"
# Maximum recipients per transaction
max_recipients: 100
database:
# Path to the database directory
path: "data/databases"
delivery:
# Default folder for delivered messages
default_folder: "INBOX"
# Enable quota checking
quota_enabled: false
# Quota limit in bytes (1GB default)
quota_limit: 1073741824
# Allowed recipient domains (empty = accept all)
# Uncomment and configure to restrict delivery domains
# allowed_domains:
# - "example.com"
# - "mail.example.com"
# Reject messages for unknown users
# Set to true to validate recipients against database
reject_unknown_user: false
logging:
# Log level: debug, info, warn, error
level: "debug"
# Log format: text, json
format: "text"
# S3-Compatible Blob Storage Configuration
blob_storage:
enabled: true
endpoint: "http://localhost:8333" # SeaweedFS endpoint
region: "us-east-1"
bucket: "email-attachments"
access_key: "your-access-key"
secret_key: "your-secret-key"
timeout: 30 # seconds
# Socket map configuration for user lookups
socketmap:
enabled: true
network: "tcp"
address: "raven:9100"
timeout_seconds: 2