Fritz Borgstedt wrote:
>> If the whitelist is modified, ASSP seems to delete the 
>> whitelist file (which is in fact a symlink) and creates a new one
>> with 
>> the modified data in it. 
> 
> You are sure this is done by ASSP?
> 
> rebuildspamdb.pl is "repairing" the whitelist in every run.

It's caused by the method the script uses to "repair" it.
It loads the file contents into memory then sorts it and writes it to a 
file with a ".new" extension, the current whitelist file is renamed with 
".old" appended to it and the ".new" file is renamed the the proper 
whitelist filename.

The problem in this case is because he symlinked the file itself so when 
  the script renamed the file the symlink was deleted.

Kevin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to