FreeBSD as front end mail server.

Posted on 2009-02-21
Last Modified: 2013-11-22

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
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

Question by:jacksch4820
    LVL 61

    Accepted Solution

    So far from FreeBSD part - install clamav-postfix and postfix-ldap
    Rest is postfix

    Author Comment

    My external mx record is

    So all what I need in postfix is

        relayhost =   ip of exchange server

    Please explain
    LVL 61

    Expert Comment

    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.
    LVL 3

    Assisted Solution

    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..
    LVL 61

    Expert Comment

    You see how easy wonders do happen ;)

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    Easy CSR creation in Exchange 2007,2010 and 2013
    The purpose of this video is to demonstrate how to set up a Mailchimp Template which will let the user create a uniform look for all of their campaigns. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mail…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now