same thing:

[EMAIL PROTECTED]$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.alchemistry.net.
Escape character is '^]'.
+OK krel.org Cyrus POP3 v2.1.3 server ready <[EMAIL PROTECTED]>
quit
+OK
Connection closed by foreign host.
[EMAIL PROTECTED]$ telnet 192.168.0.3 110
Trying 192.168.0.3...
Connected to alchemistry.net.
Escape character is '^]'.



^]

telnet> quit
Connection closed.
[EMAIL PROTECTED]$ ps -ax|grep pop
 2618  p5  I+     0:00.17 tail -f pop3d
92404  p8  I      0:00.07 pop3d: pop3d: localhost.alchemistry.net[127.0.0.1]
(pop3d)
92411  p8  S      0:00.03 pop3d


and as soon as I kill 92404 I get response from 192.168.0.3
here is my current config (of course I recycled master before trying)
# 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
#  imap          cmd="imapd" listen="[127.0.0.1]:imap" prefork=0
#  imap          cmd="imapd" listen="[192.168.0.3]:imap" prefork=0
# imap          cmd="imapd" listen="[66.114.66.158]:imap" prefork=0
  imaps         cmd="imapd -s" listen="imaps" prefork=0
#  pop3          cmd="pop3d" listen="pop3" prefork=0
  pop3-local          cmd="pop3d" listen="[127.0.0.1]:pop3" prefork=0
  pop3-lan          cmd="pop3d" listen="[192.168.0.3]:pop3" prefork=0
#  pop3          cmd="pop3d" listen="[66.114.66.158]:pop3" prefork=0
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="sieve" prefork=0
#  sieve         cmd="timsieved" listen="[192.168.0.3]:sieve" prefork=0
#  sieve         cmd="timsieved" listen="[127.0.0.1]:sieve" 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
}

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

  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="ctl_deliver -E 3" period=1440

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" period=1440
  # this entry creates an index file for full text search
#  squatter      cmd="squatter -v -r user" period=1440
}


On Thu, Apr 11, 2002 at 11:09:54PM -0400, Lawrence Greenfield wrote:
> Don't use the same "name" for each of them.
>
> ie:
>    pop3-local          cmd="pop3d" listen="[127.0.0.1]:pop3" prefork=0
>    pop3-remote          cmd="pop3d" listen="[192.168.0.3]:pop3" prefork=0
>
> Larry
>
>    Date: Thu, 11 Apr 2002 21:43:46 -0400
>    From: Ilya <[EMAIL PROTECTED]>
>
>    Is it by design that if I setup in cyrus.conf something like this:
>    pop3          cmd="pop3d" listen="[127.0.0.1]:pop3" prefork=0
>    pop3          cmd="pop3d" listen="[192.168.0.3]:pop3" prefork=0
>
>    than after first connection to lets say 127.0.0.1, the spawned pop3d
never
>    closes, and handles all subsequent connections?
>
>    and than no connections can be made to 192.168.0.3, until I manually
kill
>    127.0.0.1 pop3d
>
>    and the other way around.
>    trying to connect second time says that connection is established, but
no server
>    prompt appears, until as I mentioned the other interface pop3d is
killed.
>    same thing with imapd.
>
>    using this works:
>    pop3          cmd="pop3d" listen="pop3" prefork=0
>    but isn't listen there to create flexibility on which interface to
listen?
>
>
>    or am I alone in seeing this problem? or is setting listen on several
ips for
>    one protocol not allowed?
>
>    freebsd 4.5 imapd 2.1.3 sasl 2.1.2
>
>

Reply via email to