ispCP - Board - Support
how to setup TLS for smtp - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: how to setup TLS for smtp (/thread-10734.html)



how to setup TLS for smtp - kingxerxes - 05-20-2010 02:41 AM

hi there,
i am trying to setup TLS for SMTP and wondered if anyone has tried this before, and how they got on?

the reason i am doing this is so that i can add mail accounts into gmail, and gmail requires either TLS or SSL security.

thanks!


RE: how to setup TLS for smtp - Illidan - 05-20-2010 04:22 AM

Hello,

How do you mean that gmail requires TLS or SSL? Do you send your mails about a gmail relayhost?

TLS is a complicated thing, if you haven't a paid certificate you have to create them and sign them self.

Befor you start explain first if you only want to add the certificates from gmail to your server so that your server accept them or that you want to create own certificates to send mails via TLS/SSL.

Here is guide for creating and using self signed SSL certificates.

http://www.debian-administration.org/articles/284


RE: how to setup TLS for smtp - kingxerxes - 05-20-2010 05:35 AM

i am going on the adive of ...

http://mail.google.com/support/bin/answer.py?hl=en-GB&answer=22370&expand=sc1


RE: how to setup TLS for smtp - Illidan - 05-20-2010 06:23 PM

(05-20-2010 05:35 AM)kingxerxes Wrote:  i am going on the adive of ...

http://mail.google.com/support/bin/answer.py?hl=en-GB&answer=22370&expand=sc1

??? How will this help you for your problem? I don't really understand what the problem excactly is oo.


RE: how to setup TLS for smtp - kingxerxes - 05-20-2010 06:27 PM

sorry for the poor explanation.

my aim is to be able to add mail accounts that are hosted on my ispCP box into gmail. This will allow gmail to send and receive through the ispCP box.

the quote from the gmail site says

Quote:Please note that your other email provider must provide authenticated SMTP support in order for you to use this option. We'll use TLS by default, or SSL if you enable it.


how can i go about enabling authenticated SMTP?

thanks!


RE: how to setup TLS for smtp - Illidan - 05-20-2010 06:37 PM

So, you want manage mail accounts on your ispCP Server but sending and recieving should be run on gmail? I don't know really if this works like you want....

Here is a tutorial how to change email exchange to gmail. You _have to_ manage your accounts then on gmail. Any mail accounts on your server won't be work then.

http://isp-control.net/forum/thread-3661.html

But why do you want that gmail server send and recieve your emails? If you have an own server it should get all mails and send them too. If you have a home server with a dynamic IP and can't send mails out because of blocking by other providers you have to make a relayhost.

http://isp-control.net/documentation/howto:mail:use_a_external_smtp_server


RE: how to setup TLS for smtp - kingxerxes - 05-20-2010 09:36 PM

hi, thanks for the quick responses!

i am only looking to use gmail essentially as a mail client. gmail lets you do this, but requires and authenticated SMTP connection to CP box. gmail can use either TLS or SSL.

does this make things clearer?


RE: how to setup TLS for smtp - Illidan - 05-20-2010 11:20 PM

Not really, beacuse a Debian with ispCP has already Postfix as mail server and mail client is SquirrleMail. So you can manage your mail accounts on ispCP and log in WebMail of ispCP or connect with Thundebird or Outlook.