PDA

View Full Version : Postfix error


rh-penguin
22nd November 2006, 23:08
hi,

Im using the perfect setup howto for suse 10.1 (ISP/Server installation) i was doing ok till Step 7 Postfix With SMTP-AUTH And TLS. I edited /etc/postfix/master.cf, restarted postfix, called: telnet localhost 25 and got the following:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 dude.spenguin.net ESMTP Postfix
421 dude.spenguin.net Error: timeout exceeded
Connection closed by foreign host.

Can someone fetch me an idea of what could be wrong and how i could fix this?

Thanks Alot!

falko
23rd November 2006, 18:03
When you see
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 dude.spenguin.net ESMTP Postfix

you must type
ehlo localhost

If you don't or wait too long you'll get this timeout.

rh-penguin
23rd November 2006, 18:41
ooooooo......Gotcha!
I'll try that, hopefully it works.
Thanks!

rh-penguin
23rd November 2006, 18:47
once i typed 'ehlo localhost' i Did get a 250-STARTLShowever, i didnt get250-AUTH Is that something to worry about?> What could be wrong now?

falko
24th November 2006, 17:16
This means that SMTP-AUTH doesn't work. What is the exact output?

Maybe you should compare your configuration again with the one from the tutorial.

rh-penguin
4th December 2006, 03:05
Nevermind, I thaught it had to say 250-AUTH Exactly; but the exact output i had was: [root@server1 ssl]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 server1.xxxxx.xx ESMTP Postfix
ehlo localhost
250-server1.xxxxx,xx
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME


Thanks!

falko
5th December 2006, 18:11
Looks fine! :)

todgerme
10th December 2006, 14:31
Nevermind, I thaught it had to say 250-AUTH Exactly; but the exact output i had was: [root@server1 ssl]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 server1.xxxxx.xx ESMTP Postfix
ehlo localhost
250-server1.xxxxx,xx
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME


Thanks!


Try handing mail off to the server before any DNS changes, see if it all works well:

# telnet localhost 25

> helo domain.com
> mail from:<user@domain.com>
> rcpt to:<user@domain2.com>
> data
> test
> .