From: Dan Farrell <dan@spore.ath.cx>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] postfix - how to test [ot]
Date: Sat, 2 Jun 2007 11:59:30 -0500 [thread overview]
Message-ID: <20070602115930.7e33649c@pascal.spore.ath.cx> (raw)
In-Reply-To: <20070601164429.295d1336.hilse@web.de>
On Fri, 1 Jun 2007 16:44:29 +0200
Hans-Werner Hilse <hilse@web.de> wrote:
> Hi,
>
> On Fri, 01 Jun 2007 16:29:56 +0200 Johannes Skov Frandsen
> <joe@omesc.com> 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 <server's host name> ESMTP <product id>".
>
> 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
next prev parent reply other threads:[~2007-06-02 17:10 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
2007-06-01 14:29 ` Johannes Skov Frandsen
2007-06-01 14:44 ` Hans-Werner Hilse
2007-06-02 16:59 ` Dan Farrell [this message]
2007-06-04 8:35 ` 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=20070602115930.7e33649c@pascal.spore.ath.cx \
--to=dan@spore.ath.cx \
--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