public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] postfix - how to test
Date: Fri, 1 Jun 2007 15:35:58 +0200	[thread overview]
Message-ID: <20070601153558.571e0223.hilse@web.de> (raw)
In-Reply-To: <1180703253.5404.27.camel@blackwidow.nbk>

Hi,

On Fri, 01 Jun 2007 08:07:33 -0500 Albert Hopkins <marduk@gentoo.org>
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



  parent reply	other threads:[~2007-06-01 13:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01 12:45 [gentoo-user] postfix - how to test Johannes Skov Frandsen
2007-06-01 12:58 ` Hans-Werner Hilse
2007-06-01 13:07 ` Albert Hopkins
2007-06-01 13:28   ` Galevsky
2007-06-01 13:35   ` Hans-Werner Hilse [this message]
2007-06-01 14:29     ` Johannes Skov Frandsen
2007-06-01 14:44       ` Hans-Werner Hilse
2007-06-02 16:59         ` [gentoo-user] postfix - how to test [ot] Dan Farrell
2007-06-04  8:35         ` [gentoo-user] postfix - how to test Johannes Skov Frandsen
2007-06-04 13:34           ` Arturo 'Buanzo' Busleiman
2007-06-05 16:53           ` Dan Farrell
2007-06-06 11:19             ` Johannes Skov Frandsen
2007-06-06 12:14               ` Hans-Werner Hilse
2007-06-06 16:13                 ` Dan Farrell
2007-06-06 17:12                   ` Hans-Werner Hilse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070601153558.571e0223.hilse@web.de \
    --to=hilse@web.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox