# This test assumes that localhost points to 127.0.0.1 first
pass in       proto tcp to port 25 divert-to localhost port 8025
# Test IPv4 addresses
pass in       proto tcp to port 25 divert-to 127.0.0.1 port 8025
pass in inet  proto tcp to port 25 divert-to 127.0.0.1 port 8025
pass in inet  proto tcp to port 25 divert-to localhost port 8025
# Test IPv6 addresses
pass in       proto tcp to port 25 divert-to ::1       port 8025
pass in inet6 proto tcp to port 25 divert-to ::1       port 8025
pass in inet6 proto tcp to port 25 divert-to localhost port 8025
