Re: Rejecting spam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Glenn wrote:
At 02:35 PM 3/4/2008, you wrote:

Sorry, not a direct CentOS question, but I know there's a lot of experienced users on this list...I'm using CentOS with sendmail and spamassassin. I've got it configured with spamass-milter and it is working correctly. However, I was expecting to be able to reject mail that is marked as spam, not just deliver it as usual. Anyone know if it can be done and how? I know a milter can reject mail, because I've used milter-grelist in the past to give temporary fail messages.

Following is my sendmail.m4 directive for spamass-milter:

INPUT_MAIL_FILTER(`spamassassin', `S=unix:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl

Not sure, but I think you could use procmail to filter to a junk folder based upon parsing the SpamAssassin score. Also, you can block based on RBL in sendmail , or score in spamassassin.

That's exactly what I don't want to do. I don't want the mail being delivered to my system. That's why I'm using the milter. However the milter is doing the exact same thing as delivering it when it is marked as spam. That's what I am hoping to get some help with.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux