Courier Mail Server Forum Index Courier Mail Server
www.courierms.ru
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WebMail-клиент не подключается к CMS по 143-му порту (IMAP)

 
Post new topic   Reply to topic    Courier Mail Server Forum Index -> Courier Mail Server 1.xx
View previous topic :: View next topic  
Author Message
mxm199
Newbie
Newbie


Joined: 02 Oct 2014
Posts: 8

PostPosted: 20 Oct 2014 14:08 (Mon)    Post subject: WebMail-клиент не подключается к CMS по 143-му порту (IMAP) Reply with quote

Здравствуйте, помогите настроить такую связку -
На сервере установлено это добро:
CMS + Raundcube + stunnel
Сам CMS отлично работает, по 110/25 порту отлично отдаёт/принимает почту, но не могу настроить коннект Raundcube с CMS по 143 порту
---
основная настройка stunnel
Code:

[143port]
client = yes
accept = 143
connect = 127.0.0.1:110

Захожу с Raundcube'a, коннект происходит, но вылетает.
лог stunnel
Code:

2014.10.20 13:21:28 LOG5[1580]: Service [143port] accepted connection from 10.77.XXX.XXX:1164
2014.10.20 13:21:28 LOG5[1580]: s_connect: connected 127.0.0.1:110
2014.10.20 13:21:28 LOG5[1580]: Service [143port] connected remote server from 127.0.0.1:1331
2014.10.20 13:21:28 LOG3[1580]: SSL_connect: 140770FC: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2014.10.20 13:21:28 LOG5[1580]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket


Лог CMS
Code:

+20.10.2014 13:23:46 POP3SERV 000K Подключился POP3-клиент [127.0.0.1]
<20.10.2014 13:23:46 POP3SERV 000K +OK mail.local Courier Mail Server 1.59 POP3 service ready <316.73552648226599@mail.local>
!20.10.2014 13:23:46 POP3SERV 000K Ошибка: Соединение разорвано
-20.10.2014 13:23:46 POP3SERV 000K Отключился POP3-клиент [127.0.0.1]


Проблема даже не в Roundcube, ибо как при попытке
Code:

telnet 127.0.0.1 143

соединение происходит, но ответ от cms не приходит, остаётся пустой экран, ошибки в логи сыпятся те же.

Вот 100% что-то stunnel'ю не нравится, но что не пойму.
Заранее спасибо!


Last edited by mxm199 on 20 Oct 2014 18:34 (Mon); edited 1 time in total
Back to top
View user's profile Send private message
NAMOR
CMS Developer


Joined: 15 Oct 2005
Posts: 1079

PostPosted: 20 Oct 2014 15:07 (Mon)    Post subject: Reply with quote

CMS не поддерживает протокол IMAP (143-й порт).
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mxm199
Newbie
Newbie


Joined: 02 Oct 2014
Posts: 8

PostPosted: 20 Oct 2014 15:33 (Mon)    Post subject: Reply with quote

так для этого и использую stunnel, он делает проброс со 143 на 110 порт, да и вы сами в этом топике http://www.courierms.ru/forum/viewtopic.php?t=1762 писали о такой возможности. Или это актуально применительно к подключению к imap-серверам? А в обратную сторону так сказать ?
Back to top
View user's profile Send private message
NAMOR
CMS Developer


Joined: 15 Oct 2005
Posts: 1079

PostPosted: 20 Oct 2014 21:14 (Mon)    Post subject: Reply with quote

Roundcube хочет подключения к 143-му порту, чтобы пообщаться с CMS по протоколу IMAP. В CMS нет IMAP-сервиса, поэтому какие пробросы вы не делайте, пообщаться по IMAP они не смогут.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Courier Mail Server Forum Index -> Courier Mail Server 1.xx All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group