Using Spamassasin to clear spam out of POP3 box on ISP server

I have recently started playing with spamassasin and was trying to figure out 1. If it can be used to clean an email box (smtp/pop3) the is hosted on an ISP's servers and 2. if yes, what is the basic process I need to follow to do this. I eventually plan on hosting my own email server but until I get a grasp on securing my server this will be a good first step for me.

Opi
optidigixAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grbladesCommented:
You would need to use fetchmail to pull the mail down off the isp server and pass it through your mail server which will also do the spam filtering. Then you can either have it delivered to your server or back to the isp (this will all depend on what destination email address you tell fetchmail to send it to).

If you want to run your own email server I would recommend postfix together with MailScanner as a front end for spamassassin. Have a look at my website for more info :-

http://www.gbnetwork.co.uk/mailscanner

P.S I basically do what you are asking. I use fetchmail to pull the email down from various accounts through spamassassin and then have it delivered to a local imap server on my home network.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
optidigixAuthor Commented:
thanks for that info grblades. I have fethmail running and it is pulling email off of my server with no problems. The last thing I was wondering was, once I send the email back to my server, how do I keep that same message from being pulled back into fetchmail? Also how do I apply/use spam filter lists with spam assassin?

Opi
0
grbladesCommented:
You cant really send the mail back to your server at least not into the same pop3 mailbox. The reason for this is you cannot tell if it has already been scanned and secondly you run the risk of the end user downloading a message before it is scanned.
You can use a separate pop3 account to redeliver the mail to.

What mail seerver are you using? (normally sendmail, postfix, exim or qmail)
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

optidigixAuthor Commented:
I will probably install and use postfix.
0
grbladesCommented:
0
optidigixAuthor Commented:
Thanks a bunch :-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.