Mail Server With Both Postfix And Sendmail Installed, Active MTA Gets Switched.

Home » CentOS » Mail Server With Both Postfix And Sendmail Installed, Active MTA Gets Switched.
CentOS 2 Comments

Ok, so a bit of a long subject line there…

I’m running an email server using postfix, but a critical third-party package being used requires ‘sendmail’ the package.

2 thoughts on - Mail Server With Both Postfix And Sendmail Installed, Active MTA Gets Switched.

  • Run “systemctl mask sendmail” as well.  That should permanently disable the service.

    You could look for any package that refers to sendmail in a script or trigger:

    rpm -qa | while read pkg do
      rpm -q –scripts –triggers “$pkg” | grep -q sendmail && echo “$pkg”
    done

    If the problem is a trigger on the sendmail package, it could run without any changes to the sendmail package itself.

  • Worthwhile thing to do; still curious about what caused it, but if this will lock it out…..

    Ah, yes, indeed. Only three packages are output: sendmail itself, postfix, and the third party software; postfix did get an update recently, and after checking to see I didn’t reboot after that update.