I'm having trouble getting Sendmail in Linux to send email through my Bluehost email. I've successfully sent it through gmail, but I need to use my Bluehost account. I've made the certificates and had no issues typing "echo 'Message" | mail -s "subject" email@example.com
" and it would send fine when I had my gmail account info plugged in. I tried just swapping out the gmail info for my bluehost info and now that same command won't send the email. I ran the m4 sendmail.mc>sendmail.cf command after I made changes and "service sendmail restart".
My authinfo file looks like this:
AuthInfo:mail.myDomain.com "U:example@myDomain.com" "I:example@myDomain.com" "P:My_Password" "M:PLAIN"
AuthInfo:mail.myDomain.com:26 "U:example@myDomain.com" "I:example@myDomain.com" "P:My_password" "M:PLAIN"
Any problems there?
The relevant part of my sendmail.mc looks like this:
define(`RELAY_MAILER_ARGS', `TCP $h 26')
define(`ESMTP_MAILER_ARGS', `TCP $h 26')
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
Everything else is default.
Am I missing something that would explain why gmail worked and bluehost isn't?
Thanks for any help and sorry if this is very obvious, I just can't seem to figure it out >.<