1168515Sgshapiro<HTML> 2168515Sgshapiro<HEAD><TITLE>xxfi_envfrom</TITLE></HEAD> 3168515Sgshapiro<BODY> 4132943Sgshapiro<!-- 5266692Sgshapiro$Id: xxfi_envfrom.html,v 1.15 2013-11-22 20:51:39 ca Exp $ 6132943Sgshapiro--> 7168515Sgshapiro<H1>xxfi_envfrom</H1> 890792Sgshapiro 9168515Sgshapiro<TABLE border="0" cellspacing=4 cellpadding=4> 1090792Sgshapiro<!---------- Synopsis -----------> 11168515Sgshapiro<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD> 12168515Sgshapiro<PRE> 1390792Sgshapiro#include <libmilter/mfapi.h> 1490792Sgshapirosfsistat (*xxfi_envfrom)( 15168515Sgshapiro SMFICTX *ctx, 16168515Sgshapiro char **argv 1790792Sgshapiro); 18168515Sgshapiro</PRE> 19168515SgshapiroHandle the MAIL (envelope sender) command. 20168515Sgshapiro</TD></TR> 2190792Sgshapiro 2290792Sgshapiro<!----------- Description ----------> 23168515Sgshapiro<TR><TH valign="top" align=left>DESCRIPTION</TH><TD> 24168515Sgshapiro<TABLE border="1" cellspacing=1 cellpadding=4> 25168515Sgshapiro<TR align="left" valign=top> 26168515Sgshapiro<TH width="80">Called When</TH> 27168515Sgshapiro<TD>xxfi_envfrom is called once at the beginning of each message 28168515Sgshapiro(MAIL command), 29168515Sgshapirobefore xxfi_envrcpt.</TD> 30168515Sgshapiro</TR> 31168515Sgshapiro<TR align="left" valign=top> 32168515Sgshapiro<TH>Default Behavior</TH> 33168515Sgshapiro<TD>Do nothing; return SMFIS_CONTINUE.</TD> 34168515Sgshapiro</TR> 35168515Sgshapiro</TABLE> 3690792Sgshapiro 3790792Sgshapiro<!----------- Arguments ----------> 38168515Sgshapiro<TR><TH valign="top" align=left>ARGUMENTS</TH><TD> 39168515Sgshapiro <TABLE border="1" cellspacing=0> 40168515Sgshapiro <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR> 41168515Sgshapiro <TR valign="top"><TD>ctx</TD> 42168515Sgshapiro <TD>Opaque context structure. 43168515Sgshapiro </TD></TR> 44168515Sgshapiro <TR valign="top"><TD>argv</TD> 45168515Sgshapiro <TD>Null-terminated SMTP command arguments; 4690792Sgshapiro argv[0] is guaranteed to be the sender address. 4790792Sgshapiro Later arguments are the ESMTP arguments. 48168515Sgshapiro </TD></TR> 49168515Sgshapiro </TABLE> 50168515Sgshapiro</TD></TR> 5190792Sgshapiro 5290792Sgshapiro<!----------- Return values ----------> 53168515Sgshapiro<TR> 54168515Sgshapiro<TH valign="top" align=left>SPECIAL RETURN VALUES</TH> 55168515Sgshapiro<TD><TABLE border="1" cellspacing=0> 56168515Sgshapiro <TR bgcolor="#dddddd"><TH>Return value</TH><TH>Description</TH></TR> 57168515Sgshapiro <TR valign="top"> 58168515Sgshapiro <TD>SMFIS_TEMPFAIL</TD> 59168515Sgshapiro <TD>Reject this sender and message with a temporary error; a new sender (and hence a new message) may subsequently be specified. <A href="xxfi_abort.html">xxfi_abort</A> is not called. 60168515Sgshapiro </TD> 61168515Sgshapiro </TR> 62168515Sgshapiro <TR valign="top"> 63168515Sgshapiro <TD>SMFIS_REJECT</TD> 64168515Sgshapiro <TD>Reject this sender and message; a new sender/message may be specified. <A href="xxfi_abort.html">xxfi_abort</A> is not called. 65168515Sgshapiro </TD> 66168515Sgshapiro </TR> 67168515Sgshapiro <TR valign="top"> 68168515Sgshapiro <TD>SMFIS_DISCARD</TD> 69168515Sgshapiro <TD>Accept and silently discard this message. <A href="xxfi_abort.html">xxfi_abort</A> is not called. 70168515Sgshapiro </TD> 71168515Sgshapiro </TR> 72168515Sgshapiro <TR valign="top"> 73168515Sgshapiro <TD>SMFIS_ACCEPT</TD> 74168515Sgshapiro <TD>Accept this message. <A href="xxfi_abort.html">xxfi_abort</A> is not called. 75168515Sgshapiro </TD> 76168515Sgshapiro </TR> 77168515Sgshapiro</TABLE> 78168515Sgshapiro</TR> 7990792Sgshapiro 8090792Sgshapiro<!----------- Notes ----------> 81168515Sgshapiro<TR> 82168515Sgshapiro<TH valign="top" align=left>NOTES</TH> 83168515Sgshapiro<TD>For more details on ESMTP responses, please see RFC 84168515Sgshapiro<A href="http://www.rfc-editor.org/rfc/rfc1869.txt">1869</A>.</TD> 85168515Sgshapiro</TR> 86168515Sgshapiro</TABLE> 8790792Sgshapiro 88168515Sgshapiro<HR size="1"> 89168515Sgshapiro<FONT size="-1"> 90261363SgshapiroCopyright (c) 2000, 2003, 2006 Proofpoint, Inc. and its suppliers. 9190792SgshapiroAll rights reserved. 92168515Sgshapiro<BR> 9390792SgshapiroBy using this file, you agree to the terms and conditions set 94112810Sgshapiroforth in the LICENSE. 95168515Sgshapiro</FONT> 96168515Sgshapiro</BODY> 97168515Sgshapiro</HTML> 98