Re: Telnet: Connection closed by foreign host

From: Galen Johnson (no email)
Date: Tue Mar 05 2002 - 13:23:15 EST


It doesn't appear that cyrus is running. I don't see master in there
anywhere. Are you starting it up in both inetd.conf and as root? I
currently just have mine start up on boot. You should be able to just
type '/usr/cyrus/bin/master &" as root to kick it off. All the cyrus
info below are pipes from postfix. I assume you have master.cf set up
correctly in postfix (it appears that you do) and that you have set
mailbox_transport and fallback_transport to
"lmtp:unix:/var/imap/socket/lmtp" in postfix's main.cf...

what does your cyrus.conf and imapd.conf look like?

SIMICRO - Manou RABARY wrote:
> "" wrote:
>
>
>>Please:
>>
>>1. what is your cyruis version and your sasl setup?
>>2. how do you start cyrus imapd?
>>3. What does ps aux |grep cyrus say?
>>
>
> 1. cyrus-imap 2.0.16 cyrus-sasl-1.5.27 without krb
> 2. to start imapd /usr/cyrus/bin/imapd and I started /usr/cyrus/bin/master
>
> 3. Many many things
>
> rajako:/home/manou# ps aux |grep cyrus
> postfix 242 0.0 1.6 1884 756 ? S 16:23 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> postfix 244 0.0 1.6 1884 756 ? S 16:23 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 245 0.0 1.6 2272 776 ? S 16:23 0:00
> /usr/cyrus/bin/deliver -e -m root
> cyrus 246 0.0 1.6 2272 776 ? S 16:23 0:00
> /usr/cyrus/bin/deliver -e -m root
> postfix 247 0.0 1.6 1884 756 ? S 16:23 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 248 0.0 1.6 2272 776 ? S 16:23 0:00
> /usr/cyrus/bin/deliver -e -m root
> postfix 251 0.0 1.6 1884 756 ? S 16:23 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 252 0.0 1.6 2272 776 ? S 16:23 0:00
> /usr/cyrus/bin/deliver -e -m root
> postfix 420 0.0 1.6 1884 756 ? S 16:42 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 421 0.0 1.6 2272 776 ? S 16:42 0:00
> /usr/cyrus/bin/deliver -e -m root
> postfix 2140 0.0 1.6 1884 756 ? S 17:48 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> postfix 2141 0.0 1.6 1884 756 ? S 17:48 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 2142 0.0 1.6 2272 776 ? S 17:48 0:00
> /usr/cyrus/bin/deliver -e -m root
> postfix 2143 0.0 1.6 1884 756 ? S 17:48 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 2144 0.0 1.6 2272 776 ? S 17:48 0:00
> /usr/cyrus/bin/deliver -e -m root
> postfix 2145 0.0 1.6 1884 756 ? S 17:48 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 2146 0.0 1.6 2272 776 ? S 17:48 0:00
> /usr/cyrus/bin/deliver -e -m root
> postfix 2147 0.0 1.6 1884 756 ? S 17:48 0:00 pipe -n
> cyrus -t unix flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
> ${extension} ${user}
> cyrus 2148 0.0 1.6 2272 776 ? S 17:48 0:00
> /usr/cyrus/bin/deliver -e -m root
> cyrus 2149 0.0 1.6 2272 776 ? S 17:48 0:00
> /usr/cyrus/bin/deliver -e -m root
> root 2163 0.0 1.0 1396 480 pts/0 S 17:55 0:00 grep cyrus
>
>
>
>
>>SIMICRO - Manou RABARY wrote:
>>
>>
>>>Hello,
>>>When I try to telnet my server in distance or from localhost, it says
>>>immediately 'connection closed by foreign host'. I try with a sandard
>>>mail clients but it says that server is not responding.
>>>My /var/log/imapd.log says nothing. The same for /var/log/messages and
>>>/var/log/mail.log. Port 143 is open.
>>>
>>>Is there some proces frozen or killed or not started?
>>>Ideas?
>>>
>>>Thanks in advance
>>>Manou
>>>
>>>
>

-- 
=G=
-=* I'm sorry if doing things correctly offends you. *=-







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD