Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

smfi_register(3n) [hpux man page]

smfi_register(3N)														 smfi_register(3N)

NAME
smfi_register() - registers a set of filter callbacks for sendmail SYNOPSIS
PAMAMETERS
descr Specifies a filter descriptor of type describing the filter's functions. DESCRIPTION
The creates a filter using the information given in the smfiDesc argument. must be called before the routine. Multiple calls to the rou- tine within a single process is not allowed. The structure has the following members: A NULL value for any callback function indicates that the filter does not wish to process the given type of information and the filter returns the value. Notes The flags field must contain the bitwise OR of 0 (zero) or more of the following values: This filter adds headers. This filter changes and deletes headers. This filter replaces the body of the message during the filtering process. may have significant performance impact if other filters do body filtering after This filter adds recipients to the message. This filter removes recipients from the message. RETURN VALUE
The routine may return for any of the following reasons: o Memory allocation failure o Incompatible version or illegal flags value AUTHOR
was developed by the Sendmail Inc. SEE ASLO
smfi_main(3N), smfi_setconn(3N), smfi_settimeout(3N), smfi_opensocket(3N), smfi_setbacklog(3N), smfi_setdbg(3N), smfi_stop(3N). on smfi_register(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 Dummies Questions & Answers

sexist filter

Many years ago while I was in college, there was a 'sexist' filter on our 3B2 to change words with sexual content to a more political correct form. eg: 'mailman' to 'postal carrier', 'policeman' to 'police officer' , etc. I believe it was part of the DWB, but I'm not sure. Can anyone point me to a... (5 Replies)
Discussion started by: Quintab
5 Replies

2. Programming

Illegal function call

Hi , i am getting error message "illegal function call" can any body help what are the reasons when can we get this error mesage. Thanx in advance Naren (6 Replies)
Discussion started by: naren_chella
6 Replies

3. Shell Programming and Scripting

filter the string from a file ??

I have a file in which there are strings given below: inode 1138932c(mqsiadm) inode 1257904c(mqsiadm) I want to get the nos. only form these. The o/p should be 1138932 1257904 How to filter this out ?? (11 Replies)
Discussion started by: varungupta
11 Replies

4. Shell Programming and Scripting

how to filter out some paragraphs in a file

Hi, I am trying to filter out those paragraphs that contains 'CONNECT', 'alter system switch logfile'. That means say the input file is : ------------------------------------------------------- Wed Jun 7 00:32:31 2006 ACTION : 'CONNECT' CLIENT USER: prdadm CLIENT TERMINAL: Wed Jun 7... (7 Replies)
Discussion started by: cnlhap
7 Replies

5. UNIX for Dummies Questions & Answers

How to filter data

Hi all, I require assistance in this. I'd like to filter the following data to extract WADRAIN. RAIN, 2003-01-01 00:00, 1, WADRAIN, 900, 1, 24109, 1011, 1.6, 0, 6, RAIN, 2003-01-01 00:00, 1, DLY3208, 900, 1, 30747, 1011, 1.8, 0, 6, RAIN, 2003-01-01 00:00, 1, WADRAIN, 900, 1, 24775,... (6 Replies)
Discussion started by: Muhammad Rahiz
6 Replies

6. Shell Programming and Scripting

filter record from a file reading another file

Hi, I want to filter record from a file if the records in the second column matches the data in another file. I tried the below awk command but it filters the records in the filter file. I want the opposite, to include only the records in the filter file. I tried this: awk -F'|'... (8 Replies)
Discussion started by: gpaulose
8 Replies

7. Shell Programming and Scripting

Gawk filter

People, Ive been trying to make a script but i just cant figure it out. Problem/ Case: I have a logfile.txt that contains data. The only two things i need to filter on = $1 (date), $6 (errorcode). In the script i am trying to make, u need to fill in a date. So he searches on that date... (11 Replies)
Discussion started by: Pow3R
11 Replies

8. Shell Programming and Scripting

How to filter

Hi I have a file containing the below lines 1010001001639 1010001001789 1020001001927 1030001001928 1040001002033 1200001002609 1200001003481 1200001004935 I need to filter lines that starts with 101. It would be of great help if its in awk. (6 Replies)
Discussion started by: Naga06
6 Replies

9. Shell Programming and Scripting

filtering a numeric value which has '%' using awk

Hello Gurus, I have a requirement where I have to filter a value from some field which has 99% or greater than '99%'.. For ex: The Date (file -- sample.csv) will be like below Field1,Field2,Field3,Field4 860440512,844284992,16155520,99% 860440512,844284992,16155520,94%... (4 Replies)
Discussion started by: raghu.iv85
4 Replies

10. Shell Programming and Scripting

How to filter out data file...?

Hi... I would like to filter out my data file....in two different way 1st way is like this, I will take one example..here... The script should ask like this. Enter min value in first column Enter max value in first column Enter min value in second column Enter max value in... (5 Replies)
Discussion started by: nex_asp
5 Replies

11. Shell Programming and Scripting

How to filter date input in awk?

Hi, I've no problems filtering text in awk but whenever I try to filter date format such as 03022013, I couldn't get awk to filter the item out. Any tips? (8 Replies)
Discussion started by: commonwealth
8 Replies

12. Shell Programming and Scripting

Find patterns and filter the text

I need to filter the text in between two patterns and output that to a different file. Please help me how to do it. Ex: ............. <some random text> ............. Pattern_1 <Few lines that need to be output to different file> Pattern_2 ................ ............... <more text in... (4 Replies)
Discussion started by: metturr
4 Replies

13. Shell Programming and Scripting

Need to filter data based on sysdate

I have a file from which I need to filter out certain lines when field 17 is less than sysdate. The file has date in YYYYMMDD HH:MI:SS format. Sample file is as below: PRUM,67016800 ,CC ,C1,67016800 ,00,Y,Y,2 ,US,BX,BOX ... (5 Replies)
Discussion started by: mady135
5 Replies

14. Shell Programming and Scripting

Cancel process running for more than 5 days

Hello Group, We want to create a script in order to filter process in the system with more than five days (STIME) and then kill them under Solaris 10. How can we filter these kind of process ? ps -efa Thanks in advance for your help (4 Replies)
Discussion started by: csierra
4 Replies

15. Shell Programming and Scripting

System V printing filter

First, please excuse my apparent lack of attempt as this is NOT the case. I have attempted to research this for hours and realize I am way out of my league. I am not a programmer, especially in Unix. I have an old Alpha Unix system with a program that prints to a network printer using the LPR... (4 Replies)
Discussion started by: Ken_Snauffer
4 Replies