Patches applied.

I also made a fix to the RemoteDelivery mailet... it wasn't storing a new
'lastupdated' on the Mail each time it failed to send a message, so a
message would never move from the top of the stack.  Also documented
LinearProcessor a bit more and added some debug in there.

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: "Matthew Pangaro" <[EMAIL PROTECTED]>
To: "James Developers List" <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 9:33 AM
Subject: Re: MAIL FROM and spaces


> Hello all,
> I've attacheched a diff for a patch to the SMTPHandler that will allow
> it to handle the SIZE= extension to the MAIL FROM. It's not
> particularly complicated, but it works, and should also make the
> server a little more forgiving, in that it will now swallow any
> unexpected command after the email address. If we want to support more
> commands, we can just add them to this code block. I haven't been able
> to find anything about other extensions to MAIL FROM, but I guess we
> should keep looking. Overall, it seems like the size limiting will
> work pretty well now, after this fix and the patch serge committed
> yesterday to MimeMessageWrapper, which fixed the basic functionality.
>
> I also removed the DEEP_DEBUG parameter, which was set locally, and
> not configurable. Seemed like this could just follow the normal log
> setting pattern from the conf file.
>
> The other two patches are related to serge's fix of MimeMessageWrapper
> from yesterday. I just found all the instances where an exception was
> being caught in a try block, and the root cause wasn't being wrapped
> in the MessagingException. Seems like it's always a good idea to
> include that original exception, since it allows the caller to get
> more information, if they need it (like in the case of SMTPHandler).
>
> Matt Pangaro
> Loki Technologies
> http://www.lokitech.com
>
> ----- Original Message -----
> From: "Serge Knystautas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 05, 2001 6:49 PM
> Subject: MAIL FROM and spaces
>
>
> > Ok, after saying that all those messages didn't put a space between
> MAIL
> > FROM: and the <>, I'm seeing in EHLO mode the commands are a bit
> different.
> > I recently turned on the SIZE limit in SMTP, which means JAMES
> acknowledges
> > with an EHLO and a 250-SIZE line.  Remote servers are noticing this,
> so
> > they're sending the complementary SIZE parameter in the MAIL FROM.
> This
> > means they send the following:
> >
> > MAIL FROM:<username@domain> SIZE=2148
> >
> > Where 2148 is the number of bytes of the message.  Note there is now
> no
> > space between "...FROM:" and "<username...".  Incidentally, this
> size is
> > sent so as while it gives a series of RCPT TO commands, our server
> can see
> > if any of those users have a quota that this message would exceed,
> and then
> > reject receiving the message for that user, using a 452 reply code.
> >
> > Anyway, James is failing on this MAIL FROM format, so the size
> limitation
> > code isn't 100% just yet.  I'm not sure quite how many emails we're
> > rejecting at this point, but I'm either going to patch this or turn
> off the
> > size limit setting on my server soon.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to