We have an HP-UX environment running HP-UX 11.31. The system was originally built to send email out through Sendmail. The server only sends email out, and the programmer has built a number of programs using the
mailx command to send the emails. We have decided to move from Sendmail to Postfix to fix some configuration issues and use an easier to configure program on the server.
We have installed and configured Postfix to work correctly, although when I run something like
echo "Hello World" | mailx -s "Hello World" $my_email, and look at the routing information in the email headers, it seems that email route starts with Sendmail; from Sendmail to Postfix; then from Postfix to the recipient.
What I'm trying to understand is how to remove Sendmail from the routing and have
mailx queue email directly with Postfix.