On 06/24/2016 07:53 PM, RW wrote: > On Fri, 24 Jun 2016 18:20:35 +0200 > G.H. (Spamassassin) wrote: > >> Hello, >> >> Every incoming mail with valid DKIM-signatures is tagged with >> T_DKIM_INVALID. >> But when I run such a mail through spamassassin -t -D dkim < email it >> finds no errors? >> I already googled this but it always comes down to missing packages >> that are being reported with the debug, but in my case there seems to >> be no problem there. >> I included the logs. > You included the debug. Have you looked at the logs? Nothing special there too, for example when I send an email from to it gmail
Jun 24 20:17:23 higis-s3 spamd[32358]: spamd: connection from localhost [::1]:36216 to port 783, fd 5 Jun 24 20:17:23 higis-s3 spamd[32358]: spamd: setuid to vscan succeeded Jun 24 20:17:23 higis-s3 spamd[32358]: spamd: processing message <CAD14S=FUmt0g9nAxyDDipEapkrKjgnP1O9Gnypq=gmuz2s2...@mail.gmail.com> for vscan:65 Jun 24 20:17:23 higis-s3 spamd[32358]: spamd: clean message (0.1/5.0) for vscan:65 in 0.1 seconds, 2471 bytes. Jun 24 20:17:23 higis-s3 spamd[32358]: spamd: result: . 0 - HTML_MESSAGE,LOCAL_SPF_PASS,T_DKIM_INVALID scantime=0.1,size=2471,user=vscan,uid=65,required_score=5.0,rhost=localhost,raddr=::1,rport=36216,mid=<CAD14S=FUmt0g9nAxyDDipEapkrKjgnP1O9Gnypq=gmuz2s2...@mail.gmail.com>,autolearn=no autolearn_force=no Jun 24 20:17:23 higis-s3 spamd[32357]: prefork: child states: II >> What could be wrong here? > I notice that the DNS whitelisting rules are missing too, and the SPF > rules are replaced by a custom rule LOCAL_SPF_PASS. Correct, I made few SPF rules of my own but that could be the cause I believe? > Is it possible that spamd is having a problem with DNS access? > Something that doesn't affect the command line and whatever is adding > Received-SPF. > I'll check this.out.
