On 29/08/2012 10:34, Tom Hendrikx wrote :

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.
Hello Tom,

I've already tried without any arguments getting the exact same result.
The SQL script has all those parameters hardcoded and dspam_maintenance is using awk and sed to modify it according to command-line OR dspam.conf parameters (in fact this is my understanding). The result is then copied to /tmp before being run. Problem is not parameters related, it's that during the above process the original ASCII SQL script becomes an UTF8 file with a BOM which of course isn't appreciated by pgsql. Unfortunately I'm not very comfortable with awk so I'll give this bash script a closer look as soon as I'll have more time.

Regards

Christophe Garault


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
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