Hans-Werner Hilse wrote:
> Hi,
>
> On Fri, 01 Jun 2007 16:29:56 +0200 Johannes Skov Frandsen
> <[EMAIL PROTECTED]> 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).
>
My server give me this response:
# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host
I have no firewall installed so it shouldn't be a firewal problem.
> 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: [EMAIL PROTECTED]
> RCPT TO: [EMAIL PROTECTED]
> 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).
>
I cant' seem to locate the log file. Any hint on the specific location?
> -hwh
>
--
Regards / Venlig hilsen
Johannes Skov Frandsen
*Address:* Egelundsvej 18, DK-5260 Odense S
*Web:* www.omesc.com | *Email:* [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list