/etc/avenger/unknown is in mailavenger 0.8.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | # If using qmail, uncomment the following line
#QMAIL=1
VUTAB=/etc/mail/virtusertable.db
error=0
err_accum () {
newerr="$1"
if test "$newerr" -gt "$error"; then
error="$newerr"
fi
}
if test -s "$QMAIL"; then
aliascheck --qmail -- "$RECIPIENT_LOCAL" > /dev/null && exit 0
err_accum $?
else # sendmal
aliascheck -- "$RECIPIENT_LOCAL" > /dev/null && exit 0
err_accum $?
if test -f "$VUTAB"; then
aliascheck --map -- "$RECIPIENT" "$VUTAB" && exit 0
err_accum $?
aliascheck --map -- "@$RECIPIENT_HOST" "$VUTAB" && exit 0
err_accum $?
fi
fi
case "$error" in
1)
reject user unknown
;;
0)
# Shouldn't happen
;;
*)
# To defer mail when alias file not readable, uncomment the
# following line:
#defer Temporary error processing alias file
;;
esac
|