Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page Why is it so hard to stop email spam?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-21-2006   #1 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 93
Why is it so hard to stop email spam?

In any email client I use, be it Thunderbird, Outlook or any others I have met so far, I have the option to enter my own email address as anything I like. I have played tricks on my Dad by sending him emails from George W Bush with email georgewbush@the-whitehouse.com, saying all kinds of things (not harsh though). Not being completely tech savvy, the first time I did it he believed me.

Anyway, the spam emails that regularly bypass my spam filters are usually the same ones, but the email addresses are completely different. This suggests to me that the spammers have random name / email generators that just bang away all day with different combos to try and bypass spam filters like mine.

My question is, why dont the ISPs check the email address against those registered to your username, and block the ones that aren't registered? If my email is jdoe@myisp.com the server should simply not allow any traffic with another address attached. It seems quite easy to do and once an email address is blocked for originating spam, the spammers would have to go and register a new email address instead of just making up a new randomised one. I'm assuming since it's quite easy to think of, and I'm no genius, that there is a reason this wouldn't work.
__________________
Registered Linux user #436027
Opensuse11 | Asus M2N32 SLI Deluxe | AMD 4600+ 64 Dual Core | 2 x 1GB Kingston DDR2 667 | ATI Radeon X1900XT (Sapphire)
500GB WD SATAII | Sound Blaster Audigy Player | 3Com 10/100 | Viewsonic VP930 19" TFT
khinch is offline   Reply With Quote
Old 11-22-2006   #2 (permalink)
Linux Enthusiast
 
carlosponti's Avatar
 
Join Date: Dec 2004
Location: Oklahoma
Posts: 556
Send a message via AIM to carlosponti Send a message via MSN to carlosponti Send a message via Yahoo to carlosponti
there really is not a way to tell what a registered email is. you would have to require every isp and individual that has an smtp server to setup a registry to check for emails but then the spammers could set one up and we would be back where we started.
__________________
Blog
Registered Linux user 396557
carlosponti is offline   Reply With Quote
Old 11-22-2006   #3 (permalink)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,567
I have a good method for handling spam:

- I run my own mailserver, whith real time black hole support - which stops mail by checking the senders IP against known internet blacklists.

- I have at least two email addresses at any time; my normal email address used by my mates, family, etc. and one that I use when signing up for stuff online. When the one that I use for signing up for stuff gets out of hand, I turn it off, mail gets bounced, and a few months later, that email address has automatically been removed from virtually every spam email system in the galaxy, so I can use it again.

- I dont use spam assassin, but I dont need to at the moment. I have considered it, and I might use it one day.

- On the unusual occasions that I get spam these days, I throw it at spamcop.net, where it automatically gets scanned and the IP ends up on real time black hole lists.

Over the last week I've had zero spam. I am beginning to wonder about the large amount of email that I've opted into, stuff from Tescos, ebay, RedHat, Nectar, etc., all filling up my inbox with stuff I dont have time to read.
__________________
Linux user #126863 - see http://counter.li.org/
Roxoff is offline   Reply With Quote
Old 11-22-2006   #4 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 93
When I say registered I don't mean globally, I mean locally with the email provider. Following is an example, in which I'm not patronising anyone (because I don't know enough to patronise), I'm just trying to put across the model in my head:

Joe Bloggs goes to BT and says "I'd like an email address please." BT says OK, your email address is jbloggs@btinternet.com. Your username is "jbloggs", your password is "ABC123" and your incoming and outgoing mail servers are mail.btinternet.com and smtp.btinternet.com.

So now the login name "jbloggs" is associated with the email address "jbloggs@btinternet.com" and if anyone sends mail to that address, it will arrive in the inbox of whomever logs into the server under "jbloggs". That must mean that there is an association between the two, or his emails would never reach him.

So when Joe goes to send an email the server checks his username against his password, but why doesn't it also check his username against his associated email address? Some providers offer multiple pop accounts, in which case there would be a list of associated addresses, but any not on that list would be rejected.

The SPAMCOP service already blocks multiple email servers, well if all (or most) email providers jumped on board, all SPAMCOP would have to do is block the offending email addresses, which would HAVE to be real ones and not made up.

The reason spam has started annoying me more than ever recently, is because many completely legitimate emails from myself to colleagues and friends have been rejected by Hotmail, NTL and Telewest, apparently because SPAMCOP has blacklisted my mail provider due to excessive spam originating from it (and NO! it wasn't me btw )

I could just move to another email provider, but I payed for two years of service and still have one to go. They claim they are working on the problem, but it seems to me like there is a fairly simple way to validate all email's origins with a simple piece of code on all email servers.

Apologies for epic post, but I hate spam!
__________________
Registered Linux user #436027
Opensuse11 | Asus M2N32 SLI Deluxe | AMD 4600+ 64 Dual Core | 2 x 1GB Kingston DDR2 667 | ATI Radeon X1900XT (Sapphire)
500GB WD SATAII | Sound Blaster Audigy Player | 3Com 10/100 | Viewsonic VP930 19" TFT
khinch is offline   Reply With Quote
Old 11-22-2006   #5 (permalink)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,567
The trouble is, there really isn't a way to validate the senders email address. My sendmail config does a reverse-lookup on the sender IP to make sure the senders address matches the point they're sending from. But that check is a mail receipt check, not a check made by a sending server. Even if btinternet, yahoo, etc., were to check the senders credentials, it would still be possible for someone else to just blindly put your return address in their 'Return-Path:...' email field and send it through a different mail server.
__________________
Linux user #126863 - see http://counter.li.org/
Roxoff is offline   Reply With Quote
Old 11-22-2006   #6 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 93
Quote:
Originally Posted by Roxoff
which stops mail by checking the senders IP against known internet blacklists.
That seems to be the cause of my problems....

From Domain Direct's Nework Status Page:

Quote:
Email Accounts: DEGRADED
Date Posted: September 22th 2006 Time: 1:15pm EST

Description: Currently a number of our Outgoing email servers have been blacklisted by the SpamCOP service. Our email administrators are in the final testing stages of adding an outbound spam filtering solution that will resolve this issue. We are working to have this tested and implemented as soon as possible.
Current Status:On Going
Updated Status on: Nov. 20th 2006 @ 11:30am EST
Pay particular notice to the line "an outbound spam filtering solution that will resolve this issue". Why not just do what I suggested, and then block all emails originating from blacklisted email addresses, instead of entire servers or IPs?
__________________
Registered Linux user #436027
Opensuse11 | Asus M2N32 SLI Deluxe | AMD 4600+ 64 Dual Core | 2 x 1GB Kingston DDR2 667 | ATI Radeon X1900XT (Sapphire)
500GB WD SATAII | Sound Blaster Audigy Player | 3Com 10/100 | Viewsonic VP930 19" TFT
khinch is offline   Reply With Quote
Old 11-22-2006   #7 (permalink)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,567
Quote:
Originally Posted by khinch
Why not just do what I suggested, and then block all emails originating from blacklisted email addresses, instead of entire servers or IPs?
Like I said, anyone can put anything in the 'Return-Path:...' text field. There is no way to prove that a senders credentials are what they say they are.

And the mail servers themselves will have big problems because they offer free or low-cost accounts to people. This makes it easy for spammers, imagine this - one signs up, sends a boatload of spam (while any credentials with the sending mail server are still valid) and never uses the account again. By the time the account is blocked by the sending ISP it's too late and they've been reported to spamcop again. An outgoing spam filter would be the only solution to such email servers.

If you're having trouble with this, then dont use the account until they sort it out. You could even email them and tell 'em you're disgusted with both the amount of spam you get and the lack of ability to send emails 'cos of the blacklisting; tell 'em it makes your account unusable and demand a refund. You can negotiate with 'em then for a free extension to your contract or some other 'sorry' gesture they want to make.
__________________
Linux user #126863 - see http://counter.li.org/
Roxoff is offline   Reply With Quote
Old 11-22-2006   #8 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 93
Quote:
Originally Posted by Roxoff
there really isn't a way to validate the senders email address.
That's the bit I have trouble understanding. If Joe (in the example) put his email address into Outlook or Thunderbird as "tonyblair@number10.gov.uk" and logged into his inbox, he would still recieve mail addressed to "jbloggs@btinternet.com", and therefore the smtp server must link his email address to his login, and not whatever he types into his client. So why cant the outgoing mail server do the same?

I hear what you say about the "replyto:" address, but that's different. That's just saying "don't sent mail back to this address, we don't read it. Send it here instead:" I don't care who someone want me to reply to, I just care where the email came from which currently looks like people can send emails completely anonymously with little thought or expertise envolved.
__________________
Registered Linux user #436027
Opensuse11 | Asus M2N32 SLI Deluxe | AMD 4600+ 64 Dual Core | 2 x 1GB Kingston DDR2 667 | ATI Radeon X1900XT (Sapphire)
500GB WD SATAII | Sound Blaster Audigy Player | 3Com 10/100 | Viewsonic VP930 19" TFT
khinch is offline   Reply With Quote
Old 11-22-2006   #9 (permalink)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,567
Perhaps you would understand this better with a little bedtime reading: RFC821 - the SMTP protocol. A whizz down this document will explain why the return address can be anything you damn well please...

For example, your solution wouldn't help people that use two mail accounts for sending, but want all replies to arrive in their hotmail box. They set the sender address of, say, their 'yahoo' account to 'jbloggs@hotmail.com'. With your solution, they now cant send emails. You're forcing them to have to log in to both email accounts and check them seperately. Why would anyone have two sender account? Well maybe they're sending through their ISP's mail server, but only check their POP3 box on hotmail? Maybe they're on the road and using a free dial-up service not their regualr broadband ISP and the return address is set to their main or POP3 account. I'm sure there's plenty more reasons too.
__________________
Linux user #126863 - see http://counter.li.org/
Roxoff is offline   Reply With Quote
Old 11-22-2006   #10 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 93
Quote:
Originally Posted by Roxoff
Perhaps you would understand this better with a little bedtime reading: RFC821 - the SMTP protocol.
Thanks! I'll have a look at that.

Quote:
Originally Posted by Roxoff
A whizz down this document will explain why the return address can be anything you damn well please...
And that's how it should be. I have nothing against folk putting the return address as anything they like. It's the from address that I believe should be non-tamperable. In my email client I can set the from address and the replyto address seperately.

Quote:
Originally Posted by Roxoff
Why would anyone have two sender account?
That's their business, and I don't mind that at all. Like I say, if the from and replyto addresses are seperate, I don't see why folk still can't use their return addresses the way they always have (unless the bedtime reading above educates me and I then find out that form some reason the from address and replyto address have to be the same? or something? I will read it later, thanks)

Quote:
Originally Posted by Roxoff
And the mail servers themselves will have big problems because they offer free or low-cost accounts to people. This makes it easy for spammers, imagine this - one signs up, sends a boatload of spam (while any credentials with the sending mail server are still valid) and never uses the account again. By the time the account is blocked by the sending ISP it's too late and they've been reported to spamcop again. An outgoing spam filter would be the only solution to such email servers.
That's absolutely true. I can think of a couple of ways to attemp to combat it, such as mail providers only allow a certain number of email address changes in a certain time period. Say, once a day, or three times a week. Seriously, how often do most non-spammer folk change their email address linked to a single account? Free email providers would just have to work harder to spot spammer accounts and outgoing spam, or else risk being blacklisted, like my mail server has been.

I should point out, I'm not saying my idea should be law or anything, I just feel it's a simple solution that could save many email providers from being blacklisted. It could be done completely independently by any provider that wanted to. I just thought that maybe since it hasn't been done, there must be a reason.

Quote:
Originally Posted by Roxoff
If you're having trouble with this, then dont use the account until they sort it out. You could even email them and tell 'em you're disgusted with both the amount of spam you get and the lack of ability to send emails 'cos of the blacklisting; tell 'em it makes your account unusable and demand a refund. You can negotiate with 'em then for a free extension to your contract or some other 'sorry' gesture they want to make.
Again, your absolutely right, and I fully intend to do something along those lines now. However, regardless of my position with my email provider, I was curious about the technicalities of spam prevention and hence why I started this post.
__________________
Registered Linux user #436027
Opensuse11 | Asus M2N32 SLI Deluxe | AMD 4600+ 64 Dual Core | 2 x 1GB Kingston DDR2 667 | ATI Radeon X1900XT (Sapphire)
500GB WD SATAII | Sound Blaster Audigy Player | 3Com 10/100 | Viewsonic VP930 19" TFT
khinch is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 01:52 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0