You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mididoc Productions <ma...@mididoc.com> on 2006/07/11 23:29:55 UTC

blacklist

Hello,

my name is mike roland.
i'm not a unix expert.

we have a vps server with for virtual host domains.
everything is working fine so far:
the webs are accessible the mails can be sent and received.

but we want to install a blacklist to refuse emails from certain
email-addresses for the whole server, say one list for the whole server.

so we proceeded like in the spamassassin manual and edited the file:
/usr/local/etc/mail/spamassassin/local.cf

we inserted a blacklist entry: blacklist_from example@domain

we have also rebooted the server, but it is not working.
emails from the address: example@domain are stil beeing received.

could anybody please help us setting the blacklist?

thank you

best regards

mike roland


Re: blacklist

Posted by Matt Kettler <mk...@comcast.net>.
Mididoc Productions wrote:
> Hello,
>
> my name is mike roland.
> i'm not a unix expert.
>
> we have a vps server with for virtual host domains.
> everything is working fine so far:
> the webs are accessible the mails can be sent and received.
>
> but we want to install a blacklist to refuse emails from certain
> email-addresses for the whole server, say one list for the whole server.
>
> so we proceeded like in the spamassassin manual and edited the file:
> /usr/local/etc/mail/spamassassin/local.cf
>   

First, is that the right directory? Run spamassassin --lint -D and see
what SA claims to be using for the "site rules" directory. You need your
local.cf to be in that directory.
> we inserted a blacklist entry: blacklist_from example@domain
>
> we have also rebooted the server, but it is not working.
> emails from the address: example@domain are stil beeing received.
>
> could anybody please help us setting the blacklist?
>   

First, let's clarify.. Are the messages being received with a spam tag,
or are they not even tagged as spam?

Are you trying to avoid receiving the messages (ie: not accept them to
the mailserver at all), or are you trying to force them to be tagged as
spam (which may result in being auto-deleted by a mailbox tool of some
sort, or may just cause the tag)?

Generally speaking, unless you're using a milter or other MTA layer
configuration spamassassin will NOT stop the message from being
received. Your typical procmail call method happens after the mail has
been accepted by the server. At that point, all SA can do is tag the
message. From there, other tools can delete, or whatever, based on SA's
tagging.

In general, things which actually alter message delivery are handled by
the tool that calls SA, not SA itself. SA has no control over the mail
queue, so it can't delete mail. However, many tools that call SA can
take such actions based on what SA reports.

Do you know what tool you're using to call SA?




Re: blacklist

Posted by hansje2000 <ke...@xs4all.nl>.
Did you try it also in the in the user_prefs file?

Whate kind of instal did you made sitewide or per user?


-- 
View this message in context: http://www.nabble.com/blacklist-tf1927346.html#a5279182
Sent from the SpamAssassin - Users forum at Nabble.com.