Postfix: Difference between revisions
m →Map email addresses to mail boxes: fix local file |
add category |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
Warning: this Postfix configuration is a minimal working example and | Warning: this Postfix configuration is a minimal working example and | ||
not hardened. That means, if port 25 is not blocked, spammers might | not hardened. That means, if outgoing traffic on port 25 is not blocked, spammers might hijack your Postfix instance for spamming activities. Refer to | ||
hijack your Postfix instance for spamming activities. Refer to | |||
internet literature for hardening tips. | internet literature for hardening tips. | ||
| Line 54: | Line 53: | ||
# hostname of mail server, should be fqdn | # hostname of mail server, should be fqdn | ||
hostname = "mail.${domainName}"; | hostname = "mail.${domainName}"; | ||
# domain of the email address that this postfix is hosting | |||
domain = "${domainName}"; | |||
sslCert = "${sslCertDir}/fullchain.pem"; | sslCert = "${sslCertDir}/fullchain.pem"; | ||
| Line 59: | Line 61: | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
You also need to set proper file permissions on the cert directory and key files. | |||
See [[ACME#Integration_with_service_modules]]. | |||
= Setup virtual map with regex = | = Setup virtual map with regex = | ||
| Line 108: | Line 113: | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Mail Server]] | |||
[[Category:Server]] | |||