I recently installed dspam 3.9.1 on ubuntu 10 server, with the webui and internal quarantine.
I was having trouble with delivering quarantine messages and looked at the /var/spool/mbox/data/local/doug/doug.mbox and noticed that all null lines where been removed! i checked using: cat knowspammessage | dspam --deliver=innocent --user doug and if the knowspammessage had two \n \n in a row it would remove them, causing no separation of header and body. I tried \n space \n and that fixed the problem for that message. I checked the code for quarantine_message and noticed its using strtok_r I then checked dspam 3.9.0 which is using strsep instead of strtok. man page for strsep says: The strsep() function was introduced as a replacement for strtok(3), since the latter cannot handle empty fields. Well that explains that. I changed quarantine_message function back to the 3.9.0 version and it all working beautifully. thank you dspam team for a good job. I am a bit surprised that no one has had this problem, as 3.9.1 has been out for a while? cheers doug ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user