URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 64781
[ Назад ]

Исходное сообщение
"cyrus-imapd. problem s pop3s i imaps"

Отправлено dmt , 14-Мрт-06 15:20 
Postavil cyrus-imapd, "telnet localhost 143 i 110" rabotaet, vse ok, a "telnet localhost 993 i 995" ne otvechaet. hosts.deny pust, firewalla net.

Vchem grablja? Pls.

--------------------------------------------
netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN    
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN    
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN    
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN
---------------------------------------------


imapd.conf:
----------------------------------
configdirectory: /var/imap
partition-default: /var/spool/imap
sievedir: /var/spool/sieve
admins: cyradmin
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasl_mech_list: CRAM-MD5 PLAIN
tls_ca_file: /var/imap/cacert.pem
tls_cert_file: /var/imap/crt.pem
tls_key_file: /var/imap/key.pem
-----------------------------------
cyrus.conf:
-----------------------------------
# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
#  idled                cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=0
  imaps         cmd="imapd -s" listen="imaps" prefork=0
  pop3          cmd="pop3d" listen="pop3" prefork=0
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="sieve" prefork=0

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=0
#  nntps                cmd="nntpd -s" listen="nntps" prefork=0

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune      cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400
}

------------------------------------------------------------------------


Содержание

Сообщения в этом обсуждении
"cyrus-imapd. problem s pop3s i imaps"
Отправлено Gennadi , 14-Мрт-06 19:43 
>Postavil cyrus-imapd, "telnet localhost 143 i 110" rabotaet, vse ok, a "telnet
>localhost 993 i 995" ne otvechaet. hosts.deny pust, firewalla net.
>
>Vchem grablja? Pls.
>
>--------------------------------------------
>netstat -ln
>Active Internet connections (only servers)
>Proto Recv-Q Send-Q Local Address        
>   Foreign Address      
>  State
>tcp        0    
>  0 0.0.0.0:993        
>     0.0.0.0:*      
>         LISTEN
>tcp        0    
>  0 0.0.0.0:995        
>     0.0.0.0:*      
>         LISTEN
>tcp        0    
>  0 0.0.0.0:110        
>     0.0.0.0:*      
>         LISTEN
>tcp        0    
>  0 0.0.0.0:143        
>     0.0.0.0:*      
>         LISTEN
>---------------------------------------------
>
>
>imapd.conf:
>----------------------------------
>configdirectory: /var/imap
>partition-default: /var/spool/imap
>sievedir: /var/spool/sieve
>admins: cyradmin
>sasl_pwcheck_method: auxprop
>sasl_auxprop_plugin: sasldb
>sasl_mech_list: CRAM-MD5 PLAIN
>tls_ca_file: /var/imap/cacert.pem
>tls_cert_file: /var/imap/crt.pem
>tls_key_file: /var/imap/key.pem
>-----------------------------------
>cyrus.conf:
>-----------------------------------
># standard standalone server implementation
>
>START {
>  # do not delete this entry!
>  recover       cmd="ctl_cyrusdb -r"
>
>  # this is only necessary if using idled for IMAP
>IDLE
>#  idled          
>      cmd="idled"
>}
>
># UNIX sockets start with a slash and are put into /var/imap/socket
>
>SERVICES {
>  # add or remove based on preferences
>  imap          
>cmd="imapd" listen="imap" prefork=0
>  imaps         cmd="imapd
>-s" listen="imaps" prefork=0
>  pop3          
>cmd="pop3d" listen="pop3" prefork=0
>  pop3s         cmd="pop3d
>-s" listen="pop3s" prefork=0
>  sieve         cmd="timsieved"
>listen="sieve" prefork=0
>
>  # these are only necessary if receiving/exporting usenet via NNTP
>
>#  nntp         cmd="nntpd"
>listen="nntp" prefork=0
>#  nntps          
>      cmd="nntpd -s" listen="nntps" prefork=0
>
>  # at least one LMTP is required for delivery
>#  lmtp         cmd="lmtpd"
>listen="lmtp" prefork=0
>  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
>
>  # this is only necessary if using notifications
>#  notify       cmd="notifyd" listen="/var/imap/socket/notify" proto="udp"
>prefork=1
>}
>
>EVENTS {
>  # this is required
>  checkpoint    cmd="ctl_cyrusdb -c" period=30
>
>  # this is only necessary if using duplicate delivery suppression,
>
>  # Sieve or NNTP
>  delprune      cmd="cyr_expire -E 3" at=0400
>
>
>  # this is only necessary if caching TLS sessions
>  tlsprune      cmd="tls_prune" at=0400
>}
>
>------------------------------------------------------------------------

Если так проверить?:

openssl s_client -connect localhost:993


"cyrus-imapd. problem s pop3s i imaps"
Отправлено dmt , 15-Мрт-06 11:03 
>Если так проверить?:
>
>openssl s_client -connect localhost:993

tak OK. Spasibo. +OK mail Cyrus POP3 v2.3.2 server ready

Dalshe eshe interesnee, v outlook express satvlju smtp cherez SSL i pop3 cherez SSL, pr popitke snjat pochtu, zaprashivaet sertificat, vse ok, rabotaet pop3s, potom probuju otpravit pochtu i Outlook krepko zadumivaetsa, a v logax sendmail pishet:  STARTTLS=server, error: accept failed=0, SSL_error=5, timedout=0, errno=0.
Udaljaem zadanie v Outlook, i eshe raz probuem, vse OK, rabotaet, zato teper POP3s ne rabotaet. v logax: pop3s failed. Che za xren'? Mozhet ja chego to s sertifikatami na mutil? sertifikati delal s pomoshju CA.pl. Help Pls.