I am trying to configure Postfix on Red Hat Linux to send email with the following command:
mail -s "test" email@example.com
I have followed all the steps mentioned in this tutorial and have changed relay host configuration as follows:
relayhost = 10.16.47.22
where 10.16.47.22 is my mail server's IP address.
But it doesn't work. The log file says:
Mar 13 18:14:31 localhost postfix/smtp: warning:
10.16.47.22[10.16.47.22]:25 offered null AUTH mechanism list
Mar 13 18:14:31 localhost postfix/smtp: certificate verification failed for 10.16.47.2210.16.47.22]:25: untrusted issuer
Mar 13 18:14:31 localhost postfix/smtp: 599C44A1AE9: to=, relay=10.16.47.22[10.16.47.22]:25,
delay=9001, delays=9001/0.11/0.03/0, dsn=4.7.5, status=deferred
(Server certificate not trusted)
What could be the problem and how can I fix it?