Semih Gokalp escreveu:
Hi all.
I asked this problem to squirrelmail-users mail list but I could not
answer about this problem so If it doesn't problem,I want to ask this
problem to debian users mail list.
I have Debian 4.0 Etch and i use Postfix 2.3.8-2 and Dovecot
1.0.rc15-2etch4 IMAP and POP3 Server that is TLS support.I am using
Mysql for Virtual domain and authentication.
But i have error on browser like this:"Operation now in progress
Server replied: 115 Can't open SMTP stream." when i try send email on
squirrelmail.I have not a problem(All Authentication and all rules
work without any problem) when i use Thunderbird or Evolution.
I searched this error on google but i can not find beneficial post or
documents about this problem.
If I dont use TLS parameters on Postfix main.cf
<http://main.cf>,squirrelmail send email without any problem but If I
use TLS or choose "Secure SMTP (TLS) : false" on squirrelmail
"Server Setting",squirrelmail dont sent email.
Squirrelmail "Server Setting" configuration like below:
General
-------
1. Domain : xyz.com <http://xyz.com>
2. Invert Time : false
3. Sendmail or SMTP : SMTP
SMTP Settings
-------------
4. SMTP Server : 127.0.0.1 <http://127.0.0.1>
5. SMTP Port : 25
6. POP before SMTP : false
7. SMTP Authentication : login
8. Secure SMTP (TLS) : true
9. Header encryption key :
and output from mail.log with TLS support like below:
#
Jul 14 11:05:48 debian postfix/smtpd[4403]: connect from
localhost[127.0.0.1 <http://127.0.0.1>]
Jul 14 11:05:48 debian postfix/smtpd[4403]: lost connection after
UNKNOWN from localhost[127.0.0.1 <http://127.0.0.1>]
Jul 14 11:05:48 debian postfix/smtpd[4403]: disconnect from
localhost[127.0.0.1 <http://127.0.0.1>]
#
and output from mail.log without TLS support (removed TLS parameters
from main.cf <http://main.cf> and choosed "false" on squirrelmail
Server Setting-Secure SMTP (TLS) : false):
#
Jul 14 11:06:46 debian postfix/smtpd[4463]: connect from
localhost[127.0.0.1 <http://127.0.0.1>]
Jul 14 11:06:46 debian postfix/smtpd[4463]: E0ED83781E:
client=localhost[127.0.0.1 <http://127.0.0.1>], sasl_method=LOGIN,
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Jul 14 11:06:46 debian postfix/cleanup[4467]: E0ED83781E:
message-id=<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
Jul 14 11:06:46 debian postfix/qmgr[4401]: E0ED83781E: from=<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>, size=726, nrcpt=1 (queue active)
Jul 14 11:06:46 debian dovecot: imap-login: Login: user=<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>, method=PLAIN, rip=127.0.0.1 <http://127.0.0.1>,
lip=127.0.0.1 <http://127.0.0.1>, secured
Jul 14 11:06:47 debian postfix/smtpd[4463]: disconnect from
localhost[127.0.0.1 <http://127.0.0.1>]
Jul 14 11:06:47 debian dovecot: IMAP([EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>):
Disconnected: Logged out
#
I have only posted about TLS configuration parameters in Postfix
main.cf <http://main.cf> like below:
smtpd_use_tls=yes
smtpd_tls_cert_file=/etc/ssl/certs/postfix.pem
smtpd_tls_key_file=/etc/ssl/private/postfix.pem
smtpd_tls_auth_only=yes
If I disable TLS,I have non-security authentication with email client
programs(because auth is plain text) so I dont want to disable TLS.
What should i do for use squirrelmail without TLS problem ?
It could be that the "Secure SMTP (TLS)" setting means trying to use
TLS/SSL on connect, that is, just after the connection is opened. This
will not work. On port 25, exim uses the STARTTLS convention, in which a
normal unencrypted connection is opened and follows the SMTP protocol
normally, until the client issues the STARTTLS command. The server sends
and "OK" message, and only then the TLS handshake starts.
I don't know how (and if) SquirrelMail can be configured to use
STARTTLS. It is possible, however, to configure exim to listen on
another port using the TLS-on-connect convention.
However, if SquirrelMail and exim are on the same host, connecting via
the loopback interface (which seems to be case, since you specified
127.0.0.1 as the SMTP host), you should not need to worry that the
connections are encrypted.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]