Bug #3285
closedspamd.log corrupt/truncated
0%
Description
noticed log became truncated or corrupt after a period of time (40 to 90 entries, depending upon entry length)
perhaps partially because the file length seems to be different than the rest of the log files
<all-others>.log 512144 bytes
spamd.log 10240 bytes
tried manually creating a larger log for spamd, but it reverted to 10240 upon restarting clog.
Updated by Pi Ba almost 11 years ago
For a 'quick fix' you can apply this patch with patches package:
https://github.com/PiBa-NL/pfsense/commit/9eac9814a0cb6cf65d69fc47d77734cbd5ab52e4
(or just modify system.inc manually with a values you like)
Reinstall spamd and it will start using a larger log file.
Also it seems a even better method with user configurable size has been introduced in master branch for pfSense 2.2.
https://github.com/pfsense/pfsense/commit/c7a3356e6bfb67b1b617eaeddd5983ddae901759
So it seems the issue will be fixed when pfSense 2.2 release becomes available.