003 File Manager
Current Path:
/usr/src/contrib/sendmail/libmilter/docs
usr
/
src
/
contrib
/
sendmail
/
libmilter
/
docs
/
📁
..
📄
api.html
(13.08 KB)
📄
design.html
(5.55 KB)
📄
figure1.fig
(1.65 KB)
📄
figure1.jpg
(20.9 KB)
📄
figure1.ps
(4.39 KB)
📄
figure2.fig
(2.13 KB)
📄
figure2.jpg
(46.82 KB)
📄
figure2.ps
(6.33 KB)
📄
index.html
(2.57 KB)
📄
installation.html
(5.86 KB)
📄
other.html
(387 B)
📄
overview.html
(8.12 KB)
📄
sample.html
(12.18 KB)
📄
smfi_addheader.html
(3.74 KB)
📄
smfi_addrcpt.html
(2.02 KB)
📄
smfi_addrcpt_par.html
(2.19 KB)
📄
smfi_chgfrom.html
(2.42 KB)
📄
smfi_chgheader.html
(3.99 KB)
📄
smfi_delrcpt.html
(2.24 KB)
📄
smfi_getpriv.html
(1.57 KB)
📄
smfi_getsymval.html
(3.25 KB)
📄
smfi_insheader.html
(4.73 KB)
📄
smfi_main.html
(1.42 KB)
📄
smfi_opensocket.html
(2.39 KB)
📄
smfi_progress.html
(1.65 KB)
📄
smfi_quarantine.html
(1.86 KB)
📄
smfi_register.html
(6.04 KB)
📄
smfi_replacebody.html
(2.87 KB)
📄
smfi_setbacklog.html
(1.7 KB)
📄
smfi_setconn.html
(2.74 KB)
📄
smfi_setdbg.html
(1.68 KB)
📄
smfi_setmlreply.html
(4.54 KB)
📄
smfi_setpriv.html
(2.06 KB)
📄
smfi_setreply.html
(3.82 KB)
📄
smfi_setsymlist.html
(2.85 KB)
📄
smfi_settimeout.html
(2.08 KB)
📄
smfi_stop.html
(1.99 KB)
📄
smfi_version.html
(2.53 KB)
📄
xxfi_abort.html
(2.38 KB)
📄
xxfi_body.html
(2.95 KB)
📄
xxfi_close.html
(2.32 KB)
📄
xxfi_connect.html
(3.65 KB)
📄
xxfi_data.html
(2.14 KB)
📄
xxfi_envfrom.html
(2.77 KB)
📄
xxfi_envrcpt.html
(2.75 KB)
📄
xxfi_eoh.html
(1.32 KB)
📄
xxfi_eom.html
(1.58 KB)
📄
xxfi_header.html
(2.72 KB)
📄
xxfi_helo.html
(1.66 KB)
📄
xxfi_negotiate.html
(8.41 KB)
📄
xxfi_unknown.html
(2.12 KB)
Editing: smfi_setconn.html
<HTML> <HEAD><TITLE>smfi_setconn</TITLE></HEAD> <BODY> <!-- $Id: smfi_setconn.html,v 1.18 2013-11-22 20:51:39 ca Exp $ --> <H1>smfi_setconn</H1> <TABLE border="0" cellspacing=4 cellpadding=4> <!---------- Synopsis -----------> <TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD> <PRE> #include <libmilter/mfapi.h> int smfi_setconn( char *oconn; ); </PRE> Set the socket through which this filter should communicate with sendmail. </TD></TR> <!----------- Description ----------> <TR><TH valign="top" align=left>DESCRIPTION</TH><TD> <TABLE border="1" cellspacing=1 cellpadding=4> <TR align="left" valign=top> <TH width="80">Called When</TH> <TD>smfi_setconn must be called once before <A href="smfi_main.html">smfi_main</A>.</TD> </TR> <TR align="left" valign=top> <TH width="80">Effects</TH> <TD>Sets the socket through which the filter communicates with sendmail.</TD> </TR> </TABLE> </TD></TR> <!----------- Arguments ----------> <TR><TH valign="top" align=left>ARGUMENTS</TH><TD> <TABLE border="1" cellspacing=0> <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR> <TR valign="top"><TD>oconn</TD> <TD>The address of the desired communication socket. The address should be a NULL-terminated string in "proto:address" format: <UL> <LI><CODE>{unix|local}:/path/to/file</CODE> -- A named pipe. <LI><CODE>inet:port@{hostname|ip-address}</CODE> -- An IPV4 socket. <LI><CODE>inet6:port@{hostname|ip-address}</CODE> -- An IPV6 socket. </UL> </TD></TR> </TABLE> </TD></TR> <!----------- Return values ----------> <TR> <TH valign="top" align=left>RETURN VALUES</TH> <TD>smfi_setconn will not fail on an invalid address. The failure will only be detected in <A href="smfi_main.html">smfi_main</A>. Nevertheless, smfi_setconn may fail for other reasons, e.g., due to a lack of memory. </TD> </TR> <TR> <TH valign="top" align=left>NOTES</TH> <TD> <UL> <LI>If possible, filters should not run as root when communicating over unix/local domain sockets. <LI>Unix/local sockets should have their permissions set to 0600 (read/write permission only for the socket's owner) or 0660 (read/write permission for the socket's owner and group) which is useful if the sendmail RunAsUser option is used. The permissions for a unix/local domain socket are determined as usual by <CODE>umask</CODE>, which should be set to 007 or 077. Note some operating systems (e.g, Solaris) don't use the permissions of the socket. On those systems, place the socket in a protected directory. </UL> </TD> </TR> </TABLE> <HR size="1"> <FONT size="-1"> Copyright (c) 2000, 2003 Proofpoint, Inc. and its suppliers. All rights reserved. <BR> By using this file, you agree to the terms and conditions set forth in the LICENSE. </FONT> </BODY> </HTML>
Upload File
Create Folder