aboutsummaryrefslogtreecommitdiffstats
path: root/tests/certificate_test/smtpd.conf
blob: 348871031e4ab3c0092be412198202037b9f463e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
pki_domain = "localhost"
pki $pki_domain cert "/etc/ssl/private/sites/fullchain.cer"
pki $pki_domain key "/etc/ssl/private/sites/site.key"

#Encrypted password is "password"
table passwords {"user"="$6$tf940h4BpywpeKID$pWYiqoWywVPybeHaEcqHSRBD/7UxBmYhx7iHvxj/B3LBxCWwnFx7.3JwMISsN9EpPMwEZELvbNehVLl0IvvZo/"}

listen on localhost          tls         hostname $pki_domain pki $pki_domain auth-optional <passwords>
listen on localhost port 465 smtps       hostname $pki_domain pki $pki_domain auth-optional <passwords>
listen on localhost port 587 tls-require hostname $pki_domain pki $pki_domain auth          <passwords>

action "local" maildir "/tmp/"
match auth from any for any action "local"