blob: cacb7510a9aa3f0bd036219564b4fdd55dafbb48 (
plain) (
blame)
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
|
# mail-conf
ARFNET mail server configuration
- Domain: `arf20.com` (MX mail.arf20.com) (PTR, TLSA, SPF, DKIM and DMARC configured)
- FQDN: `mail.arf20.com`
- hostname: `mail`
- mailname: `arf20.com`
## Postfix SMTP MTA and smtpd.
With smtpd at ports 25, SMTPS submission at 465 and SMTP (STARTTLS) submission at 587.
Accepts all connections, relays mail from authenticated users, rejects unauthenticated relaying.
## Dovecot IMAP daemon
IMAP at 145 and IMAPS at 993
No POP3 because POP3 sucks
## Files
```
postfix
|- master.cf daemon instance specific, { smtpd, submission, submissions }
|- main.cf program specific, { smtp, smtpd }
|- aliases address aliases
|- protected_destinations destionations only reachable by insiders
|- insiders insider addresses
|- update_aliases.sh script to compile aliases, insiders and protected_destinations, load them and reload postfix
opendkim
|- opendkim.conf opendkim config
dovecot
|- dovecot.conf dovecot config
gnu-mailutils
|- mailutils.conf GNU mailutils config
|- .mailrc user specific mail options
```
## Tested clients
- Local GNU mail
- Local alpine
- Remote mutt
- Remote thunderbird
- Remote Gmail client on android (non-gmail account)
|