003 File Manager
Current Path:
/usr/src/contrib/sendmail/cf/feature
usr
/
src
/
contrib
/
sendmail
/
cf
/
feature
/
📁
..
📄
accept_unqualified_senders.m4
(413 B)
📄
accept_unresolvable_domains.m4
(416 B)
📄
access_db.m4
(2.2 KB)
📄
allmasquerade.m4
(755 B)
📄
always_add_domain.m4
(694 B)
📄
authinfo.m4
(868 B)
📄
badmx.m4
(586 B)
📄
bcc.m4
(2.6 KB)
📄
bestmx_is_local.m4
(1.65 KB)
📄
bitdomain.m4
(996 B)
📄
blacklist_recipients.m4
(503 B)
📄
block_bad_helo.m4
(552 B)
📄
blocklist_recipients.m4
(510 B)
📄
check_cert_altnames.m4
(424 B)
📄
compat_check.m4
(1.13 KB)
📄
conncontrol.m4
(1.14 KB)
📄
delay_checks.m4
(772 B)
📄
dnsbl.m4
(1.4 KB)
📄
domaintable.m4
(1009 B)
📄
enhdnsbl.m4
(1.91 KB)
📄
generics_entire_domain.m4
(399 B)
📄
genericstable.m4
(1022 B)
📄
greet_pause.m4
(1.23 KB)
📄
ldap_routing.m4
(1.92 KB)
📄
limited_masquerade.m4
(553 B)
📄
local_lmtp.m4
(795 B)
📄
local_no_masquerade.m4
(506 B)
📄
local_procmail.m4
(1.12 KB)
📄
lookupdotdomain.m4
(632 B)
📄
loose_relay_check.m4
(395 B)
📄
mailertable.m4
(1013 B)
📄
masquerade_entire_domain.m4
(565 B)
📄
masquerade_envelope.m4
(555 B)
📄
msp.m4
(2.91 KB)
📄
mtamark.m4
(1.14 KB)
📄
no_default_msa.m4
(382 B)
📄
nocanonify.m4
(743 B)
📄
nopercenthack.m4
(891 B)
📄
notsticky.m4
(612 B)
📄
nouucp.m4
(849 B)
📄
nullclient.m4
(1.16 KB)
📄
prefixmod.m4
(703 B)
📄
preserve_local_plus_detail.m4
(409 B)
📄
preserve_luser_host.m4
(550 B)
📄
promiscuous_relay.m4
(557 B)
📄
queuegroup.m4
(624 B)
📄
ratecontrol.m4
(1.14 KB)
📄
redirect.m4
(827 B)
📄
relay_based_on_MX.m4
(492 B)
📄
relay_entire_domain.m4
(400 B)
📄
relay_hosts_only.m4
(394 B)
📄
relay_local_from.m4
(591 B)
📄
relay_mail_from.m4
(698 B)
📄
require_rdns.m4
(383 B)
📄
smrsh.m4
(771 B)
📄
stickyhost.m4
(546 B)
📄
tls_failures.m4
(395 B)
📄
tls_session_features.m4
(395 B)
📄
use_client_ptr.m4
(503 B)
📄
use_ct_file.m4
(707 B)
📄
use_cw_file.m4
(766 B)
📄
uucpdomain.m4
(990 B)
📄
virtuser_entire_domain.m4
(399 B)
📄
virtusertable.m4
(1019 B)
Editing: bcc.m4
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: Map to use # - empty/none: default map bcctable # - `access': to use access_db (with bcc: as tag) # - map definition # The map contains domain names and the RHS should be simply "ok". # If the access map is used, then its lookup algorithm is used. # Otherwise: # domain ok # matches anything@domain # .domain ok # matches any subdomain, e.g., l@sub.domain and l@sub.dom.domain # On a match, the original address will be used as bcc address unless # argument 3 is set. # 2: Name of host ([mailer:]host) # 3: Default bcc address: if set, this will be always used. # Only one of 2/3 can be empty. # Note: if Bcc address is used then only one copy will be sent! # (due to duplicate elimination) # 4: Map definition for canonicalRcpt map of address rewriting to # apply to the added bcc envelope recipients. # The option -T<TMPF> is required to handle temporary map failures. # # The ruleset must return either # - an e-mail address (user@dom.ain) which is then added as "bcc" recipient. # - an empty string: do not add a "bcc" recipient, or # - $#error: fail the SMTP transaction (e.g., temporary lookup failure) # # This feature sets O AddBcc=true ifelse(lower(_ARG_),`access',`define(`_BCC_ACCESS_', `1')') define(`_ADD_BCC_', `1') ifdef(`_BCC_ACCESS_', `dnl ifdef(`_ACCESS_TABLE_', `', `errprint(`*** ERROR: FEATURE(`bcc') requires FEATURE(`access_db') ')')') ifdef(`_BCC_ACCESS_', `', ` LOCAL_CONFIG Kbcctable ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`bcctable', `_ARG_')') LOCAL_CONFIG O AddBcc=true ifelse(len(X`'_ARG2_),`1', `', ` DA`'_ARG2_') ifelse(len(X`'_ARG4_), `1', `', `define(`_CANONIFY_BCC_', `1')dnl define(`_NEED_SMTPOPMODES_', `1')dnl # canonical address look up for AddBcc recipients KcanonicalRcpt _ARG4_ ')dnl LOCAL_RULESETS Sbcc R< $+ > $1 ifdef(`_BCC_ACCESS_', `dnl R$+ @ $+ $: $1@$2 $| $>SearchList <! bcc> $| <D:$2> <>', `R$+ @ $+ $: $1@$2 $| $>BCC $2') R$* $| <?> $@ R$* $| $* $: ifelse(len(X`'_ARG3_),`1', `$1', `_ARG3_') ifdef(`_CANONIFY_BCC_', `dnl R$+ @ $+ $: $1@$2 $| <$(canonicalRcpt $1 @ $2 $: $)> R$* $| <> $@ R$* $| <$* <TMPF>> $#error $@ 4.3.0 $: _TMPFMSG_(`BCC') R$* $| <$+> $@ $2 map matched? ') ifdef(`_BCC_ACCESS_', `', ` SBCC R$+ $: $1 < $(bcctable $1 $: ? $) > R$- . $+ <?> $: $2 < $(bcctable .$2 $: ? $) > R$- . $+ <?> $: $>BCC $2 R$* <$*> $: <$2> ')
Upload File
Create Folder