Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] postfix - how to test
Date: Fri, 01 Jun 2007 13:42:59
Message-Id: 20070601153558.571e0223.hilse@web.de
In Reply to: Re: [gentoo-user] postfix - how to test by Albert Hopkins
1 Hi,
2
3 On Fri, 01 Jun 2007 08:07:33 -0500 Albert Hopkins <marduk@g.o>
4 wrote:
5
6 > On Fri, 2007-06-01 at 14:45 +0200, Johannes Skov Frandsen wrote:
7 > > testing if apache works is easy, you just go to http://localhost and
8 > > see
9 > > if something happens,
10 > > but how do I test if postfix actual sends my mail?
11 >
12 > Well, you set up a web server to deliver web content. I'm assuming
13 > you're setting up a mail server to deliver mail. So the test is to
14 > see that it delivers mail.
15 >
16 > Not that I've ever used postfix, but testing a mail server should be
17 > pretty similar for any platform.
18 >
19 > 1. Create a mailbox (or use a remote one)
20 > 2. Using a MUA, for example, connect to mail server.
21 > 3. Send message to be delivered to mailbox
22 > 4. Verify message delivered to mailbox.
23
24 Except that this is more the test case for /receiving/ mail :-)
25 But yes, looking at the mail server's configuration, this is most
26 likely the more interesting test case. Sending, after all, should just
27 work fine with almost any mail server...
28
29 Since OP did set up with SASL, it might also be interesting whether
30 non-local originating mail is blocked for relay (test case: Send a mail
31 with the server's mail domain address -- somebody@××××××××.com -- to
32 some other server out there from a computer not in the trusted address
33 range) and if that can be cured by proper authentication. But the OP
34 didn't mention setting up SASL by any means. It'll probably work using
35 PAM out-of-the-box.
36
37
38 -hwh
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] postfix - how to test Johannes Skov Frandsen <joe@×××××.com>