[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sloppy option




RFC821 indicates that spaces are not allowed between
the ':' and the '<'  

   MAIL <SP> FROM:<reverse-path> <CRLF>

   RCPT <SP> TO:<forward-path> <CRLF>

   (see http://www.faqs.org/rfcs/rfc821.html )


So "MAIL FROM: <some@address.org>" is not compliant...

MSloth is so good at breaking protocols...

-Jim

On Fri, 21 Nov 2003, Bartek Krajnik wrote:

> On 21-11-2003 at 06:59:30PM +0200, Matti Aarnio wrote:
> MA> With the server started like this:
> MA>    smtpserver -s sloppy -sve -l /var/log/mail/smtpserver
> MA> 
> Or with option "S" in smtpserver.conf. I know what means "sloppy".
> But I think "MAIL FROM: <some@address.org>" is RFC compilant.
> 
> Look for this:
> rfc1846:
>    SMTP dialog example:
> 
>    ---> 220 relay.imag.fr ready
>    <--- HELO client.inria.fr
>    ---> 250 relay.imag.fr Hello client.inria.fr
>    <--- MAIL FROM: <user1@client.inria.fr>
>    ---> 250 <user1@client.inria.fr>... Sender Ok
>    <--- RCPT TO: <user2@nomail.imag.fr>
>    ---> 521 nomail.imag.fr does not accept mail
>    <--- QUIT
>    ---> 221 relay.imag.fr closing connection
> 
> or rfc2645:
> 6.  Example On-Demand Mail Relay Session
> 
>       P:  220 EXAMPLE.NET on-demand mail relay server ready
>       C:  EHLO example.org
>       P:  250-EXAMPLE.NET
>       P:  250-AUTH CRAM-MD5 EXTERNAL
>       P:  250 ATRN
>       C:  AUTH CRAM-MD5
>       P:  334 MTg5Ni42OTcxNzA5NTJASVNQLkNPTQo=
>       C:  Zm9vYmFyLm5ldCBiOTEzYTYwMmM3ZWRhN2E0OTViNGU2ZTczMzRkMzg5MAo=
>       P:  235 now authenticated as example.org
>       C:  ATRN example.org,example.com
>       P:  250 OK now reversing the connection
>       C:  220 example.org ready to receive email
>       P:  EHLO EXAMPLE.NET
>       C:  250-example.org
>       C:  250 SIZE
>       P:  MAIL FROM: <Lester.Tester@dot.foo.bar>
>       C:  250 OK
>       P:  RCPT TO: <l.eva.msg@example.com>
>       C:  250 OK, recipient accepted
>       ...
>       P:  QUIT
>       C:  221 example.org closing connection
> 
> rfc821:
> MAIL <SP> FROM:<reverse-path> <CRLF>
> 
> Do rfc's 1846 and 2645 are written with mistakes?
> 
> Bartek.
> GPG-key-ID:  0x948DE45D - http://www.bartek.indigo.pl/public_key.txt
> Fingerprint: 95E9 8E2D 1801 7864 2244  6EAA 03E5 764D 948D E45D
> 

-- 
James S. MacKinnon           Office: P-139 Avadh-Bhatia Physics Lab
Team Physics                 Voice : (780) 492-8226 [old AC 403]
University of Alberta        email : Jim.MacKinnon@Phys.UAlberta.CA
Edmonton, Canada T6G 2N5     WWW   : http://www.phys.ualberta.ca/

char*f="char*f=%c%s%c;main(){printf(f,34,f,34,10);}%c";main(){printf(f,34,f,34,10);}
for all that we know the universe could cease to exist at any mo

-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi