>I've extended the little patch I wrote earlier to make qmail fully RFC
>1870 compliant, including the extended MAIL FROM ... SIZE syntax.
>
>You can also get it from my website, http://will.harris.ch.
Just a quick caveat - using this patch assumes that you *do* have a
databytes file... otherwise any server supplying a SIZE parameter will have
the mail rejected.
To fix this, in case you for some reason want the patch but don't want a
databytes file (wierd!), change the following added line in the patch from
> void smtp_mail(arg) char *arg;
> {
> if (!addrparse(arg)) { err_syntax(); return; }
>+ if (!sizelimit(arg)) { err_size(); return; }
to
>+ if (databytes && !sizelimit(arg)) { err_size(); return; }
That'll provide some extra security... I've made the change on the patch on
my web page too.
Will
__________________________________________________________________________
"I was going to be a Neo-Deconstructivist, but Mom wouldn't let me..."
multimedia laboratorium [EMAIL PROTECTED]
institut fuer informatik (pgp id) F703D035
der universitaet zuerich (office) +41 1 635 4346
winterthurerstr. 190 (fax) +41 1 635 6809
ch-8057 zuerich (mobile) +41 76 372 0913
switzerland www.ifi.unizh.ch/~harris
__________________________________________________________________________