Unsolved can't send email with postfix
-
@Mike-Davis said in can't send email with postfix:
certificate verification failed
That's an SSL cert error
-
-
@Mike-Davis I found this: http://giantdorks.org/alain/fix-for-postfix-untrusted-certificate-tls-error/ but yeah. Should be more or less the same
-
@Mike-Davis Mine seems easier. Might want to try it before you get into yours. Could be just that simple
-
I do have /etc/ssl/certs, but not /var/spool/postfix/etc/ssl/certs/
In /etc/postfix/main.cf, it has the line:smtp_tls_CAfile = /etc/postfix/cacert.pem
I thought this command was supposed to fix that:
cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | sudo tee -a /etc/postfix/cacert.pem
under /etc/ssl/certs they are all from 2008. Could that be the problem?
-
@Mike-Davis Possibly? We're reaching the end of my knowledge unfortunately.
-
Ran:
update-ca-certificates
and that updated the dates on all the files under /etc/ssl/certs
Then:
cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | sudo tee -a /etc/postfix/cacert.pem sudo /etc/init.d/postfix reload
-
@Mike-Davis Did that end up fixing your issue?
-
I have to have them send a test fax through. Given that it's 2016 it might be a while before we can find someone with a fax service....
-
@Mike-Davis I have a fax.. but you could setup a test fax service with any online provider and see if it receives the fax they send to it.
-
Test failed. Same error as before. I'm going to see if it's because a CNAME was set up for the receiving mail server and the name doesn't match the cert or something.
-
Instead of testing emails with a fax, get the email working itself first. Work on sending emails directly, once that is working, add in the fax piece. That will make this a ton easier to test.