Javier Fox put forth on 1/27/2010 7:57 PM:
> Greetings,
> 
> I've inherited a rather kludgy email system consisting of an overpriced,
> underpowered spam filtering appliance which I would very much like to
> replace with a simple *nix box running Postfix and some manner of spam
> filtering software (ie spamassassin).
> 
> I would like to be able to keep the present scheme of how mail is passed
> around if possible, but I'm not entirely certain where to begin with
> respect to Postfix.  Currently, our mail flow looks like this:
> 
> -MX for domain points to the spam filtering appliance
> -Appliance handles user verification (via ldap), rejection, quarantine, etc
> -'Clean' mail handed off to MTA for final delivery
> 
> The slightly funky part is that there are a number of destination MTA
> servers, each servicing a subset of domains and mailboxes.  A
> configuration setting on the Appliance maps each domain to its
> destination MTA server.
> 
> Is it possible to set up Postfix as a drop-in replacement for this
> appliance?  Can I tell it "here are the domains to accept mail for, here
> is an LDAP full of mailboxes to accept, and here is a hash/sqldb mapping
> each domain to its destination MTA"
> 
> Any advice or pointing in the right direction would be greatly
> appreciated, as I'm really not sure how this all falls under the Postfix
> definitions of canonical, virtual, relay, etc.

Not only is it possible, this architecture is pretty widely deployed by many
Postfix users.  Unfortunately I don't have an exact "how to" for your scenario.
 You _will_ have a learning curve here.  This won't be a simple drop in
replacement for the anti spam box with the GUI front end.  You'll be editing
text configuration files with vi, and the bulk, if not all, of your
administration of this box will be via telnet/ssh and a shell such as bash.  If
this sounds ok then read on.  Start here:

http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall
http://www.postfix.org/CONTENT_INSPECTION_README.html
http://www.postfix.org/SMTPD_PROXY_README.html
http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions
http://www.postfix.org/DATABASE_README.html
http://www.postfix.org/LDAP_README.html
http://www.postfix.org/transport.5.html

-- 
Stan

Reply via email to