On 15.11.2011 00:16, John Kenyon wrote: >> Subject: Re: [Dspam-user] Dspam notifications with Simscan >> >>> Simscan 1.4.0 calls dspam with --stdout >>> >>> Using --stdout with dspam means that messages are delivered using a >>> file stream (--stdout) instead of using Trusted/Untrusted delivery agents. >>> >>> Has anyone written a patch to work around this issue with simscan? >> >> For anyone that's interested... I found a patch which resolves this issue for >> version 3.6.8. >> >> I have tested and attached a patch that will apply cleanly for DSpam version >> 3.10.1. >> It makes changes to file dspam.c, in functions do_notifications() and >> send_notice(). >> >> Cheers, >> >> JLK >> >> >> Original patch by Steven Chan, details can be found here: >> http://osdir.com/ml/mail.spam.dspam.devel/2007-01/msg00007.html > > Hi All, Hello,
> Found a bug with this patch. > > When firstrun.txt is called, the first message is not delivered separately, > it is appended to the bottom of the firstrun email. this is pretty normal since delivery is done directly to stdout and there is no way to separate the message and notification from each other. Would that be a delivery with SMTP/LMTP then you could send the message and notification in the same session but delivery to stdout does not know anything about how to separate multiple mails. > If anyone has a patch to fix this please post, I don't have the time at the > moment to look into this further. There is/was a good reason that notifications where not enabled in stdout mode. I see 2 possibilities: 1) revert back to the original state (no notification during stdout delivery) 2) allow notification delivery to use own delivery agent (even if stdout delivery is used. Should be something like SMTP/LMTP) Another possibility could be that you find some character or sequence of characters that would trigger a new message in your simscan. Then you could add that character or sequence as first line in firstrun.txt and instruct simscan to create a new mail when it spots that sequence. > Cheers, JLK > > -- Kind Regards from Switzerland, Stevan Bajić ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user