Rebuilding Amavis-> Rspamd

Discussion in 'Installation/Configuration' started by Onyxnz, Dec 12, 2022.

  1. Onyxnz

    Onyxnz New Member

    I have just upgraded my Proxmox which handles my personal VMs containing Ubu16.04 with ISPConfig to juggle emails. The problem came when Proxmox LXC doesn't work with Ubu 16.04. So now I have to try to rebuild in a new Qemu vm. I managed to get the ISPConfig database tables out of the old VM and into a new one, running Deb11, and the latest ISPConfig, but I am getting problems where it seems the old installation had Amavis, the new Rspamd, and so the mail is remaining undelivered.

    Dec 12 19:40:32 server postfix/lmtp[393388]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

    How do I fix that up?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you tried ispconfig_update.sh with allowing it to reconfigure services?
     
    ahrasis likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    This might indeed help. Alternatively you can try switching mail filter to amavis under system > server config, save, and then back to rspamd and save.
     
    Onyxnz and ahrasis like this.
  4. Onyxnz

    Onyxnz New Member

    Thanks guys, yes, I had tried those. Still throwing that error.
    I grepped 10024 in the /etc/postfix, and it's in tag_as_foreign.re:
    /^/ FILTER lmtp:[127.0.0.1]:10024
    so I am trying by deleting that line altogether (# commenting made no difference)
     
  5. Onyxnz

    Onyxnz New Member

    No difference. I've done postfix reload, postfix flush. The log still shows:

    And yet now there is nothing in the entire /etc that contains 10024.
     

    Attached Files:

  6. Onyxnz

    Onyxnz New Member

    After reboot the queue was still stuck, but new mails delivered. This freed up the old ones:

    postsuper -r ALL && postqueue -f
    Thanks guys.
     
    till and ahrasis like this.

Share This Page