How to configure sendmail for relaying mails to relay server using authentication ?
Issue
- While sending mail to user through relay, authentication is failing to relay server.
# sendmail -Am -v -t
To: user@domain.com
from:localhost@localhost
Subject:test
>>> MAIL From:<user@hostname> SIZE=66
530-5.7.0 Authentication Required. Learn more at
530 5.7.0 https://support.google.com/mail/?p=WantAuthError iv6-20020a05600c548600b003a5f54e3bbbsm2750693wmb.38 - gsmtp
- How to configure sendmail client which can relay mails to relay server with authentication ?
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.