class profile::mail (
String $mailhub,
Optional[Integer] $mailhub_port = 25,
+ Optional[String] $default_target = "postmaster",
) {
ensure_packages(["s-nail", "ssmtp"])
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
-root=postmaster
+root=<%= @default_target %>
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and you mailhub is so named.