I am running Opensmtpd on FreeBSD 12.1 and it is working well.
However, I had to comment out these two lines from my smtpd.conf:
... because smtpd would start, but then immediately exit upon processing the first piece of mail. Two pages of golang faults.
I have two initial questions here ...
First, do those two config lines, where I explicitly call the full path of the filter, look correct ?
Second, if rspamd is running as a persistent daemon from /etc/rc.conf:
... and I see it in the process list:
why am I *also* calling it to fire off on every piece of mail in smtpd.conf? Is it correct to run it as a daemon *and also* call it per-email in smtpd.conf:
Thanks.
However, I had to comment out these two lines from my smtpd.conf:
Code:
filter senderscore proc-exec "/usr/local/libexec/opensmtpd/opensmtpd-filter-senderscore -blockBelow 10 -junkBelow 70 -slowFactor 5000"
filter rspamd proc-exec "/usr/local/libexec/opensmtpd/opensmtpd-filter-rspamd"
... because smtpd would start, but then immediately exit upon processing the first piece of mail. Two pages of golang faults.
I have two initial questions here ...
First, do those two config lines, where I explicitly call the full path of the filter, look correct ?
Second, if rspamd is running as a persistent daemon from /etc/rc.conf:
Code:
rspamd_enable="YES"
... and I see it in the process list:
Code:
rspamd 76654 0.0 0.1 88660 49388 - SsJ Thu23 0:06.25 rspamd: main process (rspamd-2.4)
rspamd 78433 0.0 0.1 88660 49396 - SJ Thu23 0:01.97 rspamd: rspamd_proxy process (localhost:11332) (rspamd-2.4)
rspamd 78868 0.0 0.1 85836 48228 - SJ Thu23 0:27.14 rspamd: controller process (localhost:11334) (rspamd-2.4)
rspamd 80464 0.0 0.1 88688 49428 - SJ Thu23 0:20.26 rspamd: normal process (localhost:11333) (rspamd-2.4)
rspamd 80918 0.0 0.1 88688 49428 - SJ Thu23 0:20.21 rspamd: normal process (localhost:11333) (rspamd-2.4)
rspamd 81154 0.0 0.1 88688 49428 - SJ Thu23 0:20.26 rspamd: normal process (localhost:11333) (rspamd-2.4)
rspamd 81944 0.0 0.1 88688 49428 - SJ Thu23 0:20.20 rspamd: normal process (localhost:11333) (rspamd-2.4)
why am I *also* calling it to fire off on every piece of mail in smtpd.conf? Is it correct to run it as a daemon *and also* call it per-email in smtpd.conf:
Code:
filter rspamd proc-exec "/usr/local/libexec/opensmtpd/opensmtpd-filter-rspamd"
Thanks.