Amavis Integration

"Ronnie Tartar" <[email protected]> Sun, 20 Mar 2005 09:31:52 -0500
Newsgroups gmane.comp.isp.ispman.user,gmane.mail.virus.amavis.user
Message-ID <200503200930345.SM01904@symws3>
I have the spam Amavis/Spamassassin/Mysql lookups running, but it not
selecting the correct email address from the database.  Here is the flow:
 
1.  mail to [email protected] comes into postfix.
2.  mail goes to amavis with rtartar_test_com.  
3.  Amavis looks in table, [email protected] is there, but not the
rtartar_test_com.
4.  Uses defaults, no whitelisting or black listing.
5.  Sends back to postfix and is sent to Cyrus.
 
Looking in the debug logging for amavis, there is an orig_to field that is
used.  Can I get amavis to look @ orig_to field instead of the to field?
Is there anyway to not change the to going from postfix to until after it
comes back from AMAVIS?
 
Thanks in advance.