Obe,

> now check email for spam only for local user that I have actived in
> mysql table, but outgoing messages for other mail server it does not
> come controlled.
> Is possbile controll for spam all outgoing messages, while incoming
> messages only for user set in mysql table ?

To disable spam checking for messaged originating from inside
use MYNETS policy bank, see:
  http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex

For example:

$policy_bank{'MYNETS'} = {
  bypass_spam_checks_maps   => [ 1 ],
};

and assign the list of internal networks to @mynetworks, see 
amavisd.conf-sample. Use the same list as in Postfix mynetworks option.

For incoming mail, use the usual per-recipient @bypass_spam_checks_maps
and @spam_lovers_maps settings.

  Mark


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to