changeset 308:86d8a3cf517d

added alias examples to man page
author meillo@marmaro.de
date Sun, 24 Apr 2011 19:01:22 +0200 (2011-04-24)
parents e0de950ed497
children 273f6c9eb6a2
files man/masqmail.aliases.5
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/masqmail.aliases.5	Sun Apr 24 15:11:37 2011 +0200
+++ b/man/masqmail.aliases.5	Sun Apr 24 19:01:22 2011 +0200
@@ -35,6 +35,23 @@
 There is no need to restart masqmail or run any command when the alias file has been changed.
 
 
+.SH EXAMPLE
+
+.nf
+# postmaster is required by RFC 2821
+postmaster: root
+
+# forward abuse mail to another address
+abuse: abuse@example.org
+
+# copy root's mail also to meillo
+root: \\root, meillo
+
+# pass mail to a script
+foo: |/usr/bin/foo
+.fi
+
+
 .SH AUTHOR
 
 Masqmail was written by Oliver Kurth.