Operating System - Linux
1829596 Members
1788 Online
109992 Solutions
New Discussion

Re: subject line blocking

 
manish_27
Occasional Contributor

subject line blocking

I have installed Redhat 9.0 with sendmail on one of my server. It seems to be working fine.

I would like to block a mail with a specific subject line"hi" . Could anyone help me with a detailed idea.

Thanks in advance
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: subject line blocking

I believe spamassassin can accomplish the task.

I would get the package from yum, but here is a link anyway.

ftp://rpmfind.net/linux/redhat/9/en/os/i386/SRPMS/spamassassin-2.44-11.8.x.src.rpm

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gopi Sekar
Honored Contributor

Re: subject line blocking

Spamassasin would be a right candidate for this.

Following link provides step by step guide for spamassassin installation and configuration

http://www.stearns.org/doc/spamassassin-setup.current.html

one more link:
http://spamassassin.apache.org/doc.html
Never Never Never Giveup
Laurent Laperrousaz
Regular Advisor

Re: subject line blocking

You can also use procmail as a tool to filter junk mail

see man procmail
renarios
Trusted Contributor

Re: subject line blocking

Hi manish,

I use spamcop:
Add the following line to your config.m4
FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl
Or for later versions:
FEATURE(`enhdnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}', `t')dnl
Re-compile your sendmail.cf from the config.m4
Re-start sendmail

Cheerio,

Renarios
Nothing is more successfull as failure