haraka-wildduck
Este commit está contenido en:
92
production/haraka-wildduck/haraka/config/wildduck.ini
Archivo ejecutable
92
production/haraka-wildduck/haraka/config/wildduck.ini
Archivo ejecutable
@@ -0,0 +1,92 @@
|
||||
## Connect to a master instance or Redis
|
||||
redis:
|
||||
port: 6379
|
||||
host: '172.200.0.102'
|
||||
db: 3
|
||||
# password: ""
|
||||
|
||||
## Or alternatively, connect to Redis Sentinel
|
||||
# redis:
|
||||
# name: "mymaster"
|
||||
# password: ""
|
||||
# db: 3
|
||||
# sentinels:
|
||||
# - host: "1.2.3.4"
|
||||
# port: 26379
|
||||
# - host: "1.2.3.5"
|
||||
# port: 26379
|
||||
# - host: "1.2.3.6"
|
||||
# port: 26379
|
||||
|
||||
mongo:
|
||||
# connection string for main messages database
|
||||
url: 'mongodb://172.200.0.103:27017/wildduck'
|
||||
|
||||
## database name or connection string for the users db
|
||||
users: 'mongodb://172.200.0.103:27017/wildduck'
|
||||
|
||||
## database name or connection string for the attachments db
|
||||
gridfs: 'mongodb://172.200.0.103:27017/wildduck'
|
||||
|
||||
## database name or connection string for the outbound queue
|
||||
sender: 'mongodb://172.200.0.103:27017/zone-mta'
|
||||
|
||||
sender:
|
||||
# Push messages to ZoneMTA queue for delivery
|
||||
# if `false` then no messages are sent
|
||||
enabled: true
|
||||
|
||||
# which ZoneMTA queue to use by default. This mostly affects forwarded messages
|
||||
zone: 'default'
|
||||
|
||||
# Collection name for GridFS storage
|
||||
gfs: 'mail'
|
||||
|
||||
# Collection name for the queue
|
||||
# see [dbs].sender option for choosing correct database to use for ZoneMTA queues
|
||||
# by default the main wildduck database is used
|
||||
collection: 'zone-queue'
|
||||
|
||||
srs:
|
||||
# must be shared with ZoneMTA SRS config, otherwise messages sent from ZoneMTA are not recognized by Haraka
|
||||
secret: 'asecretcat'
|
||||
|
||||
attachments:
|
||||
type: 'gridstore'
|
||||
bucket: 'attachments'
|
||||
decodeBase64: true
|
||||
|
||||
log:
|
||||
authlogExpireDays: 30
|
||||
|
||||
limits:
|
||||
windowSize: 3600 # 1 hour
|
||||
rcptIp: 100 # allowed messages for the same recipient from same IP during window size
|
||||
rcptWindowSize: 60 # 1 minute
|
||||
rcpt: 60 # allowed messages for the same recipient during window size
|
||||
|
||||
gelf:
|
||||
enabled: false
|
||||
component: 'mx'
|
||||
options:
|
||||
graylogPort: 12201
|
||||
graylogHostname: '127.0.0.1'
|
||||
connection: 'lan'
|
||||
|
||||
rspamd:
|
||||
# do not process forwarding addresses for messages with the following spam score
|
||||
forwardSkip: 10
|
||||
|
||||
# if a message has one of the tags listed here with positive score, the message will be rejected
|
||||
blacklist:
|
||||
- DMARC_POLICY_REJECT
|
||||
|
||||
# if a message has one of the tags listed here with positive score, the message will be soft rejected
|
||||
softlist:
|
||||
- RBL_ZONE
|
||||
|
||||
# define special responses
|
||||
responses:
|
||||
DMARC_POLICY_REJECT: 'Unauthenticated email from {host} is not accepted due to domain''s DMARC policy'
|
||||
RBL_ZONE: '[{host}] was found from Zone RBL'
|
||||
|
||||
Referencia en una nueva incidencia
Block a user