Re: Filter based on invalid space WAS Re: test submission on 587

2011-02-28 Thread Wietse Venema
Daniel Bromberg: > The discussion over the invalid space syntax got me thinking, so I > tracked my SMTP traffic for about 45 minutes. The only non-compliant > clients were clear spammers, save for two gray-area clients, one using > StrongMail -- surprise, surprise a

Re: Filter based on invalid space WAS Re: test submission on 587

2011-02-28 Thread Jerry
On Mon, 28 Feb 2011 16:47:45 -0500 Daniel Bromberg articulated: > The discussion over the invalid space syntax got me thinking, so I > tracked my SMTP traffic for about 45 minutes. The only non-compliant > clients were clear spammers, save for two gray-area clients, one > using StrongMail

Filter based on invalid space WAS Re: test submission on 587

2011-02-28 Thread Daniel Bromberg
The discussion over the invalid space syntax got me thinking, so I tracked my SMTP traffic for about 45 minutes. The only non-compliant clients were clear spammers, save for two gray-area clients, one using StrongMail -- surprise, surprise a purveyor of mass marketi

Re: test submission on 587

2011-02-28 Thread Noel Jones
On 2/28/2011 12:53 PM, Daniel Bromberg wrote: On 2/28/2011 12:25 PM, Claus Assmann wrote: On Mon, Feb 28, 2011, Daniel Bromberg wrote: HELO example.com Wrong. If you want to use extensions, you have to use EHLO. 250 example.com AUTH login MAIL FROM: Wrong. See the RFC, no space after ":".

Re: test submission on 587

2011-02-28 Thread Victor Duchovni
On Mon, Feb 28, 2011 at 01:53:39PM -0500, Daniel Bromberg wrote: > Obviously my > example was from a Postfix server, and obviously it worked. So I have a > little trouble with "wrong". Sure, but for posterity the list archives can reasonably steer future readers away from incorrect (even if tol

Re: test submission on 587

2011-02-28 Thread Daniel Bromberg
On 2/28/2011 12:25 PM, Claus Assmann wrote: On Mon, Feb 28, 2011, Daniel Bromberg wrote: HELO example.com Wrong. If you want to use extensions, you have to use EHLO. 250 example.com AUTH login MAIL FROM: Wrong. See the RFC, no space after ":". RCPT TO: See above. This is at least somewh

Re: test submission on 587

2011-02-28 Thread Claus Assmann
On Mon, Feb 28, 2011, Daniel Bromberg wrote: > HELO example.com Wrong. If you want to use extensions, you have to use EHLO. > 250 example.com > AUTH login > MAIL FROM: Wrong. See the RFC, no space after ":". > RCPT TO: See above.

Re: test submission on 587

2011-02-28 Thread Daniel Bromberg
# openssl s_client -connect smtp.example.com:465 220 smtp.example.com ESMTP Postfix HELO example.com 250 example.com AUTH login 334 VXNlcm5hbWU6 [the base64 encoding of "Username:" ZGFuaWVsQGJhc2V6ZW4uY29t [base64 encoding of "dan...@basezen.com"] 334 UGFzc3dvcmQ6 [and of "Password:"] [base64

Re: test submission on 587

2011-02-28 Thread Daniel Bromberg
On 2/28/2011 11:17 AM, Wietse Venema wrote: jeffrey j donovan: Thanks I guess blew past that,.. okay so just kill the session and use a client. I thought i would be able to then send or type a test message like MAIL FROM: soandso -j You can ( openssl s_client -connect host:port provid

Re: test submission on 587

2011-02-28 Thread Wietse Venema
jeffrey j donovan: > Thanks > I guess blew past that,.. okay so just kill the session and use > a client. I thought i would be able to then send or type a test > message like MAIL FROM: soandso > -j You can ( openssl s_client -connect host:port provided that you avoid the R and Q chara

Re: test submission on 587

2011-02-28 Thread jeffrey j donovan
On Feb 28, 2011, at 9:58 AM, Daniel Bromberg wrote: > On 2/28/2011 9:13 AM, jeffrey j donovan wrote: >> If the port requires TLS: >>> $ openssl s_client -quiet -starttls smtp -connect host:587 >>> helo client.example.com >>> mail from: >>> etc. >>> >>> Otherwise: >>> >>> $ telnet host 587 >>> h

Re: test submission on 587

2011-02-28 Thread Daniel Bromberg
On 2/28/2011 9:13 AM, jeffrey j donovan wrote: If the port requires TLS: $ openssl s_client -quiet -starttls smtp -connect host:587 helo client.example.com mail from: etc. Otherwise: $ telnet host 587 helo client.example.com mail from: etc. Wietse thank you all looks like Im working

Re: test submission on 587

2011-02-28 Thread jeffrey j donovan
On Feb 27, 2011, at 4:37 PM, Wietse Venema wrote: > jeffrey j donovan: >> greetings >> how can i test submission to port 587 from command line ? >> >> I am setting up a relay for my some users to use when they are off site. >> Those that have verizon need to use 587 >> I want to watch each ste

Re: test submission on 587

2011-02-27 Thread Noel Jones
On 2/27/2011 4:33 PM, Wietse Venema wrote: Noel Jones: $ openssl s_client -quiet -starttls smtp -connect host:587 helo client.example.com mail from: Caution: s_client uses R and Q for itself, so send lower case commands (rcpt to and quit). Wietse I believe "r" and "q" are reserved a

Re: test submission on 587

2011-02-27 Thread Wietse Venema
Noel Jones: > $ openssl s_client -quiet -starttls smtp -connect host:587 > helo client.example.com > mail from: > >>> > >>> Caution: s_client uses R and Q for itself, so send lower case commands > >>> (rcpt to and quit). > >>> > >>> Wietse > >> > >> I believe "r" and "q" are reserv

Re: test submission on 587

2011-02-27 Thread Noel Jones
On 2/27/2011 4:04 PM, Wietse Venema wrote: Noel Jones: On 2/27/2011 3:44 PM, Wietse Venema wrote: Wietse Venema: jeffrey j donovan: greetings how can i test submission to port 587 from command line ? I am setting up a relay for my some users to use when they are off site. Those that have v

Re: test submission on 587

2011-02-27 Thread Wietse Venema
Noel Jones: > On 2/27/2011 3:44 PM, Wietse Venema wrote: > > Wietse Venema: > >> jeffrey j donovan: > >>> greetings > >>> how can i test submission to port 587 from command line ? > >>> > >>> I am setting up a relay for my some users to use when they are off site. > >>> Those that have verizon ne

Re: test submission on 587

2011-02-27 Thread Noel Jones
On 2/27/2011 3:44 PM, Wietse Venema wrote: Wietse Venema: jeffrey j donovan: greetings how can i test submission to port 587 from command line ? I am setting up a relay for my some users to use when they are off site. Those that have verizon need to use 587 I want to watch each step through

Re: test submission on 587

2011-02-27 Thread Wietse Venema
Wietse Venema: > jeffrey j donovan: > > greetings > > how can i test submission to port 587 from command line ? > > > > I am setting up a relay for my some users to use when they are off site. > > Those that have verizon need to use 587 > > I want to watch each step through so that i can make su

Re: test submission on 587

2011-02-27 Thread Patrick Ben Koetter
* jeffrey j donovan : > greetings > how can i test submission to port 587 from command line ? > > I am setting up a relay for my some users to use when they are off site. > Those that have verizon need to use 587 I want to watch each step through so > that i can make sure I have a clean path. If

Re: test submission on 587

2011-02-27 Thread Noel Jones
On 2/27/2011 3:21 PM, jeffrey j donovan wrote: greetings how can i test submission to port 587 from command line ? # telnet localhost 587 if you get a greeting from postfix, then postfix is listening. Good. If you require STARTTLS encryption, you can test that with # openssl s_client -conne

Re: test submission on 587

2011-02-27 Thread Wietse Venema
jeffrey j donovan: > greetings > how can i test submission to port 587 from command line ? > > I am setting up a relay for my some users to use when they are off site. > Those that have verizon need to use 587 > I want to watch each step through so that i can make sure I have a clean path. If t

test submission on 587

2011-02-27 Thread jeffrey j donovan
greetings how can i test submission to port 587 from command line ? I am setting up a relay for my some users to use when they are off site. Those that have verizon need to use 587 I want to watch each step through so that i can make sure I have a clean path. -j