List Info

Thread: Question about: sender_scores_sitewide and sa_dsn_cutoff_level




Question about: sender_scores_sitewide and sa_dsn_cutoff_level
user name
2006-06-21 23:55:34
Harrie,

> Long time not 'spoken'. 
> At the moment I'm busy setting up a new mailgateway
with a more current
> version Postfix, AMaViS-new, SpamAssassin, Kaspersky-AV
and ClamAV
> combi.
> The old Mailgateway has AMaViS v20030616.P10, the new
has version 2.4.1
> On the old system I have been using hard
black/whitelisting (soft didn't
> exist in the old days).
> On the new system I would like to use soft
black/whitelisting, because
> of:
> "Whitelisting is becoming deprecated because
sender address is all too
> often faked."
> And I agree. The old whitelist consists of a list (one
per line)
> addresses to be whitelisted and was called by:
>
> read_hash(\%whitelist_sender,
> '/usr/local/amavisd/etc/whitelist_sender');

> In the new configuration I would like to use the hash
table of the Soft
> whitelist:
read_hash("/var/amavis/sender_scores_sitewide")
> But where do I put the scores? Can I use the right-hand
side of the
> hashtable for this purpose?

Yes, use the right-hand side of the hashtable.
The read_hash() can read such a file (each line: sender
whitespace score),
or you can construct the hash manually. But the hash belongs
to 
score_sender_maps, not to %whitelist_sender (note
that score_sender_maps
is a two-level map, first level is recipient, inner level is
by-sender):

score_sender_maps = ({

  # site-wide opinions about senders (the '.' matches any
recipient)
  '.' => [
read_hash("/var/amavis/sender_scores_sitewide")
],

});


> Another question: can you point my nose into the
direction of a document
> how to use $sa_dsn_cutoff_level? At the moment I'm
using D_DISCARD for
> $final_spam_destiny, with the danger of loosing e-mail,
which happened
> in the past...

If spam score exceeds $sa_dsn_cutoff_level, non-delivery
notification
will be suppressed (i.e. sender will not receive a bounce),
despite the D_BOUNCE general setting.

Similar for $sa_quarantine_cutoff_level: quarantining is
suppressed
for spam score above this cutoff level.

  Mark

All the advantages of Linux Managed Hosting--Without the
Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )