[PATCH] sendmail: EHLO/HELO should use a domain

Natanael Copa natanael.copa at gmail.com
Thu Sep 25 13:17:22 UTC 2008


On Thu, 2008-09-25 at 17:02 +0400, Vladimir Dronnikov wrote:
>         It fixes this error that i currently get from postfix:
>         501 5.5.2 <natanael.copa?gmail.com>: Helo command rejected:
>         Invalid name
> 
> Sorry, Natanael, why is the question mark in the middle of the name?!

I assume thats postfix way of sanatizing hostnames?

>         if there is no attatchement then the input is converted to an
>         "attatchment". Makes sense if you really want attatchment
>         support as you
>         then can treat all parts equally more or less.
> 
> You've got the idea. By treating all parts equally we reduce code size
> and improve maintenance-ability.
> 
>         That would be great. Support for attatchemnt is higly
>         nonstandard and
>         should be an configure option.
>         ...
>         Isn't that a job for the script/program that creates the
>         message in
>         first place? sendmails job is to send mails. not compose them,
>         nor edit
>         them.
> 
> That is why a zillion of loosely coded scripts are needed to just send
> an email. I consider attachments support as a good intrinsic feature.

I would agree if you wouldn't have called your applet "sendmail".

>         > 2) Plain '.' in message: message body needs to be analyzed
>         and
>         > mangled.
>         ssmtp solves that by inserting an '.' in front of all lines
>         starting
>         with '.'
> 
> Not big deal, but the message IS then mangled.
> And it is a pain to send cyrillic text in plain. What to do with that
> if vanilla sendmail knew nothing beyond ASCII 0-127 chars? 
> 
> 
>         > But why doesn't the remote end correctly process well-packed
>         MIME
>         > messages?!
>         Because recepient is a stupid program. (gnats)
> 
> Can we somehow say them they are gNUTs :^) 

I should probably drop gnats anyway. the software aint that great.

> 
>         I'd like to have a sendmail that just sends mail and don't
>         bother whats
>         in there.
> 
> Well, I'll make FEATURE_SENDMAIL_BE_DUMB then.

I'd do the opposite. Start with a very simple/dumb sendmail and have
config options for additional features. I.E FEATURE_SENDMAIL_CHARSETS,
FEATURE_SENDMAIL_ATTATCHMENTS

> 
> That said, I will try my best.

Thanks! I guess I owe you a beer :)

-nc





More information about the busybox mailing list