summaryrefslogtreecommitdiff
path: root/localmkpostfixvirtual
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-10-19 11:01:59 +0000
committerJonas Smedegaard <dr@jones.dk>2006-10-19 11:01:59 +0000
commitacee9c5ebd6304ea730ec3b559120f733cc389b9 (patch)
tree1657a0abb3df047dda89abd152a086296984bacd /localmkpostfixvirtual
parent868c161d3d31cc1f9739876e1c2f34e3efe2af05 (diff)
Add example postfix output to intro text.
Diffstat (limited to 'localmkpostfixvirtual')
-rwxr-xr-xlocalmkpostfixvirtual36
1 files changed, 34 insertions, 2 deletions
diff --git a/localmkpostfixvirtual b/localmkpostfixvirtual
index 13c35e2..7b98981 100755
--- a/localmkpostfixvirtual
+++ b/localmkpostfixvirtual
@@ -3,7 +3,7 @@
# /usr/local/sbin/localmkpostfixvirtual
# Copyright 2001-2006 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localmkpostfixvirtual,v 1.32 2006-10-18 12:00:32 jonas Exp $
+# $Id: localmkpostfixvirtual,v 1.33 2006-10-19 11:01:59 jonas Exp $
#
# Generate virtual file for postfix
#
@@ -52,7 +52,7 @@
# Suggestion: Add postmaster-specific hints to the root account
# (default: "postmaster@"):
#
-# # usermod -c "postmaster@ hostmaster@ support@" root
+# # usermod -c "postmaster@ abuse@ support@abcde" root
#
#
# Postfix lookup tables
@@ -66,6 +66,38 @@
#
# # localmaildomainupdate
#
+#
+# The above example entries should generate the following in
+# /etc/postfix/virtual:
+#
+# abc.com VIRTUAL
+# postmaster@abc.com root
+# abuse@abc.com root
+# support@abc.com root
+#
+# db@abc.com david
+# dbowie@abc.com david
+#
+# cde.org VIRTUAL
+# postmaster@cde.org root
+# abuse@cde.org root
+# support@cde.org root
+#
+# db@cde.org david
+# dbowie@cde.org david
+#
+# If another virtual domain account "xyz" is added with @xyz.net
+# in comment field, the following will be included as well:
+#
+# xyz.net VIRTUAL
+# postmaster@xyz.net
+# abuse@xyz.net
+#
+# db@xyz.net
+# @xyz.net
+#
+# (notice how support is only tied to the abcde domains, and the
+# specific dbowie userpart is substituted with a wildcard)
use strict;