DefaultA parameter to dom
[hcoop/domtool2.git] / lib / alias.dtl
index 10f7dde..d7fb703 100644 (file)
@@ -13,11 +13,7 @@ extern type aliasSource;
 extern val userSource : emailUser -> aliasSource;
 {{The part appear before the "@" in your desired source address}}
 extern val defaultSource : aliasSource;
-{{Matches any mail to this domain that doesn't match any other rule, with the
-  exception of systemwide usernames like UNIX users.}}
-extern val catchAllSource : aliasSource;
-{{Matches any mail to this domain that doesn't match any other rule, even
-  for systemwide usernames.}}
+{{Matches any mail to this domain that doesn't match any other rule.}}
 
 extern type aliasTarget;
 {{A place to redirect messages}}
@@ -41,8 +37,7 @@ val aliasDrop = \user -> aliasPrim (userSource user) dropTarget;
 {{Silently delete mail to the user at the current domain.}}
 
 val defaultAlias = \email -> aliasPrim defaultSource (addressTarget email);
-{{When a message to the current domain doesn't match any other alias, and it
-  doesn't match any systemwide username, send it to this e-mail address.}}
-val catchAllAlias = \email -> aliasPrim catchAllSource (addressTarget email);
-{{When a message to the current domain doesn't match any other alias, send it
-  to this e-mail address, even if it matches a systemwide username.}}
+{{When a message to the current domain doesn't match any other rule, send it to
+  this e-mail address.}}
+val defaultAliasDrop = aliasPrim defaultSource dropTarget;
+{{Silently drop all mail not matching a specific rule.}}