mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
replace mox to maddy
This commit is contained in:
parent
1fc7dce354
commit
c1462047e4
3 changed files with 11 additions and 104 deletions
31
compose.yml
31
compose.yml
|
@ -65,34 +65,25 @@ services:
|
|||
restart: unless-stopped
|
||||
networks:
|
||||
- fogtype
|
||||
mox:
|
||||
image: r.xmox.nl/mox:v0.0.3-go1.20.3-alpine3.17.3@sha256:12f8a485d8a19cb31625da84d685897acf49568241d350fc6a0dc5e68dbc3cab
|
||||
restart: on-failure
|
||||
network_mode: host
|
||||
maddy:
|
||||
image: foxcpp/maddy:0.6.3
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "25:25"
|
||||
- "465:465"
|
||||
- "993:993"
|
||||
environment:
|
||||
MOX_DOCKER: "yes"
|
||||
MADDY_HOSTNAME: fogtype.com
|
||||
MADDY_DOMAIN: fogtype.com
|
||||
volumes:
|
||||
- caddy_data:/var/lib/caddy/data:ro
|
||||
- mox_data:/mox/data
|
||||
- mox_config:/mox/config
|
||||
- type: bind
|
||||
source: ./etc/mox/config/mox.conf
|
||||
target: /mox/config/mox.conf
|
||||
- type: bind
|
||||
source: ./etc/mox/config/domains.conf
|
||||
target: /mox/config/domains.conf
|
||||
healthcheck:
|
||||
test: "netstat -nlt | grep ':25 '"
|
||||
interval: "1s"
|
||||
timeout: "1s"
|
||||
retries: 10
|
||||
- maddy_data:/data
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
gotosocial_data:
|
||||
vikunja_data:
|
||||
mox_data:
|
||||
mox_config:
|
||||
maddy_data:
|
||||
networks:
|
||||
fogtype:
|
||||
ipam:
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
Domains:
|
||||
fogtype.com:
|
||||
LocalpartCatchallSeparator: +
|
||||
DKIM:
|
||||
Selectors:
|
||||
2023a:
|
||||
Expiration: 72h
|
||||
PrivateKeyFile: dkim/2023a._domainkey.fogtype.com.key.pkcs8.pem
|
||||
2023b:
|
||||
Expiration: 72h
|
||||
PrivateKeyFile: dkim/2023b._domainkey.fogtype.com.key.pkcs8.pem
|
||||
Sign:
|
||||
- 2023a
|
||||
DMARC:
|
||||
Localpart: dmarc-reports
|
||||
Account: nebel
|
||||
Mailbox: DMARC
|
||||
MTASTS:
|
||||
PolicyID: 20230420T000000
|
||||
Mode: enforce
|
||||
MaxAge: 24h
|
||||
TLSRPT:
|
||||
Localpart: tls-reports
|
||||
Account: nebel
|
||||
Mailbox: TLSRPT
|
||||
Accounts:
|
||||
nebel:
|
||||
Domain: fogtype.com
|
||||
Destinations:
|
||||
nebel: nil
|
||||
SubjectPass:
|
||||
Period: 12h
|
||||
RejectsMailbox: Rejects
|
||||
AutomaticJunkFlags:
|
||||
Enabled: true
|
||||
JunkMailboxRegexp: ^(junk|spam)
|
||||
NeutralMailboxRegexp: ^(inbox|neutral|postmaster|dmarc|tlsrpt|rejects)
|
||||
JunkFilter:
|
||||
Threshold: 0.95
|
||||
Params:
|
||||
Onegrams: true
|
||||
MaxPower: 0.01
|
||||
TopWords: 10
|
||||
IgnoreWords: 0.1
|
||||
RareWords: 2
|
|
@ -1,39 +0,0 @@
|
|||
DataDir: ../data
|
||||
LogLevel: info
|
||||
User: 1000
|
||||
Hostname: fogtype.com
|
||||
CheckUpdates: true
|
||||
AdminPasswordFile: adminpasswd
|
||||
Listeners:
|
||||
internal:
|
||||
IPs:
|
||||
- 127.0.0.1
|
||||
AccountHTTP:
|
||||
Enabled: true
|
||||
Port: 8080
|
||||
AdminHTTP:
|
||||
Enabled: true
|
||||
Port: 8080
|
||||
MetricsHTTP:
|
||||
Enabled: true
|
||||
MTASTSHTTPS:
|
||||
Enabled: true
|
||||
Port: 8081
|
||||
NonTLS: true
|
||||
public:
|
||||
IPs:
|
||||
- ::
|
||||
TLS:
|
||||
KeyCerts:
|
||||
-
|
||||
CertFile: /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/fogtype.com/fogtype.com.crt
|
||||
KeyFile: /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/fogtype.com/fogtype.com.key
|
||||
SMTP:
|
||||
Enabled: true
|
||||
Submissions:
|
||||
Enabled: true
|
||||
IMAPS:
|
||||
Enabled: true
|
||||
Postmaster:
|
||||
Account: nebel
|
||||
Mailbox: Postmaster
|
Loading…
Add table
Reference in a new issue