背景:
阅读新闻
msmtp在RHEL6.5下的安装
[日期:2014-05-25] 来源:Linux社区 作者:ovcer [字体:]
msmtp在RHEL6.5下的安装
企业级监控软件Zabbix搭建部署之使用mutt+msmtp配置Zabbix邮件报警
Mutt+Gmail+msmtp+Ubuntu命令行发送邮件
GNU/Linux下Gmail的mutt+msmtp+getmail解决方案
1.解压
[root@zabbix ~]# tar -jxvf msmtp-1.4.32.tar.bz2
2.配置
[root@zabbix ~]# cd msmtp-1.4.32
[root@zabbix msmtp-1.4.32]# ./configure --prefix=/usr/local/msmtp --sysconfdir=/usr/local/msmtp/etc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for fmemopen... yes
checking for fseeko... yes
checking for fseeko64... yes
checking for getpass... yes
checking for getservbyname... yes
checking for link... yes
checking for mkstemp... yes
checking for sigaction... yes
checking for strndup... yes
checking for syslog... yes
checking for vasprintf... yes
checking for library containing nanosleep... none required
checking for library containing socket... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libgnutls... no
configure: WARNING: library libgnutls not found:
configure: WARNING: No package 'gnutls' found
configure: WARNING: libgnutls is provided by GnuTLS; Debian package: libgnutls-dev
checking for libssl... no
configure: WARNING: library libssl not found:
configure: WARNING: No package 'openssl' found
configure: WARNING: libssl is provided by OpenSSL; Debian package: libssl-dev
configure: WARNING: Neither GnuTLS nor OpenSSL found, disabling TLS/SSL support
checking for libgsasl... no
configure: WARNING: library libgsasl not found:
configure: WARNING: No package 'libgsasl' found
configure: WARNING: libgsasl is provided by GNU SASL; Debian package: libgsasl7-dev
checking for libidn... no
configure: WARNING: library libidn not found:
configure: WARNING: No package 'libidn' found
configure: WARNING: libidn is provided by GNU Libidn; Debian package: libidn11-dev
checking for libgnome_keyring... no
configure: WARNING: library libgnome-keyring not found:
configure: WARNING: No package 'gnome-keyring-1' found
configure: WARNING: libgnome-keyring is provided by Gnome; Debian package: libgnome-keyring-dev
checking for SecKeychainGetVersion... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile