From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hv87h-0004Zi-2X for garchives@archives.gentoo.org; Mon, 04 Jun 2007 08:41:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l548do6H001724; Mon, 4 Jun 2007 08:39:50 GMT Received: from mail-smtp2.ode.cdnet.dk (mail-smtp2.ode.cdnet.dk [85.218.129.5]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l548ZhPL029627 for ; Mon, 4 Jun 2007 08:35:43 GMT Received: from localhost (localhost [127.0.0.1]) by mail-smtp2.ode.cdnet.dk (Postfix) with ESMTP id 0489C8A02E for ; Mon, 4 Jun 2007 10:35:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at cdnet.dk X-Spam-Flag: NO X-Spam-Score: -2.895 X-Spam-Level: X-Spam-Status: No, score=-2.895 tagged_above=-99 required=8 tests=[ALL_TRUSTED=-1.8, AWL=-0.355, BAYES_20=-0.74] Received: from mail-smtp2.ode.cdnet.dk ([127.0.0.1]) by localhost (mail-smtp2.ode.cdnet.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G+qv5r4K7MlQ for ; Mon, 4 Jun 2007 10:35:39 +0200 (CEST) Received: from [192.168.0.6] (unknown [85.218.191.254]) by mail-smtp2.ode.cdnet.dk (Postfix) with ESMTP id 9EAFE8A02F for ; Mon, 4 Jun 2007 10:35:39 +0200 (CEST) Message-ID: <4663CEDB.1040209@omesc.com> Date: Mon, 04 Jun 2007 10:35:39 +0200 From: Johannes Skov Frandsen User-Agent: Thunderbird 2.0.0.0 (X11/20070516) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] postfix - how to test References: <466014D6.3070103@omesc.com> <1180703253.5404.27.camel@blackwidow.nbk> <20070601153558.571e0223.hilse@web.de> <46602D64.1080106@omesc.com> <20070601164429.295d1336.hilse@web.de> In-Reply-To: <20070601164429.295d1336.hilse@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 247cc422-5e4b-4744-ab90-9d5d66f97b94 X-Archives-Hash: 1d10f1b18b3f3e6f13c3985b13975d59 Hans-Werner Hilse wrote: > Hi, > > On Fri, 01 Jun 2007 16:29:56 +0200 Johannes Skov Frandsen > wrote: > > >> Well I guess I should have expected it to rather simple to test. But I >> have never tried to configure a mailserver before >> hence my somewhat naive question. >> >> So what I did was to change my smtp server in thunderbird to use >> localhost (with my postfix server running) and the send a >> mail. This failed! Thunderbirds just claims that it could not connect >> to the server... >> >> I'm obvious doing something really simple completely wrong, but >> what? >> > > Start with telnet or even better netcat ("nc") and try connecting > directly, e.g. "nc localhost smtp" (replace "nc" by "telnet" if you > have that installed -- you might need to install one of the utilities, > in that case, chose netcat). > My server give me this response: # telnet localhost smtp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host I have no firewall installed so it shouldn't be a firewal problem. > The server should respond with > "220 ESMTP ". > > If not, check > - whether "localhost" can be resolved (your /etc/hosts might be borked) > - if there's a overly jealous firewall active, that doesn't allow this > traffic. > > You can then try talking to your mail server directly (simple SMTP is > fast to learn), e.g. enter > > ---snip > MAIL FROM: blah@blubb.org > RCPT TO: myuser@mydomain.com > DATA > Subject: Test > > this is a test. > . > QUIT > ---snip > (server will send replies not printed here) > > Do the same coming from the outside, in order to make sure that those > attempts are blocked. Otherwise you'll create an open relay and you'll > be blocked very soon on several other hosts. > > If you're not sure what is wrong, that might warrant a look into > postfix' log files (below /var/log). > I cant' seem to locate the log file. Any hint on the specific location? > -hwh > -- Regards / Venlig hilsen Johannes Skov Frandsen *Address:* Egelundsvej 18, DK-5260 Odense S *Web:* www.omesc.com | *Email:* joe@omesc.com -- gentoo-user@gentoo.org mailing list