modified
Este commit está contenido en:
@@ -5,7 +5,7 @@ RUN wget -O- https://rspamd.com/apt-stable/gpg.key | apt-key add -
|
||||
RUN echo "deb [arch=amd64] http://rspamd.com/apt-stable/ stretch main" > /etc/apt/sources.list.d/rspamd.list
|
||||
RUN echo "deb-src [arch=amd64] http://rspamd.com/apt-stable/ stretch main" >> /etc/apt/sources.list.d/rspamd.list
|
||||
RUN apt update
|
||||
RUN apt --no-install-recommends install -y rspamd
|
||||
RUN apt --no-install-recommends install -y rspamd && apt clean
|
||||
RUN setcap 'cap_net_bind_service=+ep' /usr/local/bin/node
|
||||
RUN git clone https://github.com/nodemailer/wildduck /wildduck
|
||||
RUN git clone https://github.com/zone-eu/zone-mta-template /wildduck-mta
|
||||
@@ -21,4 +21,4 @@ RUN npm i --production
|
||||
RUN npm i -S zonemta-wildduck zonemta-limiter
|
||||
WORKDIR /haraka
|
||||
RUN npm i
|
||||
RUN npm i -S haraka-plugin-wildduck haraka-plugin-rspamd haraka-plugin-limit haraka-plugin-karma haraka-plugin-redis
|
||||
RUN npm i -S haraka-plugin-wildduck haraka-plugin-rspamd haraka-plugin-limit haraka-plugin-karma haraka-plugin-redis haraka-plugin-mongodb
|
||||
|
||||
@@ -13,10 +13,18 @@ accessToken = "nohaytoken"
|
||||
|
||||
[accessControl]
|
||||
# If true then require a valid access token to perform API calls
|
||||
enabled = false
|
||||
# If a client provides a token then it is validated even if using a token is not required
|
||||
enabled=false
|
||||
|
||||
# Secret for HMAC
|
||||
# Changing this value invalidates all tokens
|
||||
#secret = "sAiHB6XcSWJgsMrMl_vJzcfVlhhenJLi"
|
||||
secret="a secret cat"
|
||||
|
||||
# Generated access token TTL in seconds. Token TTL gets extended by this value every time the token is used. Defaults to 14 days
|
||||
tokenTTL=1209600
|
||||
|
||||
# Generated access token max lifetime in seconds. Defaults to 180 days
|
||||
tokenLifetime=15552000
|
||||
|
||||
[roles]
|
||||
# @include "roles.json"
|
||||
@@ -32,7 +40,7 @@ enabled = false
|
||||
|
||||
# A reverse-DNS style identifier (com.example.myprofile, for example) that identifies the profile.
|
||||
# This string is used to determine whether a new profile should replace an existing one or should be added. Username is prepended to this value.
|
||||
identifier = "es.hatthieves"
|
||||
identifier = "es.hatthieves.ns1"
|
||||
|
||||
# A human-readable name for the profile. This value is displayed on the Detail screen. It does not have to be unique.
|
||||
displayName = "Wildduck Mail"
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
ident="wildduck"
|
||||
|
||||
# how many processes to start
|
||||
processes = "2"
|
||||
processes=2
|
||||
|
||||
# default quota storage in MB (can be overriden per user)
|
||||
maxStorage=1024
|
||||
|
||||
# default smtp recipients for 24h (can be overriden per user)
|
||||
maxRecipients=2000
|
||||
emailDomain = "hatthieves.es"
|
||||
emailDomain="hatthieves.es"
|
||||
|
||||
# default forwarded messages for 24h (can be overriden per user)
|
||||
maxForwards=2000
|
||||
@@ -33,11 +33,11 @@ maxForwards=2000
|
||||
#cipher="aes192"
|
||||
secret="a secret cat"
|
||||
|
||||
cipher = "aes192"
|
||||
cipher = "aes192"
|
||||
#secret = "E2jYD-p2u68-qUEOJ1KkC3xmzySyTGRY"
|
||||
[u2f]
|
||||
# Fully qualified URL of your website (must use HTTPS!)
|
||||
appId = "http://172.200.0.101"
|
||||
appId = "https://webmail.hatthieves.es"
|
||||
|
||||
[attachments]
|
||||
# @include "attachments.toml"
|
||||
|
||||
@@ -16,15 +16,3 @@ signTransportDomain=true
|
||||
|
||||
# do not change this
|
||||
hashAlgo="sha256"
|
||||
|
||||
enabled="sender"
|
||||
|
||||
# Domain name in the dkim signature. Leave blank to use the domain of From: address
|
||||
domain="hatthieves.es"
|
||||
|
||||
# Selector value in the dkim signature
|
||||
selector="dkim"
|
||||
|
||||
# Key location. Relative to working directory
|
||||
path="/secure/dkim_private.key"
|
||||
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
},
|
||||
|
||||
"userlisting": {
|
||||
"read:any": ["*", "!audit"]
|
||||
"read:any": ["*"]
|
||||
},
|
||||
|
||||
"users": {
|
||||
"create:any": ["*", "!audit"],
|
||||
"read:any": ["*", "!audit"],
|
||||
"update:any": ["*", "!audit"],
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"],
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
@@ -40,6 +40,20 @@
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
"attachments": {
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"],
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
"storage": {
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"],
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
"mailboxes": {
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
@@ -94,13 +108,13 @@
|
||||
},
|
||||
|
||||
"userlisting": {
|
||||
"read:any": ["*", "!audit"]
|
||||
"read:any": ["*"]
|
||||
},
|
||||
|
||||
"users": {
|
||||
"create:any": ["*", "!audit"],
|
||||
"read:any": ["*", "!audit"],
|
||||
"update:any": ["*", "!audit"],
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"],
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
@@ -153,8 +167,8 @@
|
||||
},
|
||||
|
||||
"users": {
|
||||
"read:any": ["*", "!audit"],
|
||||
"update:any": ["*", "!audit"]
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"]
|
||||
},
|
||||
|
||||
"asps": {
|
||||
@@ -170,6 +184,20 @@
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
"attachments": {
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"],
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
"storage": {
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"],
|
||||
"delete:any": ["*"]
|
||||
},
|
||||
|
||||
"mailboxes": {
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
@@ -209,12 +237,12 @@
|
||||
},
|
||||
|
||||
"userlisting": {
|
||||
"read:own": ["*", "!audit"]
|
||||
"read:own": ["*", "!tags", "!metaData", "!disabledScopes"]
|
||||
},
|
||||
|
||||
"users": {
|
||||
"read:own": ["*", "!audit"],
|
||||
"update:own": ["*", "!audit"]
|
||||
"read:own": ["*", "!tags", "!metaData", "!disabledScopes"],
|
||||
"update:own": ["*", "!tags", "!metaData", "!disabledScopes"]
|
||||
},
|
||||
|
||||
"asps": {
|
||||
@@ -230,6 +258,20 @@
|
||||
"delete:own": ["*"]
|
||||
},
|
||||
|
||||
"attachments": {
|
||||
"create:own": ["*"],
|
||||
"read:own": ["*"],
|
||||
"update:own": ["*"],
|
||||
"delete:own": ["*"]
|
||||
},
|
||||
|
||||
"storage": {
|
||||
"create:own": ["*"],
|
||||
"read:own": ["*"],
|
||||
"update:own": ["*"],
|
||||
"delete:own": ["*"]
|
||||
},
|
||||
|
||||
"mailboxes": {
|
||||
"create:own": ["*"],
|
||||
"read:own": ["*"],
|
||||
@@ -253,6 +295,18 @@
|
||||
},
|
||||
|
||||
"auth": {
|
||||
"authentication": {
|
||||
"create:any": ["*", "!token"]
|
||||
}
|
||||
},
|
||||
|
||||
"attachments": {
|
||||
"attachments": {
|
||||
"read:any": ["*"]
|
||||
}
|
||||
},
|
||||
|
||||
"tokenAuth": {
|
||||
"authentication": {
|
||||
"create:any": ["*"]
|
||||
}
|
||||
@@ -260,6 +314,10 @@
|
||||
|
||||
"audit": {
|
||||
"users": {
|
||||
"read:any": ["*"]
|
||||
},
|
||||
|
||||
"audit": {
|
||||
"create:any": ["*"],
|
||||
"read:any": ["*"],
|
||||
"update:any": ["*"],
|
||||
@@ -267,3 +325,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user