發表文章

目前顯示的是 2月, 2011的文章

msmtp im embedded system

msmtp im embedded system 網站:http://msmtp.sourceforge.net/ 1. msmtp is an SMTP client. 2. Authentication methods PLAIN, LOGIN, CRAM-MD5, DIGEST-MD5, GSSAPI, and NTLM. 3. TLS/SSL both in SMTP-over-SSL mode and in STARTTLS mode. Full certificate trust checks can be performed. A client certificate can be sent. 編譯需要下列 Libraries GnuTLS , 可用 OpenSSL 代替 GNU SASL (Using the GNU SASL library adds support for the GSSAPI, DIGEST-MD5, and NTLM authentication methods. (The methods PLAIN, LOGIN, and CRAM-MD5 are always supported).) GNU Libidn (Support for Internationalized Domain Names (IDN) is available if you have GNU Libidn installed.) 1. OpenSSL 1.0.0c tar -xf openssl-1.0.0c.tar.gz cd openssl-1.0.0c ./Configure linux-generic32 no-asm shared --prefix=`pwd`/install --openssldir=`pwd`/install 打開 Makefile 找到 CC= gcc 修改為 CC= arm-linux-gcc make make install 將 install/include/ install/lib/ 兩個目錄複製到 arm-linux-gcc 的 include 和 lib 裡面 ( example: /opt/crosstool/arm-linux/gcc-3