aboutsummaryrefslogtreecommitdiffstats
path: root/etc/smtpd.conf
blob: 818bdcc854a9bc82653d1152c375b638cc4db6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# OpenSMTPD configuration
# man smtpd.conf for the config file format

pki "mx1.replicant.us" certificate	"/etc/letsencrypt/live/mx1.replicant.us/cert.pem"
pki "mx1.replicant.us" key		"/etc/letsencrypt/live/mx1.replicant.us/privkey.pem"

# Use the following syntax instead when migrating to OpenSMTPD 6.x
# - pki [...] certificate [...]
# + pki [...] cert [...]

listen on eth0				tls pki "mx1.replicant.us"

# If you edit the file, you have to run "smtpctl update table aliases"
table aliases				file:/etc/smtpd/aliases

accept from any for any alias <aliases> deliver to maildir "~/Maildir/"

 # Accept for any domain

# Use the following syntax instead when migrating to OpenSMTPD 6.x
# action deliver_to_local			maildir "/var/mail/" alias <aliases>
# match tag external_tag			from any for any action deliver_to_local