LinuxQuestions.org
Review your favorite Linux distribution.
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-23-2006, 07:07 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
e-mail commands


hi there,

I've just had an idea and I thought i'd look into it.

I'm thinking about setting up a user called 'spamlist' now when someone sends a e-mail to spamlist@domain.com it executes a command, the command gets out the header information from the e-mail, ip address it came from or other information and then put it on a blacklist that procmail, or postfix, or program of some kinda, i'm not sure what one will do this then forwards it into a mail box and all the e-mails get stored there for a month and a cron job deletes it once a month.

So users can define what e-mails are spam and what are not and if a mistake is made the e-mail will still be stored and the clients can contact the IT support staff to recover the e-mail.

questions:

has another program already done this?
Can someone give me some information on executing commands via e-mails?
Can anyone see any problems not listed below?

problems:
the head information will have information from the user the sent the e-mail to spamlist@domain.com not who sent it to the user (i'm sure that the header information from the orginal sender will still be there, we'll just have to set the program to dismiss the infomration from @domain.com)

Any thoughts or help would be great
 
Old 04-23-2006, 11:46 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
The biggest problem - ALL the header information in spam (including first three Received-From: ) can be forged. That's why it won't work well.

Last edited by raskin; 07-03-2006 at 02:03 AM.
 
Old 04-24-2006, 12:11 AM   #3
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
how do anti spam agents determine whats spam and whats real mail then?
 
Old 04-24-2006, 03:55 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Well, by inconsistency of headers (from the viewpoint of RFC), and by content analysis. For example, "Buy now and get 20% more for free" is somewhat suspicious..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
Suse Linux Commands For These Aix Commands? Vaskar Guha Linux - Software 2 12-19-2005 12:45 AM
Running commands through recieved e-mail thew00t Linux - Networking 6 12-08-2005 01:23 PM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 03:41 AM
No mail in Solaris Cron commands markraem Solaris / OpenSolaris 1 01-05-2004 03:11 PM

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

All times are GMT -5. The time now is 07:48 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