LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-13-2004, 01:11 AM   #1
KevinGuy
LQ Newbie
 
Registered: Jul 2003
Posts: 29

Rep: Reputation: 15
Mail Server / Spam Filter


Current Setup:

Mail is pulled and sent directly from mail.example.net (This is not a local server, it is off on the internet somewhere) to Outlook. A typical POP3 account.

The problem is that example.net is getting tons of spam on various accounts and I don’t want to pay the spam fee for each individual mail account.

Lets say I have 20 Mail accounts on example.net

What I want to do:

Pull all of the email from example.net to my new Postfix Mail Server and have it filtered through say spam assassin and then distributed out to the appropriate Outlook clients. Spam free, well at least the majority of it.

Any HOWTO's on doing this perhaps?

Comments, Suggestions, and Questions would be greatly appreciated!!!

Thank You!
 
Old 10-13-2004, 04:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you have to actually GET the mail from the net, rather than being given it, then you'll want a daemon like fetchmail to retrieve the mail. you can then get fetchmail to give the email to postfix and let that handle it, or you can deliver the email directly the local mail boxes, using procmail and spamassasin to nuke the spam while it does it. personally i'd say the latter was better, as you'd not go anywhere near an smtp server.

this might be useful http://evillair.netdojo.com/howto/spamassassin.html

as for getting mail from server mail boxes to outlook clients, well i'd say just use either pop3 or imap access to that server. I'm sure there are more graceful ways to handle mail on a unix server than to have a user account for each network user, but to be honest i'm not that sure how...

Last edited by acid_kewpie; 10-13-2004 at 04:43 AM.
 
Old 10-13-2004, 03:02 PM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
I've recently implimented spamAssassin on my server and it works pretty well.

I'm doing pretty much what you want, pulling mail from external mail accounts using fetchmail, this is called from a cronjob to suit your requirements. I've also got mail coming into my server directly for another domain name and this setup has worked fine for me for a few months now.
However, like you I have noticed a massive increase in the amount of spam I get and though I'd install SpamAssassin, which I did.

Check out the following thread, it explains a little about SpamAssassin:
http://www.linuxquestions.org/questi...hreadid=238274

I need to find out a little more about the learning capabilities of SpamAssassin, but that apart, I'm very happy with my setup...
 
Old 10-13-2004, 04:33 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
plisken, you do know that fetchmail can rnu as a timed daemon in it's own right?
 
Old 10-14-2004, 05:32 PM   #5
KevinGuy
LQ Newbie
 
Registered: Jul 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Thank you for all your replies, this will help lead me in the right direction. I will let you know if I have anymore questions.

It seems that I don't even need PostFix to do this.

Just as Clarification, Postfix is used for Mail coming in correct (as acid_kewpie said)? So you would basically have a Domain and then post fix running on the Domain. Correct?

Thanks again.

 
Old 10-15-2004, 11:49 AM   #6
techie_one
LQ Newbie
 
Registered: May 2004
Posts: 19

Rep: Reputation: 0
postfix

Quote:
Originally posted by KevinGuy
Thank you for all your replies, this will help lead me in the right direction. I will let you know if I have anymore questions.

It seems that I don't even need PostFix to do this.

Just as Clarification, Postfix is used for Mail coming in correct (as acid_kewpie said)? So you would basically have a Domain and then post fix running on the Domain. Correct?

Thanks again.
not strictly correct, I had postifix running even though my main domain was being run by an ISP, the only problem I had is lol it would not deliver mail internally IE: from webdesigner @................ to admin@...................... however all the other mails came through just fine, also sendmail worked perfectly - I shut them both down till I could set up the spamassasin and amavis - which is why I am on the forum today looking for help.
 
Old 10-16-2004, 04:00 AM   #7
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
Quote:
Originally posted by acid_kewpie
plisken, you do know that fetchmail can rnu as a timed daemon in it's own right?
I remember reading this somewhere actually, same end result though, I suppose...
 
Old 10-16-2004, 07:18 AM   #8
techie_one
LQ Newbie
 
Registered: May 2004
Posts: 19

Rep: Reputation: 0
email security?

Quote:
Originally posted by plisken
I remember reading this somewhere actually, same end result though, I suppose...
does anyone know of a new bug/virus/ssam that when an email is opened it causes the re-download of all ( and I mean ALL) of the previously downloaded messages from the mail server? Then the ximian evolution AND outlook would not log in to the accounts.

As a precuation after posting on this list yesterday I changed all my passwords ( as any good administrator should do more often than I do at least lol :-) and started sendmail and postfix MTA .

Seems to have solved the problem but was not sure thought you all might have bumped up against this, so any ideas?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server-wide outgoing mail filter mccomber Linux - Networking 1 11-02-2005 08:04 PM
spam filter for qmail server? maxut Linux - Networking 4 10-11-2004 11:05 AM
create a spam & antivirus linux filter for Exchange Server balki Linux - Software 1 09-01-2004 04:26 PM
Spam filter to external mail filter deadlock Linux - Software 1 06-16-2004 02:28 AM
Spam/Virus fIlter mail gateway tarballedtux Linux - Software 0 02-24-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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