Re: Question about qmail-spp : How correctly exit from C++ program for SpamDyke ?
Brought to you by:
pavcio
|
From: Chris C. <cc...@al...> - 2009-02-10 18:53:49
|
Did you modify spamdyke to be a qmail-spp module in smtpplugins or is it installed as suggested at: http://www.spamdyke.org/documentation/INSTALL.txt (ie. called by tcpserver) If installed per the INSTALL.txt then it would seem that qmail-spp, and thus your module, is going to run after spamdyke. Chris On Tue, 10 Feb 2009, ur...@co... wrote: > 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... > > > |