On 8/28/12 6:41 PM, Christophe Garault wrote:
> Ok, I suspected it but had no clue on how a text file (purge-pe.sql)
> could suddenly become an UTF8 file with it's associated BOM.
> So I slightly modified dspam_maintenance to have a chance to see what
> was exactly running, and then bingo:
> 
>    console1 # /usr/bin/dspam_maintenance --with-sql-autoupdate
>    --with-sql-optimization
>    console2 # file /tmp/.ds_758_1809
>    /tmp/.ds_758_1809: UTF-8 Unicode (with BOM) text
> 
> 
> I suspect sed or awk to be responsible for this on my system but can't
> reproduce it on my command line.

What happens if you run dspam_maintenance without arguments? If I
understand the --help output, you'll also have to pass some other args
(f.i. --signatures=n) to actually make use of --with-sql-autoupdate.

--
Tom


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to