[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 672
  • Last Modified:

FreeBSD as front end mail server.

Hi I would like to implement FreeBSD as front end mail server only for spam filtering with postfix and spamassissin.

Current setup all inbound mail is routed from external to trend micro virus wall (spam filter) to exchange 2003.
Exchange has to recipient policy abcd.local and zentura.com.
SMTP connecter routes all mail to external.

So all I want is that incoming mail is also routed through my new FreeBSD mail server.
1.please explain exactly how i must configure postfix
2.outbound mail should not be routed through FreeBSD so I will leave my SMTP connecter as it is will it be o.k. please explain

  • 3
2 Solutions
So far from FreeBSD part - install clamav-postfix and postfix-ldap
Rest is postfix http://www.postfix.org/
jacksch4820Author Commented:
My external mx record is mail.zentura.com

So all what I need in postfix is

    relayhost =   ip of exchange server

Please explain
Add email area to your question. It is not FreeBSD question.
You do not need to use relayhost on internet-exposed host.
You have to use LDAP to make sure you do not accept mail for unknown users.
What your wanting to do is  setup postfix as a relay server.. Pushing any mail after checking forward to the exchange server, setup postfix / clamav/ and spamassasin , is your main config for postfix specify as above the relay host.. Which is your exchange server, then specify your domain details were appropriate.. Then setup spam assasin to work with postfix. If you need tutorials let me know, but once you test it, set your mx to point to the freebsd server..
You see how easy wonders do happen ;)

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now