msimerson / Mail-Toaster-6

Mail Toaster 6
https://github.com/msimerson/Mail-Toaster-6/wiki
BSD 3-Clause "New" or "Revised" License
46 stars 16 forks source link

PF anchors - load PF rules as jails start/stop #545

Closed msimerson closed 1 year ago

msimerson commented 1 year ago

Changes proposed in this pull request:

Previously, PF rules for port 80 & 443 were in /etc/pf.conf and pointed to haproxy. After this PR, those same PF redirect rules are located at $data/haproxy/etc/pf.conf.d/rdr.conf. Same goes for MUA, MSA, and MTA ports which moved to $data/dovecot/etc/pf.conf.d/rdr.conf and similarly haraka and dhcp.

Motivations

Checklist: