Junichi Takeuchi,

> > you can't.  if you need user prefs in amavisd, you use the amavisd sql
> > preferences.
> 
> My network have ldap server and mail server using it for auth.
> So, I've tried to add amavisd-new shceme to my ldap server and add user
> setting. Then It works fine ! Thank you very much !

Indeed. To achieve per-recipient settings, you need to use the
lookups as provided by amavisd itself, like SQL of LDAP.

Although SpamAssassin (or even spamd if called as an external scanner
by amavisd) can use user_prefs file as noted by Benny Pedersen,
it can only be as a site-wide setting. The underlying reason is
that a spam scanner is called only once per message regardless of
the number of recipients of a message, so per-recipient user-prefs
use by a spam scanner is conceptually not possible at all,
it would require modifying SpamAssassin to deal with its task
in two steps: message analysis first, then per-recipient
scoring and returning of results.

  Mark

------------------------------------------------------------------------------
_______________________________________________
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/ 

Reply via email to