:: Re: [DNG] spamd setup
Kezdőlap
Delete this message
Reply to this message
Szerző: Adrian Zaugg
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] spamd setup
Check out the official exim documentation as a starting point:

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html
-> 3. Calling SpamAssassin from an Exim ACL

Do it in an ACL allows you to reject a mail during the reception-process for
certain spams. Since you need the mail body for this, this goes into
acl_check_data.

For blacklisting, I use greylist add --black as a condition in the same ACL.
This is a little tricky with SRS and such.

Regards, Adrian.


In der Nachricht vom Friday, 11 July 2025 16:35:04 CEST schrieb Haines Brown
via Dng:
> I'm floundering trying to set up blacklisting in spamassassin. My
> old directions no longer work. I have no DE, so I am not helped
> by directions to use cPanel. I'm running daedalus. Spamassassin
> and spamd are both installed. I am in the debian-spamd group. I
> use exim4, but not postfix.
>
> # spamassassin -V
> SpamAssassin version 4.0.1
> running on Perl version 5.36.0
>
>   # netstat -tap | grep spamd
>   tcp     0   0 localhost:spamd   0.0.0.0:*  LISTEN   5019/spamd
>   cp6    0   0 localhost:spamd   [::]:*     LISTEN   5019/spamd

>
> I have trouble starting spamassassin:
>
> # service spamassassin restart
> unrecognized service
>
> # /etc/init.d/spamassassin restart
> -bash: /etc/init.d/spamassassin: No such file or directory
>
> # service /etc/init.d/spamd restart
> /etc/init.d/spamd: unrecognized service
>
> # update-rc.d spamassassin enable
> update-rc.d: error: cannot find a LSB script for spamassassin
>
> I cannot access the spamassassin config file:
>
> # nano /etc/spamassassin/local.cf
> -bash: /etc/spamassassin/local.cf: Permission denied
> This file is -rw-r--r--
>
> For blacklisting I used to put a user_prefs file in
> ~/.spamassassin



--

Petition der Digitalen Gesellschaft gegen einen Überwachungsstaat:
https://act.campax.org/petitions/demokratie-statt-uberwachungsstaat

Bitte unterschreiben!