I remember asking this question some versions ago and never really received a specific answer so now I am running a new mail server (Postfix) with TLS / SASL Authentication & would like to know if its possible when sending email from RC, can encrypt via TLS? I found the option in my 'main.inc.php' file to login using TLS encryption:
// the mail host chosen to perform the log-in // leave blank to show a textbox at login, give a list of hosts // to display a pulldown menu or set one host as string. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// $rcmail_config['default_host'] = 'tls://mail.iamghost.com';
The above setting works perfect as show in my mail.log file:
Dec 10 08:35:19 mail dovecot: imap-login: Login: user=<carlos>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
Now I would like to use TLS for sending mail from RC and I am not sure how to go about this specifically. Below I added a section from my Postfix 'main.cf' file showing it's configured to send using SMTP but I just don't know to enable this on my RC webmail client.
# SMTP settings smtpd_tls_cert_file=/etc/ssl/certs/mail.crt smtpd_tls_key_file=/etc/ssl/private/mail.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache smtpd_tls_loglevel = 1 smtpd_sasl_auth_enable = yes #smtp_sasl_auth_enable = yes
I am running "Version 0.3.1-20091031".
Thanks so much! _______________________________________________ List info: http://lists.roundcube.net/users/
Carlos Williams wrote:
Now I would like to use TLS for sending mail from RC and I am not sure how to go about this specifically. Below I added a section from my Postfix 'main.cf' file showing it's configured to send using SMTP but I just don't know to enable this on my RC webmail client.
TLS is used by default, so you just need to set: $rcmail_config['smtp_server'] = 'mail.iamghost.com'; You can make sure that TLS is used by enabling smtp_debug option.
On Thu, Dec 10, 2009 at 9:09 AM, A.L.E.C alec@alec.pl wrote:
You can make sure that TLS is used by enabling smtp_debug option.
Is that a Postfix main.cf option or something I place in my main.inc.php? _______________________________________________ List info: http://lists.roundcube.net/users/
Carlos Williams wrote:
You can make sure that TLS is used by enabling smtp_debug option.
Is that a Postfix main.cf option or something I place in my main.inc.php?
It's RC's. You should find it in main.inc.php.dist for 0.3.1.
On Thu, Dec 10, 2009 at 9:46 AM, A.L.E.C alec@alec.pl wrote:
It's RC's. You should find it in main.inc.php.dist for 0.3.1.
Thanks for that info! When I login to my RC session and attempt to send an email, I can see in the logs alone I appear to have TLS / SASL:
Dec 10 09:31:02 mail postfix/smtpd[1917]: connect from mail.iamghost.com[127.0.0.1] Dec 10 09:31:02 mail postfix/smtpd[1917]: setting up TLS connection from mail.iamghost.com[127.0.0.1] Dec 10 09:31:02 mail postfix/smtpd[1917]: Anonymous TLS connection established from mail.iamghost.com[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) Dec 10 09:31:02 mail postfix/smtpd[1917]: 7C22B5FE93: client=mail.iamghost.com[127.0.0.1], sasl_method=LOGIN, sasl_username=***** Dec 10 09:31:02 mail postfix/cleanup[1920]: 7C22B5FE93: message-id=99dabf0d2ab430f7d8b895b81dc7b458@iamghost.com Dec 10 09:31:02 mail postfix/qmgr[1504]: 7C22B5FE93: from=*****@iamghost.com, size=3586, nrcpt=1 (queue active) Dec 10 09:31:02 mail postfix/smtpd[1917]: disconnect from mail.iamghost.com[127.0.0.1] Dec 10 09:31:02 mail dovecot: IMAP(*****): Disconnected: Logged out bytes=3512/1033 _______________________________________________ List info: http://lists.roundcube.net/users/