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
[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