LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   spamd (https://www.linuxquestions.org/questions/solaris-opensolaris-20/spamd-4175675909/)

qrange 05-26-2020 01:58 AM

spamd
 
I have a problem with /var/log/spamd.
Its getting very large (39Gb).
I've tried:

Code:

mv spamd spamd.old; touch spamd
to create a backup and start fresh, but it just keeps on logging to spamd.old

I've also tried:
svcadm restart cswspamd

pan64 05-26-2020 02:03 AM

you need to restart the syslog daemon (I think). Also would be better to configure logrotate.

qrange 05-26-2020 02:59 AM

ok, I'll try that.
btw, I had found some google page that says 'exim' should be restarted, presumably its 'sendmail' on solaris?


edit: it, worked like you said, after restarting svc:/system/system-log:default
thanks.

pan64 05-26-2020 03:17 AM

you are welcome (if you really want to say thanks just click on yes)


All times are GMT -5. The time now is 03:40 PM.