File: prefixmod.m4

package info (click to toggle)
sendmail 8.18.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,268 kB
  • sloc: ansic: 106,906; perl: 7,504; sh: 5,488; makefile: 888
file content (24 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
divert(-1)
#
# Copyright (c) 2014 Proofpoint, Inc. and its suppliers.
#	All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#

divert(-1)
# Arguments:
# 1: prefix to match; must be one or more tokens
#    (this is not a "substring" match)
# 2: flags to set in {rcpt_flags}
# NYI: 3: replacement for 1 (empty for now)

ifelse(defn(`_ARG_'), `', `errprint(`Feature "prefixmod" requires argument')',
	`define(`_PREFIX_MOD_', _ARG_)')
ifelse(len(X`'_ARG2_),`1', `errprint(`Feature "prefixmod" requires two arguments')',
	`define(`_PREFIX_FLAGS_', _ARG2_)')

define(`_NEED_MACRO_MAP_', `1')