Amavis in mail.warn after reboot | did replace Amavis with Rspamd

Discussion in 'Installation/Configuration' started by 30uke, Nov 10, 2019.

  1. 30uke

    30uke Active Member HowtoForge Supporter

    Hello,
    I did follow the following tutorial: https://www.howtoforge.com/replacing-amavisd-with-rspamd-in-ispconfig/
    Rspamd works fine and I am able to sent and receive e-mails. Although everything seems to be working fine, I did notice the following messages in the mail.warn log.

    Code:
    Nov 10 11:09:53 s1 amavis-mc[1603]: Process [1613] exited (/usr/sbin/amavis-services snmp-responder) after 0.1 s: exit 2
    Nov 10 11:09:54 s1 amavis-mc[1603]: Process [1611] exited (/usr/sbin/amavis-services msg-forwarder) after 0.2 s: exit 2
    Nov 10 11:09:54 s1 amavis-mc[1603]: Process [1612] exited (/usr/sbin/amavis-services childproc-minder) after 0.2 s: exit 2
    Nov 10 11:09:58 s1 amavis-mc[1603]: Process [2470] exited (/usr/sbin/amavis-services childproc-minder) after 0.1 s: exit 2
    Nov 10 11:09:58 s1 amavis-mc[1603]: Process [2471] exited (/usr/sbin/amavis-services snmp-responder) after 0.1 s: exit 2
    Nov 10 11:09:58 s1 amavis-mc[1603]: Process [2469] exited (/usr/sbin/amavis-services msg-forwarder) after 0.1 s: exit 2
    Nov 10 11:10:03 s1 amavis-mc[1603]: Process [3244] exited (/usr/sbin/amavis-services msg-forwarder) after 0.1 s: exit 2
    Nov 10 11:10:03 s1 amavis-mc[1603]: Process [3246] exited (/usr/sbin/amavis-services snmp-responder) after 0.1 s: exit 2
    Nov 10 11:10:03 s1 amavis-mc[1603]: Process [3245] exited (/usr/sbin/amavis-services childproc-minder) after 0.1 s: exit 2
    Nov 10 11:10:08 s1 amavis-mc[1603]: Process [3685] exited (/usr/sbin/amavis-services snmp-responder) after 0.1 s: exit 2
    Nov 10 11:10:08 s1 amavis-mc[1603]: Process [3683] exited (/usr/sbin/amavis-services msg-forwarder) after 0.1 s: exit 2
    Nov 10 11:10:08 s1 amavis-mc[1603]: Process [3684] exited (/usr/sbin/amavis-services childproc-minder) after 0.1 s: exit 2
    Nov 10 11:10:13 s1 amavis-mc[1603]: Process [3793] exited (/usr/sbin/amavis-services childproc-minder) after 0.1 s: exit 2
    Nov 10 11:10:13 s1 amavis-mc[1603]: Exceeded restart count, giving up on (/usr/sbin/amavis-services childproc-minder)
    Nov 10 11:10:13 s1 amavis-mc[1603]: Process [3794] exited (/usr/sbin/amavis-services snmp-responder) after 0.1 s: exit 2
    Nov 10 11:10:13 s1 amavis-mc[1603]: Exceeded restart count, giving up on (/usr/sbin/amavis-services snmp-responder)
    Nov 10 11:10:13 s1 amavis-mc[1603]: Process [3792] exited (/usr/sbin/amavis-services msg-forwarder) after 0.1 s: exit 2
    Nov 10 11:10:13 s1 amavis-mc[1603]: Exceeded restart count, giving up on (/usr/sbin/amavis-services msg-forwarder)
    I did disable Amavis; but it still seems to be running.
    Code:
    root@s1:/# ps ax | grep amavis
     1578 ?        Ss     0:01 /usr/sbin/amavisd-new (master)
     1603 ?        S      0:00 /usr/bin/perl -T /usr/sbin/amavis-mc -P /var/run/amavis/amavis-mc.pid
     1737 ?        S      0:00 /usr/sbin/amavisd-new (virgin child)
     1738 ?        S      0:00 /usr/sbin/amavisd-new (virgin child)
    29913 pts/1    S+     0:00 grep amavis
    
    root@s1:/# systemctl stop amavisd-new
    root@s1:/# systemctl disable amavisd-new
    
    root@s1:/# ps ax | grep amavis
     1603 ?        S      0:00 /usr/bin/perl -T /usr/sbin/amavis-mc -P /var/run/amavis/amavis-mc.pid
    29974 pts/1    R+     0:00 grep amavis
    root@s1:/#
    
    I am a bit worried about this.
     
  2. Steini86

    Steini86 Active Member

    Is rspamd working fine? Just remove amavis/spamassassin. I had problems, because the cron job files, etc were not removed, so I just purged amavis/SA

    For sure, you can also dig down the problem. Look in the logfiles (journald), when it was started and from what process, etc ...
     
    30uke likes this.
  3. 30uke

    30uke Active Member HowtoForge Supporter

    Thanks. Yes, everything works absolutely fine. Although it works fine, I just removed Amavis with the following command:
    Code:
    # apt remove --purge amavisd-new
    I left SpamAssassin untouched as it should not do any harm; it was loaded as a library by Amavis if I am correct (from the top of my head; at least it does not show up when I issue the "ps ax | grep spamassassin" command).
     

Share This Page