You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ramon F Herrera <ra...@forcewise.com> on 2019/09/26 16:32:23 UTC
After a long time, implementing SpamAssassin in my Linux server
I very successfully implemented *SpamAssassin* in Linux servers ages
ago. Now, I have to add it as 3rd. (as hopefully last) line of defense.
In my initial attempt I chose the UsedViaProcmail strategy. I copied the
file procmailrc.example and renamed it to .procmailrc
The following seems to be a common problem, BUT could not find a
solution in the FAQs.
Two different .forward files have been used:
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"
and
"|/usr/bin/procmail || exit 75"
I recall that the first line used to work. It seems that I got rid of
the IFS problem but the smrsh problem is still present.
See error messages below.
It is nice to be back.
TIA,
-Ramon F. Herrera
Linux 2.6.32-042stab127.2 x86_64
CentOS release 6.8
sendmail Version 8.14.4
procmail Version 3.22
Re: After a long time, implementing SpamAssassin in my Linux server
Posted by Ramon F Herrera <ra...@forcewise.com>.
That problem is fixed. Found the solution here:
https://www.linuxtopia.org/online_books/linux_system_administration/securing_and_optimizing_linux/chap22sec182.html
I just created a symbolic link to procmail in the directory /etc/smrsh
to /usr/bin/procmail
Will probably be back with more questions.
-Ramon
On 9/26/2019 11:32 AM, Ramon F Herrera wrote:
>
> I very successfully implemented *SpamAssassin* in Linux servers ages
> ago. Now, I have to add it as 3rd. (as hopefully last) line of defense.
>
> In my initial attempt I chose the UsedViaProcmail strategy. I copied
> the file procmailrc.example and renamed it to .procmailrc
>
> The following seems to be a common problem, BUT could not find a
> solution in the FAQs.
>
> Two different .forward files have been used:
>
> "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"
>
> and
>
> "|/usr/bin/procmail || exit 75"
>
> I recall that the first line used to work. It seems that I got rid of
> the IFS problem but the smrsh problem is still present.
>
> See error messages below.
>
> It is nice to be back.
>
> TIA,
>
> -Ramon F. Herrera
>
> Linux 2.6.32-042stab127.2 x86_64
> CentOS release 6.8
> sendmail Version 8.14.4
> procmail Version 3.22
>
>