Hi,
even though I also use postfix+dovecot+pigeonhole, I have to install the following combination in a freshly installed FreeBSD 13,
which has been running stably on another server for a long time:
Sendmail+SASL2 with procmail and Spamassassin (spamd).
That system works with real system users and virtusertable
Procmail is used to evaluate the spam headers of a mail set by Spamassassin and to store the spam mail directly in a spam folder on the server side if necessary.
My problem is that I don't remember exactly how I installed and integrated the above combination at that time (several years ago).
Especially I can't find the place where it is specified that incoming EMails are first checked and tagged by spamd before they reach procmail.
procmail is called with the .forward file of the user directory for me
.forward
"|exec /usr/local/bin/procmail"
But obviously it would be possible to integrate procmail with following line in sendmail.mc too instead of using the .forward-method:
FEATURE(`local_procmail')dnl
Additional Processes:
/usr/local/bin/spamd -c -Q -d -r /var/run/spamd/spamd.pid
saslauthd -a pam
sendmail: accepting connections (sendmail)
Can someone tell me how/where to start to integrate spamd?
Thanks in advance and kind regards
sidney2017
even though I also use postfix+dovecot+pigeonhole, I have to install the following combination in a freshly installed FreeBSD 13,
which has been running stably on another server for a long time:
Sendmail+SASL2 with procmail and Spamassassin (spamd).
That system works with real system users and virtusertable
Procmail is used to evaluate the spam headers of a mail set by Spamassassin and to store the spam mail directly in a spam folder on the server side if necessary.
My problem is that I don't remember exactly how I installed and integrated the above combination at that time (several years ago).
Especially I can't find the place where it is specified that incoming EMails are first checked and tagged by spamd before they reach procmail.
procmail is called with the .forward file of the user directory for me
.forward
"|exec /usr/local/bin/procmail"
But obviously it would be possible to integrate procmail with following line in sendmail.mc too instead of using the .forward-method:
FEATURE(`local_procmail')dnl
Additional Processes:
/usr/local/bin/spamd -c -Q -d -r /var/run/spamd/spamd.pid
saslauthd -a pam
sendmail: accepting connections (sendmail)
Can someone tell me how/where to start to integrate spamd?
Thanks in advance and kind regards
sidney2017