/usr/share/sendmail/examples/db/mailertable is in sendmail-base 8.15.2-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 45 46 47 48 49 50 | # /etc/mail/mailertable
# Copyright (c) 1998, Richard Nelson <cowboy@debian.org>.
# Time-stamp: <1998/10/27 10:00:00 cowboy>
# GPL'd config file, please feed any gripes, suggestions, etc. to me
#
# Function:
# Specify a mapping from old host name to new host name.
# Commonly used to support old (or merged) domain names.
# The host name in the lhs will be rewritten to that in the rhs
#
# Usage:
# FEATURE(mailertable[, type [-o] /etc/mail/mailertable])dnl
# makemap hash mailertable < mailertable
#
# Format:
# Local recipients:
# <address> local:user
# <address> local: <<- will use same user
# Error messages:
# badhost error:nohost mail to %0 is prohibited
# .baddomain error:nohost mail to %1%0 is prohibited
#
# Examples:
# Local recipients:
# <address> local:user
# <address> local: <<- will use same user
# Error messages:
# badhost error:nohost mail to %0 is prohibited
# .baddomain error:nohost mail to %1%0 is prohibited
#
# Notes:
#
# Related:
#
# Address rewrites for hosts *NOT IN* class $w
# Direct delivery, %0 is left side
# friend.dom smtp:[%0]:[some.smart.host]
# Direct deliver of domain, smarthost as second choice
# .friend.dom smtp:[%1%0]:[some.smart.host]
# Default route, via smarthost
# . smtp:[some.smart.host]
#
badhost error:nohost mail to %0 is prohibited
.baddomain error:nohost mail to %1%0 is prohibited
#
# Sites we deliver directly to, bypassing SMARTHOST:
#
# Sites that use DUL: Dialup User Lists (or equivalent)
#aol.com esmtp:[relay]
#primenet.com esmtp:[relay]
|