head 1.2;
access;
symbols
RELENG_9_1_0_RELEASE:1.1.1.1
RELENG_9_1:1.1.1.1.0.34
RELENG_9_1_BP:1.1.1.1
RELENG_8_3_0_RELEASE:1.1.1.1
RELENG_8_3:1.1.1.1.0.32
RELENG_8_3_BP:1.1.1.1
RELENG_9_0_0_RELEASE:1.1.1.1
RELENG_9_0:1.1.1.1.0.30
RELENG_9_0_BP:1.1.1.1
RELENG_9:1.1.1.1.0.28
RELENG_9_BP:1.1.1.1
RELENG_7_4_0_RELEASE:1.1.1.1
RELENG_8_2_0_RELEASE:1.1.1.1
RELENG_7_4:1.1.1.1.0.26
RELENG_7_4_BP:1.1.1.1
RELENG_8_2:1.1.1.1.0.24
RELENG_8_2_BP:1.1.1.1
RELENG_8_1_0_RELEASE:1.1.1.1
RELENG_8_1:1.1.1.1.0.22
RELENG_8_1_BP:1.1.1.1
RELENG_7_3_0_RELEASE:1.1.1.1
RELENG_7_3:1.1.1.1.0.20
RELENG_7_3_BP:1.1.1.1
RELENG_8_0_0_RELEASE:1.1.1.1
RELENG_8_0:1.1.1.1.0.18
RELENG_8_0_BP:1.1.1.1
RELENG_8:1.1.1.1.0.16
RELENG_8_BP:1.1.1.1
RELENG_7_2_0_RELEASE:1.1.1.1
RELENG_7_2:1.1.1.1.0.14
RELENG_7_2_BP:1.1.1.1
RELENG_7_1_0_RELEASE:1.1.1.1
RELENG_6_4_0_RELEASE:1.1.1.1.2.1
RELENG_7_1:1.1.1.1.0.12
RELENG_7_1_BP:1.1.1.1
RELENG_6_4:1.1.1.1.2.1.0.4
RELENG_6_4_BP:1.1.1.1.2.1
RELENG_7_0_0_RELEASE:1.1.1.1
RELENG_6_3_0_RELEASE:1.1.1.1.2.1
RELENG_7_0:1.1.1.1.0.10
RELENG_7_0_BP:1.1.1.1
RELENG_6_3:1.1.1.1.2.1.0.2
RELENG_6_3_BP:1.1.1.1.2.1
v8_14_2:1.1.1.1
RELENG_7:1.1.1.1.0.8
RELENG_7_BP:1.1.1.1
RELENG_4:1.1.1.1.0.6
RELENG_5:1.1.1.1.0.4
RELENG_6:1.1.1.1.0.2
v8_14_1:1.1.1.1
SENDMAIL:1.1.1;
locks; strict;
comment @# @;
1.2
date 2012.12.30.00.03.12; author svnexp; state Exp;
branches;
next 1.1;
1.1
date 2007.04.09.01.38.51; author gshapiro; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2007.04.09.01.38.51; author gshapiro; state Exp;
branches
1.1.1.1.2.1
1.1.1.1.4.1
1.1.1.1.6.1
1.1.1.1.8.1
1.1.1.1.16.1
1.1.1.1.28.1;
next ;
1.1.1.1.2.1
date 2007.04.12.03.11.37; author gshapiro; state Exp;
branches;
next ;
1.1.1.1.4.1
date 2007.04.12.03.12.23; author gshapiro; state Exp;
branches;
next ;
1.1.1.1.6.1
date 2007.04.12.03.12.59; author gshapiro; state Exp;
branches;
next ;
1.1.1.1.8.1
date 2013.01.01.18.36.38; author svnexp; state Exp;
branches;
next ;
1.1.1.1.16.1
date 2013.01.01.18.31.48; author svnexp; state Exp;
branches;
next ;
1.1.1.1.28.1
date 2013.01.01.18.28.12; author svnexp; state Exp;
branches;
next ;
desc
@@
1.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244833
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@
smfi_setsymlist
smfi_setsymlist
SYNOPSIS |
#include <libmilter/mfapi.h>
int smfi_setsymlist(
SMFICTX *ctx,
int stage,
char *macros
);
Set the list of macros that the milter wants to receive from the MTA
for a protocol stage.
|
DESCRIPTION |
Called When |
This function must only be called during
xxfi_negotiate().
|
Effects |
This function can be used to override the list of macros that the
milter wants to receive from the MTA.
|
|
---|
ARGUMENTS |
Argument | Description |
ctx |
the opaque context structure.
|
stage |
the protocol stage during which the macro list should be used.
See the file
include/libmilter/mfapi.h for legal values,
look for the C macros with the prefix
SMFIM_ .
Available protocol stages are at least
the initial connection, HELO/EHLO, MAIL, RCPT, DATA,
end of header, and
the end of a message.
|
macros |
list of macros (separated by space).
Example: "{rcpt_mailer} {rcpt_host}"
|
|
RETURN VALUES |
MI_FAILURE is returned if
- there is not enough free memory to make a copy of the macro list,
macros is NULL or empty,
stage is not a valid protocol stage,
- the macro list for
stage has been set before.
Otherwise MI_SUCCESS is returned.
|
NOTES |
There is an internal limit on the number of macros
that can be set
(currently 50),
however, this limit is not enforced by libmilter, only by the MTA,
but a possible violation of this restriction is not communicated back to
the milter. |
Copyright (c) 2006, 2012 Sendmail, Inc. and its suppliers.
All rights reserved.
By using this file, you agree to the terms and conditions set
forth in the LICENSE.
@
1.1
log
@Initial revision
@
text
@d5 1
a5 1
$Id: smfi_setsymlist.html,v 1.5 2006/12/21 18:30:35 ca Exp $
d89 4
a92 2
There is an internal limit on the number of macros that can be
set (currently 5),
d102 1
a102 1
Copyright (c) 2006 Sendmail, Inc. and its suppliers.
@
1.1.1.1
log
@Import sendmail 8.14.1
@
text
@@
1.1.1.1.8.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244932
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r244932 | gshapiro | 2013-01-01 18:30:57 +0000 (Tue, 01 Jan 2013) | 2 lines
## SVN ##
## SVN ## MFC: Merge sendmail 8.14.6
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
$Id: smfi_setsymlist.html,v 1.6 2012/05/11 17:34:23 ca Exp $
d89 2
a90 4
| There is an internal limit on the number of macros
that can be set
(currently 50),
d100 1
a100 1
Copyright (c) 2006, 2012 Sendmail, Inc. and its suppliers.
@
1.1.1.1.16.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244930
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r244930 | gshapiro | 2013-01-01 18:29:04 +0000 (Tue, 01 Jan 2013) | 2 lines
## SVN ##
## SVN ## MFC: Merge sendmail 8.14.6
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
$Id: smfi_setsymlist.html,v 1.6 2012/05/11 17:34:23 ca Exp $
d89 2
a90 4
| There is an internal limit on the number of macros
that can be set
(currently 50),
d100 1
a100 1
Copyright (c) 2006, 2012 Sendmail, Inc. and its suppliers.
@
1.1.1.1.28.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244928
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r244928 | gshapiro | 2013-01-01 18:26:12 +0000 (Tue, 01 Jan 2013) | 2 lines
## SVN ##
## SVN ## MFC: Merge sendmail 8.14.6
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
$Id: smfi_setsymlist.html,v 1.6 2012/05/11 17:34:23 ca Exp $
d89 2
a90 4
| There is an internal limit on the number of macros
that can be set
(currently 50),
d100 1
a100 1
Copyright (c) 2006, 2012 Sendmail, Inc. and its suppliers.
@
1.1.1.1.6.1
log
@MFC: sendmail 8.14.1
@
text
@@
1.1.1.1.4.1
log
@MFC: sendmail 8.14.1
@
text
@@
1.1.1.1.2.1
log
@MFC: sendmail 8.14.1
@
text
@@
|