I am "learning" how to use the DDK for the mail server and did some fiddling around, developed a "all events" dll, and ran into an issue... I have successfully written the dll that loads and registers properly, but i cannot figure out (beyond log "event occurred") how to figure out which event actual occurred. does anyone have a "list" of (all) events that i'm seeing happen in my system messages window -and/or- an example (just the event handler) on how to "display" in the system messages window which event has occurred so i can filter out which ones i'm really interested in? Ultimately, i am trying to find the event(s) that happen just before it gets handed off to be processed (after spamhalter, clamwall, graywall, AND content control) so i can modify the emails "body" -or- "subject" to indicate i.e. it was flagged as spam, or for deletion (which i have setup and working now, i just want to "do" something with the email after all these checks and headers have been added/done)... i will be happy sharing my end result, because mercury does a fine job of indicating possible spam, i just want to carry it a bit further. right now i just send suspected spam to two accounts; "spam" & "delete these" (to assure nothing slips). did you guess i'm dealing with spam? i'm effectively moving around the suspects pretty good right now, i just want to venture into mercury's events (all of them) and push everything a bit further.
Ok, now i'm REALLY stumped... I tried to create a "new" window for my events daemon in the main console window, and i played with the example in the developers guide quite a bit, and... i can't get the code to compile, keeps saying that the "MCONSOLE" hasn't been defined... help?
I've been trying to find any examples of daemon scripts on the internet now for a couple days to no avail... if anyone can point me to some examples, i probably can figure out alot of what i'm trying to do on my own. All but (of course) the event messages i'm trying to figure out anyhow.
<p>I am "learning" how to use the DDK for the mail server and did some fiddling around, developed a "all events" dll, and ran into an issue... I have successfully written the dll that loads and registers properly, but i cannot figure out (beyond log &nbsp;"event occurred") how to figure out which event actual occurred. does anyone have a "list" of (all) events that i'm seeing happen in my system messages window -and/or- an example (just the event handler) on how to "display" in the system messages window which event has occurred so i can filter out which ones i'm really interested in? Ultimately, i am trying to find the event(s) that happen just before it gets handed off to be processed (after spamhalter, clamwall, graywall, AND content control) so i can modify the emails "body" -or- "subject" to indicate i.e. it was flagged as spam, or for deletion (which i have setup and working now, i just want to "do" something with the email after all these checks and headers have been added/done)... i will be happy sharing my end result, because mercury does a fine job of indicating possible spam, i just want to carry it a bit further. right now i just send suspected spam to two accounts; "spam" &amp; "delete these" (to assure nothing slips). did you guess i'm dealing with spam? i'm effectively moving around the suspects pretty good right now, i just want to venture into mercury's events (all of them) and push everything a bit further.</p><p>Ok, now i'm REALLY stumped... I tried to create a "new" window for my events daemon in the main console window, and i played with the example in the developers guide quite a bit, and... i can't get &nbsp;the code to compile, keeps saying that the "MCONSOLE" hasn't been defined... help?</p><p>I've been trying to find any examples of daemon scripts on the internet now for a couple days to no avail... if anyone can point me to some examples, i probably can figure out alot of what i'm trying to do on my own. All but (of course) the event messages i'm trying to figure out anyhow.&nbsp;</p>