You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Alexander Stienstra <le...@outlook.com> on 2015/09/26 22:09:36 UTC

command arguments for spamd on FreeBSD

I recently updated SpamAssassin to version 3.4.1 on FreeBSD 8.4-release p36, running Postfix/Dovecot2.
My question is simple, how do I pass command arguments to spamd? (and did this change since 3.3.x?)
I am quite sure that before upgrading the following lines in rc.conf worked correctly to pass flags to spamd:
spamd_enable="YES"spamd_flags="-s local5"spamd_command_args="-d -A [2a03:6000:xxxx::xxx] -u spamd -x -q -r ${pidfile}"
But after the update the line "spamd_command_args" seems to be ignored.

To pass these flags I modified /usr/local/etc/rc.d/sa-spamd:
command_args="-d -r ${pidfile} -u spamd -x -q -A [2a03:6000:xxxx::xxx]"
I do not think this is the correct way, can someone please point me out what I should do different?
Thanks in advance,Alex 		 	   		  

Re: command arguments for spamd on FreeBSD

Posted by jdow <jd...@earthlink.net>.
On 2015-09-26 16:25, Mark Martinec wrote:
>> I recently updated SpamAssassin to version 3.4.1 on FreeBSD
>> 8.4-release p36, running Postfix/Dovecot2.
>> My question is simple, how do I pass command arguments to spamd? (and
>> did this change since 3.3.x?)
>> I am quite sure that before upgrading the following lines in rc.conf
>> worked correctly to pass flags to spamd:
>> spamd_enable="YES"
>> spamd_flags="-s local5"
>> spamd_command_args="-d -A [2a03:6000:xxxx::xxx] -u spamd -x -q -r ${pidfile}"
>> But after the update the line "spamd_command_args" seems to be ignored.
>
> Put all command line options for spamd in spamd_flags.
>
>    Mark
>

Yup, I left that deduction as an exercise for the student.

{^_-}	(Been writing rules since something like 2.1.3something) give or take.)

Re: command arguments for spamd on FreeBSD

Posted by Mark Martinec <Ma...@ijs.si>.
> I recently updated SpamAssassin to version 3.4.1 on FreeBSD
> 8.4-release p36, running Postfix/Dovecot2.
> My question is simple, how do I pass command arguments to spamd? (and
> did this change since 3.3.x?)
> I am quite sure that before upgrading the following lines in rc.conf
> worked correctly to pass flags to spamd:
> spamd_enable="YES"
> spamd_flags="-s local5"
> spamd_command_args="-d -A [2a03:6000:xxxx::xxx] -u spamd -x -q -r 
> ${pidfile}"
> But after the update the line "spamd_command_args" seems to be ignored.

Put all command line options for spamd in spamd_flags.

   Mark