haraka-wildduck
Este commit está contenido en:
13
production/haraka-wildduck/wildduck-mta/config/dbs-development.toml
Archivo normal
13
production/haraka-wildduck/wildduck-mta/config/dbs-development.toml
Archivo normal
@@ -0,0 +1,13 @@
|
||||
# Database configuration
|
||||
|
||||
## MongoDB connection string
|
||||
#mongo="mongodb://127.0.0.1:27017/wildduck"
|
||||
#
|
||||
## Database name for ZoneMTA data in MongoDB. In most cases it should be the same as in the connection string
|
||||
#sender="zone-mta"
|
||||
#
|
||||
## Redis connection information
|
||||
#[redis]
|
||||
#host = "localhost"
|
||||
#port = 6379
|
||||
#db = 2
|
||||
11
production/haraka-wildduck/wildduck-mta/config/dbs-production.toml
Archivo normal
11
production/haraka-wildduck/wildduck-mta/config/dbs-production.toml
Archivo normal
@@ -0,0 +1,11 @@
|
||||
# Database configuration
|
||||
# this file is loaded when NODE_ENV=production
|
||||
|
||||
# MongoDB connection string
|
||||
mongo="mongodb://172.200.0.103:27017/zone-mta"
|
||||
|
||||
# Redis connection string
|
||||
redis="redis://172.200.0.102:6379/2"
|
||||
|
||||
# Database name for ZoneMTA data in MongoDB. In most cases it should be the same as in the connection string
|
||||
sender="zone-mta"
|
||||
14
production/haraka-wildduck/wildduck-mta/config/dns.toml
Archivo normal
14
production/haraka-wildduck/wildduck-mta/config/dns.toml
Archivo normal
@@ -0,0 +1,14 @@
|
||||
# If true then caches DNS results to Redis
|
||||
caching=true
|
||||
cacheTTL=600 # TTL of cached dns keys in seconds
|
||||
|
||||
# Define nameservers to use (IP addresses only). If using a local DNS cache server, then set caching=false
|
||||
nameservers=[]
|
||||
|
||||
#caching=false
|
||||
#nameservers=["127.0.0.1"]
|
||||
|
||||
blockDomains=[]
|
||||
|
||||
# If true then messages to local interfaces are blocked (eg. you can not send to username@localhost)
|
||||
blockLocalAddresses=false
|
||||
7
production/haraka-wildduck/wildduck-mta/config/domains.toml
Archivo normal
7
production/haraka-wildduck/wildduck-mta/config/domains.toml
Archivo normal
@@ -0,0 +1,7 @@
|
||||
# Add domain specific settings here
|
||||
|
||||
[default]
|
||||
maxConnections=5
|
||||
|
||||
["gmail.com"]
|
||||
maxConnections=10
|
||||
38
production/haraka-wildduck/wildduck-mta/config/interfaces/feeder.toml
Archivo normal
38
production/haraka-wildduck/wildduck-mta/config/interfaces/feeder.toml
Archivo normal
@@ -0,0 +1,38 @@
|
||||
# Default SMTP interface for accepting mail for delivery
|
||||
|
||||
[feeder]
|
||||
enabled=true
|
||||
|
||||
# How many worker processes to spawn
|
||||
processes=4
|
||||
|
||||
# Maximum allowed message size 30MB
|
||||
maxSize=31457280
|
||||
|
||||
# Local IP and port to bind to
|
||||
host="0.0.0.0"
|
||||
port=587
|
||||
|
||||
# Set to true to require authentication
|
||||
# If authentication is enabled then you need to use a plugin with an authentication hook
|
||||
authentication=true
|
||||
|
||||
# How many recipients to allow per message
|
||||
maxRecipients=1000
|
||||
|
||||
# Set to true to enable STARTTLS. Do not forget to change default TLS keys
|
||||
starttls=false
|
||||
|
||||
# set to true to start in TLS mode if using port 465
|
||||
# this probably does not work as TLS support with 465 in ZoneMTA is a bit buggy
|
||||
secure=true
|
||||
|
||||
# define keys for STARTTLS/TLS. These paths are relative to CWD
|
||||
#key="./keys/example.com-key.pem"
|
||||
#cert="./keys/example.com-cert.pem"
|
||||
|
||||
#key="/usr/local/etc/nginx/privkey.pem"
|
||||
#cert="/usr/local/etc/nginx/fullchain.pem"
|
||||
key = "/secure/privkey.pem"
|
||||
cert = "/secure/fullchain.pem"
|
||||
|
||||
8
production/haraka-wildduck/wildduck-mta/config/log.toml
Archivo normal
8
production/haraka-wildduck/wildduck-mta/config/log.toml
Archivo normal
@@ -0,0 +1,8 @@
|
||||
level="info" # "silly" "info" "error"
|
||||
|
||||
[remote]
|
||||
# Make sure you have ZMTA Webadmin listening on this port
|
||||
# See: https://github.com/zone-eu/zmta-webadmin/blob/4aa7a06ac5b64d12a409b67a2f9475d1670445d2/config/default.toml#L27-L32
|
||||
protocol="udp4"
|
||||
host="127.0.0.1"
|
||||
port=31239
|
||||
5
production/haraka-wildduck/wildduck-mta/config/plugins/avast.toml
Archivo normal
5
production/haraka-wildduck/wildduck-mta/config/plugins/avast.toml
Archivo normal
@@ -0,0 +1,5 @@
|
||||
["modules/zonemta-avast"]
|
||||
enabled=false # not enabled by default
|
||||
#enabled=["receiver", "main", "sender"]
|
||||
interfaces=['*']
|
||||
socket="/var/run/avast/scan.sock"
|
||||
@@ -0,0 +1,8 @@
|
||||
["core/default-headers"]
|
||||
enabled=["receiver", "main", "sender"]
|
||||
# Which missing headers to add
|
||||
addMissing=["message-id", "date"]
|
||||
# If true then delays messages with future Date: headers until that time has arrived
|
||||
futureDate=false
|
||||
# Add X-Originating-IP header
|
||||
xOriginatingIP=true
|
||||
@@ -0,0 +1,3 @@
|
||||
["modules/zonemta-delivery-counters"]
|
||||
enabled="main"
|
||||
prefix="zmta"
|
||||
14
production/haraka-wildduck/wildduck-mta/config/plugins/dkim.toml
Archivo normal
14
production/haraka-wildduck/wildduck-mta/config/plugins/dkim.toml
Archivo normal
@@ -0,0 +1,14 @@
|
||||
["core/dkim"]
|
||||
enabled="sender"
|
||||
|
||||
# Domain name in the dkim signature. Leave blank to use the domain of From: address
|
||||
domain="hatthieves.es"
|
||||
|
||||
# If true then uses the same key to add a signature for the hostname of the outbound IP address
|
||||
signTransportDomain=true
|
||||
|
||||
# Selector value in the dkim signature
|
||||
selector="dkim"
|
||||
|
||||
# Key location. Relative to working directory
|
||||
path="/secure/dkim_private.key"
|
||||
16
production/haraka-wildduck/wildduck-mta/config/plugins/email-bounce.toml
Archivo normal
16
production/haraka-wildduck/wildduck-mta/config/plugins/email-bounce.toml
Archivo normal
@@ -0,0 +1,16 @@
|
||||
["core/email-bounce"]
|
||||
enabled="main"
|
||||
sendingZone="bounces"
|
||||
|
||||
# email bounces are not generated for messages from the following interfaces
|
||||
disableInterfaces=["forwarder"]
|
||||
|
||||
["core/email-bounce".mailerDaemon]
|
||||
# From: header for bounce emails
|
||||
name="Mail Delivery Subsystem"
|
||||
address="mailer-daemon@[HOSTNAME]"
|
||||
|
||||
# configure zone specific bounce options for zone "myzone"
|
||||
["core/email-bounce".zoneConfig.myzone]
|
||||
disabled=true # if true then skip this block, revert to default
|
||||
sendingZone="default" # use a specific zone
|
||||
@@ -0,0 +1,5 @@
|
||||
["example-auth"]
|
||||
enabled=false
|
||||
#enabled="receiver"
|
||||
# only check authentication for interfaces with following names
|
||||
interfaces=["feeder"]
|
||||
3
production/haraka-wildduck/wildduck-mta/config/plugins/example.toml
Archivo normal
3
production/haraka-wildduck/wildduck-mta/config/plugins/example.toml
Archivo normal
@@ -0,0 +1,3 @@
|
||||
[example]
|
||||
enabled=false
|
||||
#enabled="receiver"
|
||||
@@ -0,0 +1,2 @@
|
||||
["core/image-hashes"]
|
||||
enabled="receiver"
|
||||
@@ -0,0 +1,4 @@
|
||||
["modules/zonemta-loop-breaker"]
|
||||
enabled="sender"
|
||||
secret="super secret value"
|
||||
algo="md5"
|
||||
@@ -0,0 +1,10 @@
|
||||
# plugins/zonemta-limiter.toml
|
||||
["modules/zonemta-limiter"]
|
||||
enabled = ["sender"]
|
||||
prefix = "zl:"
|
||||
|
||||
debug = false # if true, then errors are only logged but messages are not dropped
|
||||
|
||||
# max 250 messages in half an hour
|
||||
limit = 250
|
||||
windowSize = 1800
|
||||
15
production/haraka-wildduck/wildduck-mta/config/pools.toml
Archivo normal
15
production/haraka-wildduck/wildduck-mta/config/pools.toml
Archivo normal
@@ -0,0 +1,15 @@
|
||||
|
||||
# List local IP addresses that can be used for outbound tcp connections
|
||||
# Server process must be able to locally bind to these addresses
|
||||
default=["0.0.0.0", "::"]
|
||||
|
||||
# or alternatively, to provide hostnames as well:
|
||||
#
|
||||
#[[default]]
|
||||
#address="1.2.3.4"
|
||||
#name="ip-1.hostname"
|
||||
#
|
||||
#[[default]]
|
||||
#address="1.2.3.5"
|
||||
#name="ip-2.hostname"
|
||||
#
|
||||
15
production/haraka-wildduck/wildduck-mta/config/queue.toml
Archivo normal
15
production/haraka-wildduck/wildduck-mta/config/queue.toml
Archivo normal
@@ -0,0 +1,15 @@
|
||||
|
||||
# Every instance of ZoneMTA that uses the same database backend
|
||||
# must have its own unique instance id set. If you never plan to
|
||||
# run more than a single ZoneMTA instance then you do not need to
|
||||
# change this value
|
||||
instanceId="default"
|
||||
|
||||
# Collection name for message queue
|
||||
collection="zone-queue"
|
||||
|
||||
# Bucket name for the GridStore storage
|
||||
gfs="mail"
|
||||
|
||||
# Set to true if you do not care about cleaning up the remains of broken transactions
|
||||
disableGC=false
|
||||
42
production/haraka-wildduck/wildduck-mta/config/zonemta.toml
Archivo normal
42
production/haraka-wildduck/wildduck-mta/config/zonemta.toml
Archivo normal
@@ -0,0 +1,42 @@
|
||||
# This is the main config file
|
||||
|
||||
name="ZoneMTA"
|
||||
|
||||
# Process identifier
|
||||
ident="zone-mta"
|
||||
|
||||
# Run as the following user. Only use this if the application starts up as root
|
||||
#user="zonemta"
|
||||
#group="zonemta"
|
||||
|
||||
[log]
|
||||
# Logging options
|
||||
# @include "log.toml"
|
||||
|
||||
[dbs]
|
||||
# MongoDB and Redis connection options
|
||||
# @include "dbs-{env}.toml"
|
||||
|
||||
[queue]
|
||||
# @include "queue.toml"
|
||||
|
||||
[dns]
|
||||
# @include "dns.toml"
|
||||
|
||||
[api]
|
||||
port=12080
|
||||
|
||||
[smtpInterfaces]
|
||||
# @include "interfaces/*.toml"
|
||||
|
||||
[plugins]
|
||||
# @include "plugins/*.toml"
|
||||
|
||||
[pools]
|
||||
# @include "pools.toml"
|
||||
|
||||
[zones]
|
||||
# @include "zones/*.toml"
|
||||
|
||||
[domainConfig]
|
||||
# @include "domains.toml"
|
||||
6
production/haraka-wildduck/wildduck-mta/config/zones/bounces.toml
Archivo normal
6
production/haraka-wildduck/wildduck-mta/config/zones/bounces.toml
Archivo normal
@@ -0,0 +1,6 @@
|
||||
[bounces]
|
||||
preferIPv6=false
|
||||
ignoreIPv6=true
|
||||
processes=1
|
||||
connections=2
|
||||
pool="default"
|
||||
14
production/haraka-wildduck/wildduck-mta/config/zones/default.toml
Archivo normal
14
production/haraka-wildduck/wildduck-mta/config/zones/default.toml
Archivo normal
@@ -0,0 +1,14 @@
|
||||
[default]
|
||||
preferIPv6=false
|
||||
ignoreIPv6=true
|
||||
processes=1
|
||||
connections=5
|
||||
pool="default"
|
||||
|
||||
# If you want to send messages for this zone to next MTA instead of actual MX, then
|
||||
# uncomment following lines and change values
|
||||
#host = "smtp.ethereal.email"
|
||||
#port = 587
|
||||
#[default.auth]
|
||||
#user = "gsblpjxjdvhnqkgr@ethereal.email"
|
||||
#pass = "zDZpDnSsFf11Zfvtv5"
|
||||
Referencia en una nueva incidencia
Block a user