I am using vimap, squirrelmail and sendmail.Can any one explain me how the imap communicates with sendmail ?.I have imap file in /etc/xinetd.d:

# default: off
# description: The IMAP service allows remote users to access their mail using \
# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
# Communicator.
service imap
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
Does it sends request on socket (IP+Port) or it simply reads files stored by sendmail?