| Linode Forum https://forum.linode.com/ |
|
| Setting up send only MTA on multiple domains https://forum.linode.com/viewtopic.php?f=11&t=8501 |
Page 1 of 1 |
| Author: | deek [ Wed Feb 29, 2012 6:49 pm ] |
| Post subject: | Setting up send only MTA on multiple domains |
On my linode I server up web pages for a bunch of random domains. I have two IPs one for maindomain.com only and the other for domain1.com, domain2.com,etc. Right now I'm using sendmail and it gives me a bunch of errors like this when it tries to send mail to various domains. Code: Feb 29 12:00:07 scylla sm-mta[3526]: STARTTLS=client, relay=aspmx.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128 Since I have a valid SSL cert for maindomain.com I'd like to set it up as the smart host using this guide: http://library.linode.com/email/exim/send-only-mta-ubuntu-10.04-lucid but my question is how would I setup the hostname for it? Should the hostname resolve to server.maindomain.com? Does my IP setup complicate things at all? |
|
| Author: | torkildr [ Wed Feb 29, 2012 7:15 pm ] |
| Post subject: | |
I might be wrong here, but I think I recall something about tls-verifies going awry when using anonymous connections. It's not totally uncommon for SMTP-servers to use this, as it is cheaper, in the form of consumed resources, and you more or less just want the encryption. In other words, try something different than google, and see what you get for resultes. You can try something like this to verify that the certificate you are exposing actually validates as expected Code: $ openssl s_client -connect localhost:25 -starttls smtp -CApath /etc/ssl/certs This should output a bunch of info.. Code: [...] ..but what is interesting here is the bottom part, Verify return code: 0 (ok) This tells us that the chain is correctly set up for out externally exposed SMTP-server. |
|
| Author: | deek [ Wed Feb 29, 2012 7:20 pm ] |
| Post subject: | |
Here are the two responses I think might give the most information.I don't mind a bit of overhead to send all emails over SSL and would like to do that if at all possible. It may end up being that I didn't get SSL working on sendmail when I first set it up so don't count that out of the equation. Code: openssl s_client -connect localhost:25 -starttls smtp -CApath /etc/ssl/certs/ Code: openssl s_client -connect aspmx.l.google.com:25 -starttls smtp -CApath /etc/ssl/certs/ |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|