On 12/14/20 7:27 PM, AJ Weber wrote:
> 
>> if you are using RH based Linux distros, just put the attached configuration 
>> file under /etc/mail/spamassassin/channels.d/
> 
> Apologies for the naive question;  I'm running CentOS 7, SA 3.4.3.  I don't 
> have that channels.d directory by default.  I've been running a more 
> traditional cron update:
> 
> 9 3 * * * /usr/local/bin/sa-update --gpgkey 6C6191E3 --channel 
> updates.spamassassin.org && /etc/init.d/spamassassin restart
> 
> Can I simplify by putting a conf file for the default updates and the KAM 
> updates config into that location, then just run "sa-update && spamassassin 
> restart" in cron?
> 
The channels.d directory is handled by /usr/share/spamassassin/sa-update.cron 
which is distributed with official RH-based RPM files and executed by 
/etc/cron.d/sa-update.
Stock sa-update doesn't know how to handle channels.d directories.

 Giovanni

Reply via email to