File: mailertable

package info (click to toggle)
sendmail 8.18.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,496 kB
  • sloc: ansic: 105,736; perl: 7,504; sh: 5,488; makefile: 889
file content (50 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download | duplicates (17)
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]