+# add an exim virtualdomain entry on this host
+#
+# @param mail_user User to run the virtual email domain's pipe jobs and deliveries as
+# @param mail_group Group to run the virtual email domain's pipe jobs and deliveries as
+# @param owner User to own the directories and files
+# @param group Group to own the directories and files
+# @param domain email domain (defaults to $name)
+# @param maildir Mail directory, usually and defaults to /srv/$name/mail
+define exim::vdomain (
+ String $domain = $name,
+ String $maildir = "/srv/${name}/mail",
+ String $owner = 'root',
+ String $group = 'root',
+ String $mail_user = $owner,
+ String $mail_group = $group,