postfix oddities.... 220 *******

2003-01-10 Thread Roger Abrahamsson
Hello.

Currently trying to set up a test postfix server with smtp auth, with 
sasl and tls. Got everything working eventually, at least from 
localhost. I can login, authenticate with plaintext etc.
However, when trying to access that server from a host not in 
mynetworks it echos a funny 220 header like this:


Escape character is '^]'.
220 


if I then try a ehlo like:

ehlo localhost

I get:
502 Error: command not implemented


however if I do the exact same steps in connecting from a host in 
mynetworks, (or localhost) I get :

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 tassy.obbit.se ESMTP Postfix
ehlo localhost
250-tassy.obbit.se
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-AUTH=LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-XVERP
250 8BITMIME

Anyone seen this? It probably is something very simple, but I'm stuck at 
the moment, so any help would be appreciated.

/Roger

--
Roger Abrahamsson
Sys/Net Admin, Obbit AB


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



postfix oddities.... 220 *******

2003-01-10 Thread Bulent Murtezaoglu
 RA == Roger Abrahamsson [EMAIL PROTECTED] writes:
[...]
RA Escape character is '^]'.  220 
[...]

Cisco PIX firewall with the SMTP option does this.  Is there a PIX in
the path?  If so, it'll be trouble.  It used to be broken in several
ways.  PIX admins who go for this option tend to be uncooperative to
the point of coming across as ignorant and dense.  All in my humble
experience, YMMV.

cheers,

BM


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: postfix oddities.... 220 *******

2003-01-10 Thread Bart-Jan Vrielink
On vr, 2003-01-10 at 14:45, Roger Abrahamsson wrote:

 Currently trying to set up a test postfix server with smtp auth, with 
 sasl and tls. Got everything working eventually, at least from 
 localhost. I can login, authenticate with plaintext etc.
 However, when trying to access that server from a host not in 
 mynetworks it echos a funny 220 header like this:
 
 
 Escape character is '^]'.
 220 

PIX firewall ??

 if I then try a ehlo like:
 
 ehlo localhost
 
 I get:
 502 Error: command not implemented

PIX firewalls don't know how to properly speak (e)smtp, and this causes
errors. Best way to fix this is on the PIX itself (make sure you have
the latest patches etc. and consider disabling the smtp fixup mode), but
as a workaround you could disable esmtp on the postfix box, by having
this in main.cf:
smtp_always_send_ehlo = no
smtp_never_send_ehlo = yes

-- 
Tot ziens,
Bart-Jan Vrielink


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: postfix oddities.... 220 *******

2003-01-10 Thread Roger Abrahamsson
A PIX  Firewall was the reason.. thank you all for the quick help.. Now 
I shall have a little
talk with the guy who configured that one ,-)

Have a nice weekend.

/Roger

Roger Abrahamsson wrote:

Hello.

Currently trying to set up a test postfix server with smtp auth, with 
sasl and tls. Got everything working eventually, at least from 
localhost. I can login, authenticate with plaintext etc.
However, when trying to access that server from a host not in 
mynetworks it echos a funny 220 header like this:


Escape character is '^]'.
220 


if I then try a ehlo like:

ehlo localhost

I get:
502 Error: command not implemented


however if I do the exact same steps in connecting from a host in 
mynetworks, (or localhost) I get :

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 tassy.obbit.se ESMTP Postfix
ehlo localhost
250-tassy.obbit.se
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-AUTH=LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-XVERP
250 8BITMIME

Anyone seen this? It probably is something very simple, but I'm stuck 
at the moment, so any help would be appreciated.

/Roger


--
Roger Abrahamsson
Sys/Net Admin, Obbit AB



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: postfix oddities.... 220 *******

2003-01-10 Thread Jose Celestino
Words by Roger Abrahamsson [Fri, Jan 10, 2003 at 03:38:47PM +0100]:
 A PIX  Firewall was the reason.. thank you all for the quick help.. Now 
 I shall have a little
 talk with the guy who configured that one ,-)
 

Or failed to configure it as

fixup protocol smtp 25

comes by default.

 Hello.
 
 Currently trying to set up a test postfix server with smtp auth, with 
 sasl and tls. Got everything working eventually, at least from 
 localhost. I can login, authenticate with plaintext etc.
 However, when trying to access that server from a host not in 
 mynetworks it echos a funny 220 header like this:
 
 
 Escape character is '^]'.
 220 
 

-- 
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc

Don't summarize. Don't abbreviate. Don't interpret. -- djb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]