# BEGIN_MTA_INIT
# MTA: 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)
}
# END_MTA_INIT
