summaryrefslogtreecommitdiffstats
path: root/postfix/entrypoint.sh (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-06-14postfix: Deny submission sender/login mismatchMalfurious1-2/+8
Prevent outgoing spoofed emails by requiring the MAIL FROM header to match the SASL login name. Specifically, the SASL user must "own" the address. `smtpd_sender_login_maps` defines a lookup table to determine ownership. We create a placeholder table that states each user simply owns their own email address (aka: the value of their username). Signed-off-by: Malfurious <m@lfurio.us>
2024-06-09postfix: Add service entrypoint scriptMalfurious1-0/+12
This is used to generate database files used by postfix daemons. In theory, this could also be performed at build-time by the Dockerfile. However, I intend to create only a single image that each service separately spawns from, since there will be several commonalities between them. Moving these postfix-specific tasks to an entrypoint script keeps the common Dockerfile more managable. Signed-off-by: Malfurious <m@lfurio.us>