Rspamd DKIM not work

Discussion in 'ISPConfig 3 Priority Support' started by ktownmods, Nov 20, 2019.

  1. ktownmods

    ktownmods Member HowtoForge Supporter

    Hey,

    since i switched to Rspamd (https://www.howtoforge.com/replacing-amavisd-with-rspamd-in-ispconfig/) E-Mails not signed with DKIM.

    I created DKIM under the Mail domain 2 time new but nothing work.

    Also tried this https://www.howtoforge.com/community/threads/rspamd-greylist-dkim-keys-not-loaded.82823/, but not help

    I use Debian 10.2, ad DKIM is in the DNS

    /etc/rspamd/local.d/dkim_signing.conf
    Code:
    try_fallback = false;
    path_map = "/etc/rspamd/local.d/dkim_domains.map";
    selector_map = "/etc/rspamd/local.d/dkim_selectors.map";
    /etc/rspamd/local.d/dkim_domains.map
    Code:
    my-domain.de /var/lib/amavis/dkim/my-domain.de.private
    
    /etc/rspamd/local.d/dkim_selectors.map
    Code:
    my-domain.de default
    
    Code:
    ls -la /var/lib/amavis/dkim/
    insgesamt 16
    drwxr-x--- 2 amavis amavis 4096 Nov 20 20:07 .
    drwxr-x--- 7 amavis amavis 4096 Nov 20 14:33 ..
    -rw-r--r-- 1 root   root   3294 Nov 20 20:07 my-domain.de.private
    -rw-r--r-- 1 root   root    800 Nov 20 20:07 my-domain.de.public
    Code:
    groups _rspamd
    _rspamd : _rspamd amavis
     
  2. ktownmods

    ktownmods Member HowtoForge Supporter

    So, i use RainLoop as web-interface, i test it with roundcube and it signed with dkim, if i send with rainloop it dont sign with dkim, hmm
     
  3. ktownmods

    ktownmods Member HowtoForge Supporter

    I dont know why, but now it works.
     
  4. ktownmods

    ktownmods Member HowtoForge Supporter

  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you did
    Code:
    systemctl disable amavisd-new
    amavis-new is disabled and should not start if it not enabled back.
     
  6. ktownmods

    ktownmods Member HowtoForge Supporter

    Yeah i did that, but After reboot amavis starts...

    I redoo that tonight and then i post it, if it not work
     
  7. ktownmods

    ktownmods Member HowtoForge Supporter

    So i put in the commandline:

    Code:
    systemctl stop amavisd-new
    systemctl disable amavisd-new
    and after reboot:

    Code:
    service amavisd-new status
    ● amavis.service - LSB: Starts amavisd-new mailfilter
       Loaded: loaded (/etc/init.d/amavis; generated)
       Active: active (running) since Sun 2019-11-24 20:16:59 CET; 1min 13s ago
         Docs: man:systemd-sysv-generator(8)
      Process: 430 ExecStart=/etc/init.d/amavis start (code=exited, status=0/SUCCESS)
        Tasks: 3 (limit: 4915)
       Memory: 157.6M
       CGroup: /system.slice/amavis.service
               ├─ 959 /usr/sbin/amavisd-new (master)
               ├─1083 /usr/sbin/amavisd-new (virgin child)
               └─1084 /usr/sbin/amavisd-new (virgin child)
    
    Nov 24 20:16:59 mail amavis[959]: No ext program for   .rpm, tried: rpm2cpio.pl, rpm2cpio
    Nov 24 20:16:59 mail amavis[959]: No ext program for   .rar, tried: unrar-free
    Nov 24 20:16:59 mail amavis[959]: No ext program for   .zoo, tried: zoo
    Nov 24 20:16:59 mail amavis[959]: No ext program for   .doc, tried: ripole
    Nov 24 20:16:59 mail amavis[959]: No decoder for       .F
    Nov 24 20:16:59 mail amavis[959]: No decoder for       .doc
    Nov 24 20:16:59 mail amavis[959]: No decoder for       .lz4
    Nov 24 20:16:59 mail amavis[959]: No decoder for       .zoo
    Nov 24 20:16:59 mail amavis[959]: Using primary internal av scanner code for ClamAV-clamd
    Nov 24 20:16:59 mail amavis[959]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe it gets started by server monitoring, did you turn on anything under System > Server config on the rescue tab of the form?
     
  9. ktownmods

    ktownmods Member HowtoForge Supporter

    Hey,

    Nope, nothing is Checked unser the rescue tab
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you use any other monitoring software that might start amavis on its own like monit?
     
  11. ktownmods

    ktownmods Member HowtoForge Supporter

    Only Munin
     

Share This Page