From acee9c5ebd6304ea730ec3b559120f733cc389b9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 19 Oct 2006 11:01:59 +0000 Subject: Add example postfix output to intro text. --- localmkpostfixvirtual | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to 'localmkpostfixvirtual') 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 # -# $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; -- cgit v1.2.3