smfi_setconn.html (90792) | smfi_setconn.html (112810) | |
---|---|---|
1<html> 2<head><title>smfi_setconn</title></head> 3<body> 4<h1>smfi_setconn</h1> 5 6<table border="0" cellspacing=4 cellpadding=4> 7<!---------- Synopsis -----------> 8<tr><th valign="top" align=left width=150>SYNOPSIS</th><td> --- 35 unchanged lines hidden (view full) --- 44 </td></tr> 45 </table> 46</td></tr> 47 48<!----------- Return values ----------> 49<tr> 50<th valign="top" align=left>RETURN VALUES</th> 51 | 1<html> 2<head><title>smfi_setconn</title></head> 3<body> 4<h1>smfi_setconn</h1> 5 6<table border="0" cellspacing=4 cellpadding=4> 7<!---------- Synopsis -----------> 8<tr><th valign="top" align=left width=150>SYNOPSIS</th><td> --- 35 unchanged lines hidden (view full) --- 44 </td></tr> 45 </table> 46</td></tr> 47 48<!----------- Return values ----------> 49<tr> 50<th valign="top" align=left>RETURN VALUES</th> 51 |
|
52<td>smfi_setconn will not fail on an invalid address. The failure will 53only be detected in <a href="smfi_main.html">smfi_main</a></td> | 52 | smfi_setconn will not fail on an invalid address. 53The failure will only be detected in <a href="smfi_main.html">smfi_main</a></td>. 54Nevertheless, smfi_setconn may fail for other reasons, e.g., 55due to a lack of memory. |
54</tr> 55 56<tr> 57<th valign="top" align=left>NOTES</th> 58 59<td> | 56</tr> 57 58<tr> 59<th valign="top" align=left>NOTES</th> 60 61<td> |
|
60<ul><li>If possible, filters should not run as root when communicating over unix/local domain sockets. 61 <li>Unix/local sockets should have their permissions set to 0600 (read/write permission only for the socket's owner). | 62 63 <li>If possible, filters should not run as root when communicating 64 over unix/local domain sockets. 65 <li>Unix/local sockets should have their permissions set to 66 0600 (read/write permission only for the socket's owner) or 67 0660 (read/write permission for the socket's owner and group) 68 which is useful if the sendmail RunAsUser option is used. 69 The permissions for a unix/local domain socket are determined as 70 usual by <code>umask</code>, which should be set to 007 or 077 71 before calling <code>smfi_setconn()</code>. |
|
62</ul> 63</td> 64</tr> 65 66</table> 67 68<hr size="1"> 69<font size="-1"> | 72</ul> 73</td> 74</tr> 75 76</table> 77 78<hr size="1"> 79<font size="-1"> |
|
70Copyright (c) 2000 Sendmail, Inc. and its suppliers. | 80Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers. |
|
71All rights reserved. 72<br> 73By using this file, you agree to the terms and conditions set | 81All rights reserved. 82<br> 83By using this file, you agree to the terms and conditions set |
|
74forth in the <a href="LICENSE.txt">LICENSE</a>. | 84forth in the LICENSE. |
|
75</font> 76</body> 77</html> | 85</font> 86</body> 87</html> |