Well let's see if my setup can help. 1) Use your MTA's lookup function to query exchange. In Exim I use lookup verify. 2) I use exim's filters to look at the message after SA marks it up to do this. 3) In exim I just setup a router for all e-mail to be passed to my exchange server. 4) Why would you want to do that?
-- Benjamin Story, CCNA CCDA CQS-CFWS Network Administrator Dot Foods, Inc www.dotfoods.com IT Helpdesk x2312 or [EMAIL PROTECTED] -----Original Message----- From: Sanford Whiteman [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 10:17 AM To: o2 - Marcin Wasilewski; users@spamassassin.apache.org Subject: Re: SA and MTA message filtering > 1) if message is marked as SPAM and mail address doesn't exist - > delete it or move to a local folder on SA_MACHINE, > 3) if message is not marked as SPAM and mail address exist - pass it > to the Exchange mail server, > 4) if message is not marked as SPAM and mail address doesn't exist - > pass it to the Exchange mail server, Three out of your four objectives are markedly off-topic: there's no reason for SA to ever see mail for unknown local recipients. Those messages should be rejected by the MTA, using either your text file or direct LDAP lookup: you should Google or post elsewhere for the specifics. There's a large archive of envelope-rejection methods for every popular MTA. > 2) if message is marked as SPAM and mail address exist - pass it to > the Exchange mail server or move to a local folder on SA_MACHINE, As for this objective, you've listed two options. - If you want to quarantine the messages on the MTA, it'd be up to the MTA docs to tell you how to deal with the returned info from SA, either by interpreting the returned SA weight directly or by parsing headers. - If you want to pseudo-quarantine them on the Exchange box, you can use individual header rules or a store-wide event sink to dump each user's marked spam into into a mailbox subfolder with a fixed name. --Sandy