LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2003, 11:24 PM   #1
vk1985
LQ Newbie
 
Registered: Mar 2003
Posts: 11

Rep: Reputation: 0
Rejecting Spam Emails


Hi,

I'm running a Linux mail server and would like to stop spam emails from reaching the mail clients.

My topology looks like this:
Client network <-> Mail Server <-> Internet

On the mail server I modified /etc/mail/access
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
mydomain.com RELAY
mail.mydomain.com RELAY
192.168.1 RELAY
unwanted@domain.com REJECT

and then executed the following:
makemap hash /etc/mail/access.db < /etc/mail/access

However, Clients still receive email from unwanted@domain.com.

Could someone please tell me what the problem is or how I can stop emails from unwanted@domain.com to reach the Clients.

Thanks in advance.
 
Old 04-11-2003, 01:35 AM   #2
RCampbell5
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Rep: Reputation: 0
Do you have the corresponding entries in sendmail.cf? Did you restart the sendmail process?
 
Old 04-11-2003, 01:51 AM   #3
vk1985
LQ Newbie
 
Registered: Mar 2003
Posts: 11

Original Poster
Rep: Reputation: 0
I do have the corresponding process in sendmail.cf as follows:

# Access list database (for spam stomping)
Kaccess hash -T<TMPF> -o /etc/mail/access.db

I have also restarted sendmail.
 
Old 04-11-2003, 04:36 AM   #4
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
you can try setting up spamassassin.

read about it and get it here
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert html emails to plain text emails andredude Linux - General 6 03-20-2005 12:33 PM
procmail and spam -- do not send out of office auto replay to spam draix Linux - Software 0 12-30-2004 08:35 AM
My server is rejecting all ports The_Nerd Linux - Networking 6 09-20-2004 06:41 PM
Sendmail is rejecting some mail member57 Linux - Networking 2 04-20-2004 11:18 AM
What other anti-spam for Linux that can be used, other than Spam assassin? johnportiz Linux - Software 6 01-27-2004 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration