Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm providing VPS services and I don't want my IP addresses spoiled by spammers. What I want to achieve here is to route all the outbound traffic to some sort of smtp proxy server which will just let other traffic go through while analysing email packages against spams.

I know there are some good open source spam filter solutions there like spamassassin but these filters will need a MTA in front of it such as postfix. But for the VPS, I can't do this. So can someone shed some light on it please?


share|improve this question

depends on your MTA you can have it to relay through an alternative mail gateway




share|improve this answer
Thank you for your response but we're VPS provider and we can't control our customer's machines to set this. So we need some sort of technics to filter the IP packages. – Dongdong Apr 20 '12 at 18:13
you can filter outbound connection on firewall and have all users to reconfigure it to go through specific smtp gateway only. – alexus Apr 20 '12 at 19:40
How can I filter outbound connection? What kind of software can I use? Thanks. – Dongdong Apr 23 '12 at 12:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.