summaryrefslogtreecommitdiff
path: root/tools/qmail
diff options
context:
space:
mode:
authorroot <root@cloud.av8n.net>2012-07-13 07:51:35 (GMT)
committerJohn Denker <jsd@av8n.com>2012-07-14 01:39:52 (GMT)
commit1d7eff0ba635ac5983bed820dd349af2ebee0850 (patch)
treeca33be1951d64bf1e3f36fdd77903dc16a9644b3 /tools/qmail
parent1ead9453f3dfc28cf797aafbcc7b6e56b69c4770 (diff)
better comments, working toward MODE switching
Diffstat (limited to 'tools/qmail')
-rwxr-xr-xtools/qmail6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/qmail b/tools/qmail
index f58a5c7..b43db75 100755
--- a/tools/qmail
+++ b/tools/qmail
@@ -34,8 +34,10 @@ CDB=/etc/tcpserver/smtp.cdb
: ${PIDO:=/var/qmail/bin/pido}
banner="Starting Qmail MTA:"
-test -n "$mailhost" || mailhost=$(hostname -f )
-
+: ${mailhost:=0}
+# Some people might use mailhost=$(hostname -f )
+# but mailhost=0 is almost always better.
+# In particular it is much better as a /default/ value.
proc_running(){
proc=$1