plambert | 9 Apr 2011 17:22
Picon

forcing TLS during cross compile to embedded system

Hi all,

I have an issue with msmtp talking to the telus mail system in Canada.

I get an error message that reports "empty packet receivd" and ends with
error "EX_PROTOCOL".

Due to the "empty" packets and knowledge that this ISP was blacklist a few
time last year leads me to believe that they're only allowing TLS access.

When cross compiling for the embedded ARM system configure reports that
TLS will not be compiled in.  I guess it can't find the libraries (it's
being built on a PC to run on the embedded system).

I tried the configure option "--with-ssl=openssl" and it still reports
that TLS will not be compiled in.  The embedded system does have the
opnssl libraries installed.

How do you configure the cross compile build to compile in the TLS support
and use the openssl libraries in the target ?.

TIA,
Peter

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
(Continue reading)

Martin Lambers | 9 Apr 2011 18:18
Picon

Re: forcing TLS during cross compile to embedded system

Hi!

On 09/04/11 17:22, plambert <at> qa.com.au wrote:
> When cross compiling for the embedded ARM system configure reports that
> TLS will not be compiled in.  I guess it can't find the libraries (it's
> being built on a PC to run on the embedded system).
> 
> I tried the configure option "--with-ssl=openssl" and it still reports
> that TLS will not be compiled in.  The embedded system does have the
> opnssl libraries installed.
> 
> How do you configure the cross compile build to compile in the TLS support
> and use the openssl libraries in the target ?.

The configure script needs to find the libraries, and in cross
compilation situations that sometimes requires a little help.

If you have your libraries for cross compilation in the directory
/cross/usr (with subdirectories lib and include), then the following
should work:

- With the latest release (1.4.23), you can give the configure script
package-specific options. For OpenSSL, that would be
./configure --with-libssl-prefix=/cross/usr.

- With the current development version, you set the environment variable
PKG_CONFIG_PATH to the (list of) pkgconfig directories. This then works
for all packages at once.
./configure PKG_CONFIG_PATH=/cross/usr/lib/pkgconfig

(Continue reading)

Martin Lambers | 16 Apr 2011 15:49
Picon

Call for testing

Hi all,

In an attempt to reduce the complexity of the msmtp package and to keep
it simple, I removed gnulib from msmtp and updated and cleaned up the
autotools files. The result is the prerelease msmtp-1.4.24-rc0,
available here: <http://www.marlam.de/msmtp-1.4.24-rc0.tar.bz2>. Please
test if this version compiles cleanly for you, especially if you use
*BSD or Mac OS X. Thank you!

Martin

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
Mark Foxwell | 20 Apr 2011 01:17
Picon

Cannot build from git: hmac-md5 errors

Hi,

I cannot current build from git as I get errors relating to the last commit that changed from hmac-md5 to md5-apps.

src/smtp.c needs to be changed as follows:

line 41
- # include "hmac-md5.h"
+ # include "md5-apps.h"

line 809
- hmac_md5(password, strlen(password), b64, len, digest);
+ md5_hmac(password, strlen(password), b64, len, digest);

If my git skills were better I would send a patch but alas they're not.

Mark
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
(Continue reading)

Martin Lambers | 20 Apr 2011 07:28
Picon

Re: Cannot build from git: hmac-md5 errors

Hi Mark!

On 20/04/11 01:17, Mark Foxwell wrote:
> I cannot current build from git as I get errors relating to the last commit that changed from hmac-md5 to md5-apps.
> 
> src/smtp.c needs to be changed as follows:
> 
> line 41
> - # include "hmac-md5.h"
> + # include "md5-apps.h"
> 
> line 809
> - hmac_md5(password, strlen(password), b64, len, digest);
> + md5_hmac(password, strlen(password), b64, len, digest);

Thank you, I applied this patch in your name:
http://msmtp.git.sourceforge.net/git/gitweb.cgi?p=msmtp/msmtp;a=commitdiff;h=885ed225aef1a5d0231702ea80bed2239f8fc6f8

Martin

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
Martin Lambers | 27 Apr 2011 12:36
Picon

msmtp 1.4.24 is released!

Hi all,

msmtp 1.4.24 is released!

This is a cleanup release that updates the build system and removes old
cruft and unnecessary complexity, without changing the functionality of
the program.

Some options to the configure script have changed; see './configure
--help'. The license of the manual was changed from the GNU FDL to a
very simple permissive license. The unmaintained pt_BR translation was
removed.

Martin

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd

Gmane