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 1Hu7P8-0000rg-HA for garchives@archives.gentoo.org; Fri, 01 Jun 2007 13:42:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l51DfVvE015816; Fri, 1 Jun 2007 13:41:31 GMT Received: from gabriel.sub.uni-goettingen.de (gabriel.sub.uni-goettingen.de [134.76.163.126]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l51DZwL5008664 for ; Fri, 1 Jun 2007 13:35:58 GMT Received: by gabriel.sub.uni-goettingen.de (Postfix, from userid 8) id 374703246B5; Sun, 3 Jun 2007 11:39:25 +0200 (CEST) Received: from localhost (unknown [134.76.161.221]) by gabriel.sub.uni-goettingen.de (Postfix) with ESMTP id A2B8D3246B4 for ; Sun, 3 Jun 2007 11:39:24 +0200 (CEST) Date: Fri, 1 Jun 2007 15:35:58 +0200 From: Hans-Werner Hilse To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] postfix - how to test Message-Id: <20070601153558.571e0223.hilse@web.de> In-Reply-To: <1180703253.5404.27.camel@blackwidow.nbk> References: <466014D6.3070103@omesc.com> <1180703253.5404.27.camel@blackwidow.nbk> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.10.12; i586-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-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on gabriel.sub.uni-goettingen.de X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=ham version=2.64 X-Archives-Salt: 994341fb-0ebe-4335-b703-f5807cf02e59 X-Archives-Hash: d37cd5dc9f40c49cc1d00da7f33ed10a Hi, On Fri, 01 Jun 2007 08:07:33 -0500 Albert Hopkins wrote: > On Fri, 2007-06-01 at 14:45 +0200, Johannes Skov Frandsen wrote: > > testing if apache works is easy, you just go to http://localhost and > > see > > if something happens, > > but how do I test if postfix actual sends my mail? > > Well, you set up a web server to deliver web content. I'm assuming > you're setting up a mail server to deliver mail. So the test is to > see that it delivers mail. > > Not that I've ever used postfix, but testing a mail server should be > pretty similar for any platform. > > 1. Create a mailbox (or use a remote one) > 2. Using a MUA, for example, connect to mail server. > 3. Send message to be delivered to mailbox > 4. Verify message delivered to mailbox. Except that this is more the test case for /receiving/ mail :-) But yes, looking at the mail server's configuration, this is most likely the more interesting test case. Sending, after all, should just work fine with almost any mail server... Since OP did set up with SASL, it might also be interesting whether non-local originating mail is blocked for relay (test case: Send a mail with the server's mail domain address -- somebody@mydomain.com -- to some other server out there from a computer not in the trusted address range) and if that can be cured by proper authentication. But the OP didn't mention setting up SASL by any means. It'll probably work using PAM out-of-the-box. -hwh -- gentoo-user@gentoo.org mailing list