-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json
172 lines (172 loc) · 4.74 KB
/
config.json
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"use_api": false,
"smtp": {
"host": "",
"port": "",
"username": "",
"password": "",
"from_address": {
"email": "",
"name": "",
"reply_to": ""
}
},
"api": {
"api_key": "your_api_key",
"api_url": "https://api.emailservice.com/v1/send",
"from_address": {
"email": "noreply@yourcompany.com",
"name": "Company Name",
"reply_to": "support@yourcompany.com"
},
"timeout": 30,
"max_batch_size": 100
},
"sandbox_evasion": {
"enabled": false,
"confidence_threshold": 70
},
"ngrok": {
"enabled": true,
"auth_token": "",
"tunnel_config": {
"port": 8080
}
},
"tor": {
"enabled": false,
"socks_port": 9050,
"control_port": 9051,
"control_password": null,
"cookie_authentication": true,
"cookie_path": "/var/run/tor/control.authcookie",
"circuit_refresh_interval": 1000,
"circuit_build_timeout": 10,
"force_tor": false,
"check_ip": true,
"retry_attempts": 5,
"retry_delay": 8
},
"tracking": {
"enabled": true,
"database_path": "data/tracking.db",
"domain": "127.0.0.1",
"pixel_tracking": true,
"link_tracking": true,
"store_user_agent": true,
"store_ip_address": false,
"retention_days": 90,
"sanitize_data": true,
"endpoints": {
"pixel": "/pixel",
"click": "/click",
"unsubscribe": "/unsubscribe"
}
},
"template_directory": "templates",
"attachment_directory": "attachments",
"urls": {
"landing_page": "https://yourcompany.com/welcome",
"unsubscribe": "https://yourcompany.com/unsubscribe",
"privacy_policy": "https://yourcompany.com/privacy",
"terms": "https://yourcompany.com/terms"
},
"email_settings": {
"batch_size": 50,
"delay_between_batches": 5,
"delay_between_emails": 1,
"max_retries": 3,
"retry_delay": 5,
"max_attachment_size": 10485760,
"allowed_attachment_types": [
"application/pdf",
"image/jpeg",
"image/png",
"application/msword",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
],
"max_recipients_per_day": 2000,
"rate_limiting": {
"enabled": true,
"max_per_hour": 500,
"max_per_minute": 30
}
},
"security": {
"encrypt_attachments": true,
"sign_emails": true,
"dkim_enabled": true,
"spf_check": true,
"validate_recipients": true,
"block_disposable_emails": true,
"allowed_domains": ["*"],
"blocked_domains": [
"tempmail.com",
"throwawaymail.com"
],
"ip_whitelist": [],
"ip_blacklist": []
},
"notification": {
"enabled": true,
"notify_on": [
"campaign_start",
"campaign_complete",
"high_bounce_rate",
"error"
],
"notification_email": "admin@yourcompany.com",
"alert_thresholds": {
"bounce_rate": 5,
"spam_complaint_rate": 0.1,
"unsubscribe_rate": 1
}
},
"logging": {
"log_file": "email_sender.log",
"log_level": "INFO",
"rotate_logs": true,
"max_log_size": 5242880,
"backup_count": 3,
"log_format": "%(asctime)s - %(levelname)s - %(message)s",
"log_directory": "logs",
"separate_error_log": true,
"log_to_console": true
},
"privacy": {
"anonymize_ip_addresses": true,
"encrypt_tracking_data": true,
"data_retention_policy": {
"tracking_data_days": 90,
"analytics_data_days": 365,
"log_data_days": 30
},
"gdpr_compliance": true,
"ccpa_compliance": true
},
"retry_policy": {
"soft_bounces": {
"max_retries": 3,
"delay_between_retries": 3600
},
"hard_bounces": {
"max_retries": 0,
"auto_suppress": true
},
"connection_errors": {
"max_retries": 5,
"delay_between_retries": 300
}
},
"campaign_defaults": {
"unsubscribe_header": true,
"list_unsubscribe_header": true,
"add_tracking_pixel": true,
"track_links": true,
"include_preview_text": true,
"default_language": "en",
"time_zone": "UTC",
"respect_time_zone": true,
"max_campaign_duration": 86400
}
}