1819501 Members
3530 Online
109603 Solutions
New Discussion юеВ

Block Spoof mail

 
SOLVED
Go to solution
Leovino A. Trinidad, Jr
Frequent Advisor

Block Spoof mail

Hi!

How do you block spoof mails? I've read that is by using mail domain reverse lookup but how can I do that?

Regards,

LAT
6 REPLIES 6
Joel McClung_1
New Member

Re: Block Spoof mail

I use SpamAssassin (http://www.spamassassin.org/) on my home network and I've been quite pleased. I get almost 200 spams a day, and SpamAssassin does an excellent job of marking them.

Spamassassin puts extra headers in the email message that mark it as spam or not, and your email-reading program can decide what to do with the ones that are marked as spam.

In my case, I use pine to read email, so for the first few weeks, I arranged for pine to move the messages to a "SPAM" folder so I could make sure I had everything set up properly.

Now, I just let pine delete them.

Joel
Fred Ruffet
Honored Contributor

Re: Block Spoof mail

Have a look at this thread :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=450771
It's in the HP-UX forums, but it's all about sendmail.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Steven E. Protter
Exalted Contributor
Solution

Re: Block Spoof mail

This thread says how to do it.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=450771

The problem is, nobody I know besides aol has it working.

So, give it a shot and i'll try it at the same time and help you get it done.

Don't worry that its an hpux thread. sendmail is sendmail is sendmail.

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
Steven E. Protter
Exalted Contributor

Re: Block Spoof mail

oops. didn't read Fred's post carefully.

:-)

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
Leovino A. Trinidad, Jr
Frequent Advisor

Re: Block Spoof mail

Thanks for that helpful info. I tested it and it worked.

Another problem of mine is, how can I block a mail that comes from a valid domain but uses an invalid user address (no such account in the mail server)?

For the sake of others, to make the steps more clear about doing HACK(require_rdns) do the ff.(I found this on the net):

1) create a file named "/usr/share/sendmail-cf/hack/require_rdns.m4"
whose contents are listed at:
<>

2) put a line in the sendmail.mc

HACK(require_rdns)dnl

3) build a new sendmail.cf (based on my locations of files)

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

4) restart sendmail and enjoy a whole new world of rejected mail from
spammers and mail from poorly configured dns.

5) wait to see if there are any false positives.
Steven E. Protter
Exalted Contributor

Re: Block Spoof mail

Something wrong with the link

http://www.cs.niu.edu/~rickert/cf/hack/require_rdns.m4

Thanks for documenting the whole process.

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