Am 20.09.2016 um 13:12 schrieb Paul Stead:
.
Hi Thomas,
The RelayCountry plugin would answer your needs:
https://wiki.apache.org/spamassassin/RelayCountryPlugin
Hello Paul,
I ve activated that Plugin and installed the geoip modul (aptitude
install libgeo-ip-perl), seems to work. I ve tested it with my own
address. I ve also reduced the score for MESSAGEID_LOCAL because I ve
found a past mail of one of our partners with .local in the message-id :)
X-Spam-Status: No, score=3.004 tagged_above=2 required=6.31
tests=[MESSAGEID_LOCAL=3, RELAYCOUNTRY_BAD=3.1,
RP_MATCHES_RCVD=-3.096, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=no autolearn_force=no
@all
You all say that bayes is not working in my setup. I dont know why. I
followed a documentation for setting up my mailserver.
It says:
nano /etc/spamassassin/local.cf
#bayes
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1
It s a virtual user mailsystem described in
https://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-14.04-lts-p3