Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postfix AND Exchange

Status
Not open for further replies.
Aug 4, 2003
6
US
Here is my scenario. I setup a Postfix server to relay all company mail to an internal Exchange 2k box. I am running Spamassassin 2.55. Everything is functioning great. I am trying to utilize Bayesian filtering to fine tune the system. To my understanding, I can run the sa-learn (ham/ spam) tools to teach Spamassassin. I want to create to folders Spam and NotSpam on the Red Hat 7.3 system so I can copy good and bad email messages into and then run the sa-learn against them. Now my question is how do I get the message to the Postfix server. I do not have any local mailboxes configured. How do I configure the system to have a local mail delivery account, but yet forward all company mail to an internal mail server. Sorry I am a newbie with Postfix!! :) What is the best way to get messages to the Postfix server so I can run Bayes against them? Thanks,
Craig
 
If you have a internal DNS (that the postfix machine also uses) create a MX record for [hostname].[domain.name]
(eg mailgate.fictional.com)

(best thing to do is still user your own domainname)


Set Postfix to accept mail for that hostname.domain.name

Create local Mailboxes and forward the emails to that mailbox. (spamtrap@[hostname].[domain.name] eg spamtrap@mailgate.fictional.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top