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 1HuX72-0007WG-3F for garchives@archives.gentoo.org; Sat, 02 Jun 2007 17:10:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l52H8FmF014517; Sat, 2 Jun 2007 17:08:15 GMT Received: from spore.ath.cx (c-24-245-14-14.hsd1.mn.comcast.net [24.245.14.14]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l52GxULt001199 for ; Sat, 2 Jun 2007 16:59:30 GMT Received: from pascal.spore.ath.cx (pascal.spore.ath.cx [192.168.1.100]) by spore.ath.cx (Postfix) with ESMTP id 1EB2F3696A for ; Sat, 2 Jun 2007 11:59:30 -0500 (CDT) Date: Sat, 2 Jun 2007 11:59:30 -0500 From: Dan Farrell To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] postfix - how to test [ot] Message-ID: <20070602115930.7e33649c@pascal.spore.ath.cx> In-Reply-To: <20070601164429.295d1336.hilse@web.de> 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> Organization: Spore, Ltd. X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.6; x86_64-pc-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: ee255031-69ff-406b-be0c-5d3caaec7e6c X-Archives-Hash: 6ff94660bd77cdde8e7dfccd183dccdb On Fri, 1 Jun 2007 16:44:29 +0200 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). > > 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). > > -hwh That is so cool!!! Worked for me, I use postfix on home relayhost as well. Let me know if you have more problems, sounds like we have about the same config. -- gentoo-user@gentoo.org mailing list