# A sample file to illustrate relay rules.
# Each group of rules should start with a "Via:" record
# This is then followed by an arbitrary number of "To:" records

  # For destinations in the local LAN, use the server at 192.168.1.5

via: 192.168.1.5          # a comment
to:  192.168.1.*
to: myowndomain.org
to: myotherdomain.org

# The server at specialserver.org handles a few special cases

via specialserver.org   # deliberate error, but this will work anyway
to: ab*cd?*e.org

# Mail to a.com and b.com should be delivered via c.com

via: c.com
to:    a.com
to : b.com

# For all other destinations, use myISP.com as the relay

via: myISP.com
to: *

