Achraf,

> [Software version : amavisd-new : 2.6.1]
> I wonder if there is a way to configure amavis so that it generates DSN
> only for spam mails that get a score above quarantine_cutoff_level.

No.
A DSN is generated when mail is not delivered to recipient _and_ the
score is below dsn_cutoff_level (or in case of a virus, DSN is
suppressed by a virus name matching @viruses_that_fake_sender_maps).

Mail is not delivered to recipient (is blocked) when score is
above kill level _and_ recipient is _not_ (declared to be a
spam lover _or_ $final_spam_destiny is D_PASS).

> Following the "discard safely " policy, from a post I read, as long
> as the mail is in the quarantine we don't generate a DSN, but what if
> a quarantine_cutoff_level is defined...?

Quarantining or not quarantining has no effect on whether
DSN is send or whether mail is blocked or passed.
It just happens that both the quarantining and blocking
by default trigger at the same kill_level.
Even quarantine_cutoff_level has no effect on DSN and blocking.

> In this case, as I see, it amavis would make a decision depending on the
> score SA gave ! But in the other hand the "final_spam_destiny" is
> statically looked up in the configuration file .

Yes, "final_spam_destiny" is statically looked up, but
the level at which it applies (kill_level) is dynamic.
The other dynamic counterpart is spam_lovers flag, think of it
as a way to temporarily turn final_spam_destiny into a D_PASS.

> I would be very glad to read any solution, or confirmation, or
> suggestions. Please let me know if my reasoning is wrong !

I'm not sure what problem are you trying to solve.

  Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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