Question about qmail-spp : How correctly exit from C++ program for SpamDyke ?
Brought to you by:
pavcio
|
From: <ur...@co...> - 2009-02-09 23:43:11
|
Good day !
How correctly exit from C++ program for SpamDyke ?
Excuse me, please, for my bad English.
Excuse me for use your time too.
My name is Yuri Prohorov. I'm from Moscow, Russia.
My C++ program worked good "under" qmail-spp for 1 year.
The program runs from [rcpt] section of file smtpplugins.
The program "gets" mail-address and power it
by templates from LDAP for some user.
The program do nothing, if some user not have
"sign" in LDAP or LDAP not have a record for such user.
I "attach" source of program if IT MAY BE INTERESTING FOR YOU,
or IT NEEDS FOR ANSWER to me .
I DON'T ASC to see that text for errors.
Spamdyke was installed on our mail server week ago.
If my program not stops "bad" letters,
then Spamdyke not stops "bad" letters too.
Spamdyke stops "bad" letters when my program "turn off".
Why ?
I download sample for "good exit" :
////////////////////
...............
...............
if ( condition )
{
puts("N"); // For next process ? For SpamDyke ?
}
return 0;
}
......................
......................
////////////////////////
I replaced this into my program, but nothing changed...
How exit from my program correctly ?
How give control to SpamDyke after
my program's work ?
Will answer me, please !
Thank You !
Yuri Prohorov co...@ma...
|