cancel
Showing results for 
Show  only  | would you rather see results for 
Did you mean: 
Need help?

SMTP through command line

Reply
4 REPLIES 4
Highlighted
Chatterbox

Hi,

 

I am trying to route emails from a Linux command line through my webmail account to let me set up automatic emails with log files when scans complete, I think I've got the settings almost there, it's finding the servers but return an auth login error, says password format incorrect. 

Highlighted
Community Star

I have done this lots of time from applications I have written using a talktalk.net address.

 

Can you supply the details you have used, but please omit the first part of your email address & the password so as I can check this for you?

Keith
I am not employed by TalkTalk, I'm just a customer. If my post has fixed the issue, please mark it as the Best Answer.
OCE's and Community Stars - Who are they? 

Highlighted
Chatterbox

root=username@talktalk.net

mailhub=smtp.talktalk.net:587

AuthUser=username@talktalk.net

AuthPass=password

rewritedomain=localhost

hostname=localhost

fromlineoverride=YES

useSTARTTLS=YES

TLS_CA_FILE=/etc/pki/tls/certs/ca-bundle.crt

 

 

Highlighted
Chatterbox

forgot to mention it's ssmtp i'm trying to use as MTA, thanks for responding 🙂

Highlighted
Community Star

Most of that looks fine, not sure about these settings though, as I have never needed to set them:-

 

rewritedomain=localhost

hostname=localhost

fromlineoverride=YES

TLS_CA_FILE=/etc/pki/tls/certs/ca-bundle.crt

 

I assume that "Outgoing email requires authentication" is enabled?

Keith
I am not employed by TalkTalk, I'm just a customer. If my post has fixed the issue, please mark it as the Best Answer.
OCE's and Community Stars - Who are they?