I can't disable cron and mail logs

I wrote in rc.conf
cron_log="NO"
sendmail_enable="NO"
But the cron and mail logs are still huge and completely unnecessary.
 
But the rinetd logs aren't showing up, even though I've specified the following in /usr/local/etc/rinetd.conf:
logfile /var/log/rinetd.log

More precisely, they appear only after a complete reboot of the system, but they are past ones, and to view the current logs you need to reboot the system again.
 
sendmail_enable="NONE"
 
I wrote in rc.conf
cron_log="NO"
sendmail_enable="NO"
But the cron and mail logs are still huge and completely unnecessary.
Are you using sendmail compiled from ports?
In my experience, to reliably disable the default sendmail, you need to say the following:
Code:
sendmail_enable="NO"            # Run the sendmail inbound daemon (YES/NO).
sendmail_submit_enable="NO"     # Start a localhost-only MTA for mail submission
sendmail_outbound_enable="NO"   # Dequeue stuck mail (YES/NO).
sendmail_msp_queue_enable="NO"  # Dequeue stuck clientmqueue mail (YES/NO).
 
Back
Top