Hello all.
I am trying to get my machine to send mail through my ISP's smtp server. I have referred to a number of how-to's, namely section 29.10-SMTP Authentication, and the link at the bottom of that section - "Using sendmail as a client with AUTH." I have added the lines to files and followed the steps as instructed:
/etc/mail/auth/client-info file:
hostname.mc file:
Then in /etc/mail did make all install and finally restarted sendmail.
Unfortunately, none of my test messages (using mail or mutt) are reaching their destination. I am a total rookie at this and so have no idea if the messages are reaching the smtp server or if I have even made the correct changes.
I was able to get it going with ssmtp but that required sendmail to be disabled. However, I've been using fetchmail to download my mail which required sendmail to be active (I think?). So that's why I figured I'd have to use SMTP AUTH if I wanted to continue using fetchmail.
BTW, I added the 4th line in the hostname.mc file above to specify port 80 because I had to specify that port when I was using ssmtp (though I'm not sure if it's necessary here).
Anything to help me get this going would be greatly appreciated!
I am trying to get my machine to send mail through my ISP's smtp server. I have referred to a number of how-to's, namely section 29.10-SMTP Authentication, and the link at the bottom of that section - "Using sendmail as a client with AUTH." I have added the lines to files and followed the steps as instructed:
/etc/mail/auth/client-info file:
Code:
AuthInfo:smtpout.secureserver.net "U:root" "I:user@account.com" "P:mypassword"
hostname.mc file:
Code:
define(`SMART_HOST',`smtpout.secureserver.net')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 80')dnl
Then in /etc/mail did make all install and finally restarted sendmail.
Unfortunately, none of my test messages (using mail or mutt) are reaching their destination. I am a total rookie at this and so have no idea if the messages are reaching the smtp server or if I have even made the correct changes.
I was able to get it going with ssmtp but that required sendmail to be disabled. However, I've been using fetchmail to download my mail which required sendmail to be active (I think?). So that's why I figured I'd have to use SMTP AUTH if I wanted to continue using fetchmail.
BTW, I added the 4th line in the hostname.mc file above to specify port 80 because I had to specify that port when I was using ssmtp (though I'm not sure if it's necessary here).
Anything to help me get this going would be greatly appreciated!