<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1511730072776_152974"><span>Hello Alexander,</span></div><div id="yui_3_16_0_ym19_1_1511730072776_153015"><br><span></span></div><div><span>I don't know how to check for that. Here's 05-domain_id</span></div><div><br><span></span></div><div id="yui_3_16_0_ym19_1_1511730072776_159930" dir="ltr"><span>root@messagerie[10.10.10.19] /etc/amavis/conf.d # removeblanks 05-domain_id<br id="yui_3_16_0_ym19_1_1511730072776_156473">use strict;<br id="yui_3_16_0_ym19_1_1511730072776_156474">chomp($mydomain = `head -n 1 /etc/mailname`);<br id="yui_3_16_0_ym19_1_1511730072776_156475">@local_domains_acl = ( ".$mydomain" );<br id="yui_3_16_0_ym19_1_1511730072776_156476">1;  # ensure a defined return<br id="yui_3_16_0_ym19_1_1511730072776_156477">root@messagerie[10.10.10.19] /etc/amavis/conf.d #<br id="yui_3_16_0_ym19_1_1511730072776_156478"></span></div><div id="yui_3_16_0_ym19_1_1511730072776_159925" dir="ltr"><br><span></span></div><div id="yui_3_16_0_ym19_1_1511730072776_159924" dir="ltr"><span id="yui_3_16_0_ym19_1_1511730072776_159923">my /etc/mailname contains the hostname of the mail server, which is "<b>messagerie.</b>mydomain.tld", whereas I accept mail for "mydomain.tld"</span></div><div id="yui_3_16_0_ym19_1_1511730072776_159968" dir="ltr"><br><span id="yui_3_16_0_ym19_1_1511730072776_159923"></span></div><div id="yui_3_16_0_ym19_1_1511730072776_160024" dir="ltr"><span id="yui_3_16_0_ym19_1_1511730072776_159923"><br>Yassine.</span></div><div id="yui_3_16_0_ym19_1_1511730072776_159926" dir="ltr"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Friday, December 1, 2017 1:20 PM, Alexander Wirt <formorer@formorer.de> wrote:<br></font></div>  <br><br> <div class="y_msg_container">On Fri, 01 Dec 2017, chaouche yacine wrote:<br clear="none"><br clear="none">> Hello Alxander,<br clear="none">> This log entry seems to show that spam checking was done : <br clear="none">> Nov 28 16:33:16 messagerie amavis[46130]: (46130-07) Passed SPAMMY {RelayedOpenRelay}, [101.55.71.90]:53783 [101.55.71.90] <<a shape="rect" ymailto="mailto:bounce-3308-19491836-3512-248@frdww.com" href="mailto:bounce-3308-19491836-3512-248@frdww.com">bounce-3308-19491836-3512-248@frdww.com</a>> -> <<a shape="rect" ymailto="mailto:a.chaouche@mydomain.tld" href="mailto:a.chaouche@mydomain.tld">a.chaouche@mydomain.tld</a>>, Queue-ID: 738D73A80088, Message-ID: <<a shape="rect" ymailto="mailto:bf680addabf683575f7cc153be8a9094@101.55.71.3" href="mailto:bf680addabf683575f7cc153be8a9094@101.55.71.3">bf680addabf683575f7cc153be8a9094@101.55.71.3</a>>, mail_id: lBrIu_4QeHCa, Hits: 11.386, size: 46197, queued_as: 6609E3A8008E, 736 ms<br clear="none">> And here is 15-content_filter_mode<br clear="none">> <a shape="rect" ymailto="mailto:root@messagerie" href="mailto:root@messagerie">root@messagerie</a>[10.10.10.19] /etc/amavis/conf.d # removeblanks 15-content_filter_mode<br clear="none">> use strict;<br clear="none">> @bypass_virus_checks_maps = (<br clear="none">>    \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);<br clear="none">> @bypass_spam_checks_maps = (<br clear="none">>    \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);<br clear="none">> 1;  # ensure a defined return<br clear="none">> <a shape="rect" ymailto="mailto:root@messagerie" href="mailto:root@messagerie">root@messagerie</a>[10.10.10.19] /etc/amavis/conf.d #<br clear="none">> <br clear="none">> Should they be commented out ? <br clear="none">no, they are fine that way. <br clear="none">> <br clear="none">> <br clear="none">> Also, both spamd and amavis are running : <br clear="none">Amavis doesn't use spamd. Is "mydomain.tld" in localdomains? <div class="yqt4071433323" id="yqtfd84597"><br clear="none"><br clear="none">Alex<br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>