Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

smfi_setconn(3n) [hpux man page]

smfi_setconn(3N)														  smfi_setconn(3N)

NAME
smfi_setconn() - sets the socket for filter to communicate with sendmail SYNOPSIS
PARAMETERS
oconn Specifies the address of the desired communication socket. The address must be a NULL-terminated string in the following format: Specifies a named pipe. Specifies an IPV4 socket, using either a hostname or an ip-address. Specifies an IPV6 socket, using either a hostname or an ip-address.. DESCRIPTION
The routine sets the socket through which the filter must communicate with must be called only once before the function. Notes Filters must not be run as root when communicating over UNIX/local domain sockets. The permissions for UNIX/local sockets must be set to 0600 (read/write permission only for the owner of the socket) or 0660 (read/write permission for the owner and group of the socket). These permissions are useful when the RunAsUser option is used. The permissions for a UNIX/local domain socket are determined using the the command, which must be set to 007 or 077. Some operating systems, such as Solaris, do not use the permissions of the socket. Therefore, place the socket in a protected directory in such systems. RETURN VALUE
does not fail due to an invalid address. The failure can only be detected in the routine. AUTHOR
was developed by the Sendmail Inc. SEE ASLO
smfi_main(3N), smfi_register(3N), smfi_settimeout(3N), smfi_opensocket(3N), smfi_setbacklog(3N), smfi_setdbg(3N), smfi_stop(3N). on smfi_setconn(3N)

Check Out this Related Man Page

smfi_stop(3N)															     smfi_stop(3N)

NAME
smfi_stop() - starts an orderly shutdown of the Milter for sendmail SYNOPSIS
PARAMETERS
void Specifies that the function does not accept any argument. DESCRIPTION
The routine causes each thread to finish its current connection and then exit the connection. When all the threads have exited, the call to the routine returns to the calling program, which may then exit or warm restart the function. can be called from any callback routine or any error-handling routine at any time in the program. A new connection is not accepted after calling Notes A Milter may also shutdown due the following reasons: o An internal routine may ask the Milter to abort. o Any other routine may also ask the Milter to stop. The stop process cannot be canceled once it has begun. RETURN VALUE
always returns AUTHOR
The routine was developed by the Sendmail Inc. SEE ALSO
smfi_main(3N), smfi_register(3N), smfi_setconn(3N), smfi_settimeout(3N), smfi_opensocket(3N), smfi_setbacklog(3N), smfi_setdbg(3N). on smfi_stop(3N)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Lotus Notes on Solaris

Does anyone know if you can run Notes on a SunBlade? This is the last program I need to completely get away from all MS boxes, if I can run my Notes on my Blade I won't need this ratty MS box! Thanks! JP (4 Replies)
Discussion started by: jpeery
4 Replies

2. Shell Programming and Scripting

checking file's permissions and change them

Hi all, I am very new to UNIX and Shell scripting, I need to run a script to check for file's and directoires permissions and change the permissions if necessary. I appreciate your help.. Thanks (7 Replies)
Discussion started by: K-ONE
7 Replies

3. UNIX for Dummies Questions & Answers

File handling in UNIX

Hi All, I want to read a file in UNIX line by line. Can u suggest me any command for this? (4 Replies)
Discussion started by: VENC22
4 Replies

4. Shell Programming and Scripting

file permissions

Hi all, My UNIX box is HP UX - 11.11. I have got a basic doubt. What are the global permissions for a file and directory? I set the mask as 111 in my .profile. When I create a new file, it gets created withe -rw-rw-rw- permissions. A directory is created with drw-rw-rw- permissions. So, i... (7 Replies)
Discussion started by: ranj@chn
7 Replies

5. UNIX for Dummies Questions & Answers

permission to bind a socket to port 843?

I have written a flash socket security file server in PHP. The basic idea is that when Flash Player connects via socket to a server, the first thing it does is connect to port 843 and send a request for a 'socket policy file' by sending the string <policy-file-request/>. The problem I have is... (5 Replies)
Discussion started by: sneakyimp
5 Replies

6. Programming

basic socket programming

Hello experts, four machines need to communicate with each other. How can I start the socket programming. Can you please explain me more elaborated way. Thank you for your time and effort in advance (4 Replies)
Discussion started by: radhakuna
4 Replies

7. Shell Programming and Scripting

Command to check the user's permission in UNIX ??

Hi, What is the command to check the user's permission in UNIX ? e.g: user in UNIX is "myuser" The result should be number format. e.g: 755, 644, etc... Thanks.. :) (3 Replies)
Discussion started by: suigion
3 Replies

8. HP-UX

Telnet permission for other then root users in HP-UNIX

Hi please tell me any one how to give telnet permission for other then root users in HP-UNIX :confused: (4 Replies)
Discussion started by: sreedhargouda
4 Replies

9. UNIX for Advanced & Expert Users

How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?

Hi all, We have some files are under 744 permissions and the the owner is say owner1 and group1. Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that. ... (14 Replies)
Discussion started by: TheGunMan
14 Replies

10. What is on Your Mind?

Where did you meet UNIX for a first time?

Simple question , where did you meet UNIX OS-es. I started with linux, and then I have meet Solaris and I am all in Solaris right now , almost a year that I am in UNIX, still reading manuals. (35 Replies)
Discussion started by: solaris_user
35 Replies

11. Solaris

How to force Sendmail to Rewrite Sender Address?

Need to change sender email id from applmgr@<hostname>.<domain-name> to applmgr@domain-name. Understand we can change in the sendmail.cf where $j is the hostname.domain-name.. can anyone show the exact value to change? Thank you. (8 Replies)
Discussion started by: KhawHL
8 Replies

12. Shell Programming and Scripting

Checking directory permissions on UNIX directory

Hi, How do i check if I have read/write/execute rights on a UNIX directory? What I'm doing is checking read access on the files but i also want to check if user has rights on the direcory in whcih these files are present. if then...... And I check if the directory exists by using... (6 Replies)
Discussion started by: chetancrsp18
6 Replies

13. Emergency UNIX and Linux Support

Sendmail issue on NGZ (Solaris)

Hi All, I have Solaris-10 box with 11 sparse root zone. After a upgrade activity and reverted back due to some issues, sendmail is not working on any of the Non Global Zone (NGZ), while it works fine on Global zone root@trans01-zd01:/root# mailx -v my_email_id@xxxx.com Subject: ZD01 . EOT... (4 Replies)
Discussion started by: solaris_1977
4 Replies

14. UNIX for Dummies Questions & Answers

How to set default permission

Hey Guys, First post here. I just started learning UNIX a few weeks ago. My issue: I use FreeNAS which is based off of UNIX in my network environment which hosts files that my team needs to access. Each user has their own login but we are all part of a group called "ITLIC". I have a share... (15 Replies)
Discussion started by: uglycustoomer
15 Replies

15. UNIX for Beginners Questions & Answers

Help with permissions

i am trying to write a simple script to move files from one folder to another and when i try to run the script i get permission errors. I am still new to all of this and permissions still confuse me. Can anyone shed some light? I have attached screenshots of my script in the middle. (which i... (3 Replies)
Discussion started by: kcrist84
3 Replies