# qmail

# error codes
#$VIRUSERR = 31;
$VIRUSERR = 0;
$REGERR = 81;

#
# If MTA is qmail, run setuid.  This shouldn't be needed, but some external
# programs (such as uvscan) lose the effective uid without it.
#

if (setuid(geteuid()) == -1) {
	exit($REGERR)
}

# set path explicitly
$ENV{PATH} = "$QMAILDIR:/bin:/usr/bin:/usr/local/bin";

# End qmail
