Luis Daniel, > While doing some statistics, i realiza that we must split them by inbound > mail, and outbound mail. However, we have 2 domains and maybe 3 in next > days. > > I only want to know outbound mail statistics, it is safe to use > msgs.policy field (sql setup) to know that email was MYNETS policy and then > I know that it is from inside?
Yes, the msgs.policy contains a '/'-separated list of policy banks loaded. If your only mail submission clients are from inside (no roaming authenticated users), then its sufficient to test for MYNETS in msgs.policy. Otherwise you may prefer testing for an 'ORIGINATING' policy bank name, if you use such a policy bank. Mark ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/