mailutils

Natanael Copa natanael.copa at gmail.com
Wed Oct 1 11:51:23 UTC 2008


On Sun, 2008-09-28 at 13:30 -0700, Vladimir Dronnikov wrote:
> I have heavily rewritten BB fetchmail which was perfectly incompatile with vanilla one.
> The new applet to fetch remote mailboxes content is called popmaildir (I borrowed the approach from Nikola Vladov''s code).
> It is a POP3 client with APOP support. Since the applet offers no intrinsic
> network connectivity it can be used widely. E.g.: POP3-SSL can be dirt cheap achieved using openssl helper.
> 
> Inspired by the success of the approach I have reworked sendmail network connectivity to be more consistent with the UNIX-way.
> * User credentials which are needed for secure servers which require AUTH LOGIN are now read securely from a file descriptor.
>   I plan later to occupy -K switch (soundex credentials) for specifying a user file for this need.
> * The meaning of -H switch has changed: now it stands for "connection helper". That way I got rid of hardcoded openssl call.
>   This letter, e.g., is sent via:
> 
> build/busybox sendmail -f dronnikov at gmail.com -F "Vladimir Dronnikov" 4<.cred \
> 	-H "exec openssl s_client -quiet -connect smtp.gmail.com:25 -tls1 -starttls smtp" \
> 	-a mailutils.patch.bz2
> 
> * -S switch has lost optional [user[:pass]@] prefix and now stands for just host and optional port. That way the use of SMTPHOST
>   envvar has been clarified.
> 
> These changes showed a bunch of code is common for the two applets. That is why I have moved the resulting code and lib into
> a separate directory (mailutils) under BB tree.
> 
> Denys, please, consider applying.

did basic test of sendmail (both current svn and the patch) and seems to
not break anything. I didn't try all the options though.

-nc




More information about the busybox mailing list