URL: https://linuxfr.org/forums/linux-general/posts/vaincre-le-spam-ou-essayer-au-moins Title: Vaincre le SPAM. Ou essayer, au moins. Authors: ouafnico Date: 2016年12月16日T11:19:40+01:00 License: CC By-SA Tags: spamassassin, spam, postfix et smtp Score: 4 Bonjour à tous, J'essaye, tant bien que mal, d'optimiser avec le temps mon serveur mail, et surtout diminuer le spam. J'ai une conf postfix/spamassassin, avec un peu de scripting perso qui récupère les IP des SMTP qui m'ont envoyé du spam, et les balance dans fail2ban. Un peu de bayes le soir pour apprendre des spams en plus. Néanmoins, si c'était aussi simple... Je reçois toujours le même genre de spam, même genre de subject/body, avec un ptit lien de pRon. En plus du spam/porn français ! Si c'est pas mignon. Il arrive depuis plein de coin du monde selon les whois, donc galère galère... Hormi rajouter des mots clés dans ma blacklist de spamassassin je sais pas trop comment faire. D'où ma super question du gars qui croit au père noël (oh oh oh) : est-ce qu'il y a un moyen de remonter le chemin du spam, ou de trouver le site web à l'origine qui a donné (ou s'est fait pomper) mon adresse mail pour ce spam ? Si vous avez d'autres idées de conf spamassassin je suis preneur.. actuellement j'ai ça (c'est sûrement grandement améliorable) : required_hits 5 report_safe 0 rewrite_header Subject [SPAM] use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 bayes_auto_expire 1 bayes_auto_learn_threshold_spam 8.0 bayes_path /var/lib/spamassassin/bayes/bayes dns_available yes skip_rbl_checks 0 use_razor2 1 use_pyzor 1 urirhssub URIBL_BLACK multi.uribl.com. A 2 body URIBL_BLACK eval:check_uridnsbl('URIBL_BLACK') describe URIBL_BLACK Contains an URL listed in the URIBL blacklist tflags URIBL_BLACK net score URIBL_BLACK 3.0 urirhssub URIBL_GREY multi.uribl.com. A 4 body URIBL_GREY eval:check_uridnsbl('URIBL_GREY') describe URIBL_GREY Contains an URL listed in the URIBL greylist tflags URIBL_GREY net score URIBL_GREY 0.25 urirhssub URIBL_JP_SURBL multi.surbl.org. A 64 body URIBL_JP_SURBL eval:check_uridnsbl('URIBL_JP_SURBL') describe URIBL_JP_SURBL Has URI in JP at http://www.surbl.org/lists.html tflags URIBL_JP_SURBL net score URIBL_JP_SURBL 3.0 score DCC_CHECK 4.000 score RAZOR2_CHECK 2.500 score BAYES_99 4.300 score BAYES_95 3.500 score BAYES_80 3.000 header LOCAL_SUBJECT Subject =~ /sex/i score LOCAL_SUBJECT 5.0 body LOCAL_HEADER /sex/i score LOCAL_HEADER 5.0 ok_languages fr en de Merci, et gros câlins.