LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-03-2008, 08:22 AM   #1
jstrope
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
Sendmail accepting spammers for local users


I've waged a pretty good battle against spam on our site -- users are now seeing very little spam after previously seeing hundreds per day. However, I'm still having a slight problem with what appears to be zombie senders who are connecting directly to our mail server to send messages to local users. Sendmail is accepting these messages and delivering them to local users even though the sender's ip address is not in the /etc/mail/access file.

Does anyone know how to disable this in sendmail? Is it possible to disable this without affecting normal mail delivery?

Thanks in advance,

-Jeff
 
Old 07-03-2008, 09:25 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
That is normal operation of SMTP if your server accepts mail for andrew@yourdomain, any one on the internet should be able to connect to your machine and deliver mail to andrew@yourdomain how else would you receive mail ?

If the machine in question is not an MX host and is not supposed to accept mail for users then remove the domain name frome /etc/mail/local-host-names
 
Old 07-03-2008, 09:38 AM   #3
jstrope
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
That is normal operation of SMTP if your server accepts mail for andrew@yourdomain, any one on the internet should be able to connect to your machine and deliver mail to andrew@yourdomain how else would you receive mail ?

If the machine in question is not an MX host and is not supposed to accept mail for users then remove the domain name frome /etc/mail/local-host-names
Thanks for the reply. I guess I was hoping for some known trick that could stop this.

Thanks,

-Jeff
 
Old 07-03-2008, 09:59 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You have to run spam checks on the messages to determine if they are spam or not, also if they are zombies they are most likely to come from addresses that should not be sending mail or have been blacklisted for sending spam so use RBL's to filter them out.
 
  


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
Sendmail "Permission denied" for local users kassemi Linux - Software 5 11-14-2013 03:47 AM
Sendmail Not Accepting Mail videoman Linux - Networking 6 06-08-2008 12:20 AM
Sending mail between local users (other than root) fails using sendmail dbradshaw Linux - Server 3 12-29-2007 12:06 AM
Spammers using my sendmail to send thier junk, need help please! cereal83 Linux - Security 14 02-22-2007 04:10 PM
Sendmail question! Forcing FROM lines from local users? Bungo2000 Linux - Networking 5 12-15-2003 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:09 AM.

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