From owner-freebsd-questions Tue Jun 11 6:20:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lexx.zssm.zp.ua (lexx.zssm.zp.ua [212.8.32.8]) by hub.freebsd.org (Postfix) with ESMTP id 783E837B401 for ; Tue, 11 Jun 2002 06:20:21 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by lexx.zssm.zp.ua (8.9.2/8.9.2) with ESMTP id QAA26859; Tue, 11 Jun 2002 16:10:06 +0300 (EET DST) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id 69E9738302; Tue, 11 Jun 2002 16:06:00 +0300 (EEST) Date: Tue, 11 Jun 2002 16:06:00 +0300 (EEST) From: Alexander V Zubchenko To: Giorgos Keramidas Cc: FreeBSD Questions Subject: Re: SysAdm docs In-Reply-To: <20020611110329.GB41922@hades.hell.gr> Message-ID: <20020611155409.H89846-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings! On Tue, 11 Jun 2002, Giorgos Keramidas wrote: > That's still a bit of lacking in information. > > + Are you running a web server? > + What software are you using for that web server? > + Are those domains that you listed above configured as 'virtual domains'? > + What are the relevant parts of your configuration files for them? > + Are you using a log file with your web server? > + When the problem pops up, is there anything interesting in your logs? This is really my bad english. With my site all is ok. I can't reach some sites outside in the Internet. I'm not running this url's. I want to surf them. > > > *timeout* > > _sendmail_ > > > Jun 5 00:10:48 server sendmail[36649]: g54KAmq36649: \ > > to=, delay=01:00:00, pri=30000, \ > > stat=timeout waiting for input during message collect > > Hmmm. This looks like your Sendmail stops getting any data after a > while. Could it be that you have some firewall that blocks packets > after a while? (After, for instance, a dynamic rule expires.) No, i run firewall only for natd and bandwidth-management (i want to check prepared configuration of firewall itself before i'll turn it on. And check more than one time). In fact my firewall as 4 now looks like this: ipfw add divert... ipfw add pipe 1... ipfw pipe 1 configure... ipfw add 65000 allow ip from any to any (as You know, of course, default in kernel is 65535 deny ip from any to any, and i don't want to change this default). > Cool :) Yet another happy Postfix user. I know a lot of people who > have found Postfix easier to configure and having no need for those > extra bits of Sendmail, use it happily for a long time, and then > forget all about mail servers. Glad you got it working so quickly ;) Thx. It's really cool and easy > > > I add there above log lines. And i log all smtp traffic. From my side > > this looks like client send DATA, server (mine) reply with 354 and > > after that.. nothing. Silence from client side before timeout. That is > > for timeout which looks like timeout in both sendmail and postfix. > > After timeout my server send to client '421 Error: timeout exceeded' > > After that connection is closed w/o QUIT command. > > This doesn't look right. After the 354 responce, the client should > immediatelly start writing the message to you. Unless of course, > something is blocking the client. If you are using some sort of > firewall, what is its configuration? What rules does it use to pass > or block packets? Yes i know. And end with single dot. But it don't. And connection must not b closed by client or server. Only server close connection after receiving QUIT cmd. And after replying with '221...' But connection is closed abnormally. > > > In case, when sendmail reported premature EOM, all is similar, but > > after '421...' client reply with QUIT and connection is closed. In this case, as You can see, all is OK. As described in rfc (of course, i forget to add this info, my server reply with 221). Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua System Administrator, WWW: http://www.hermes-comp.zp.ua/ Hermes-comp, Ukraine, Zaporizhzhya, Geroev Stalingrada 50 phone/fax: +380 612 64-19-72 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message