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 [EMAIL PROTECTED] -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[:[EMAIL PROTECTED] 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.
TIA,
--
Vladimir
mailutils.patch.bz2
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
