Group :: Rede/E-Mail
RPM: msmtp
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: msmtp
Version: 1.4.16
Release: alt1
%def_disable gsasl
%def_enable nls
%def_enable ssl
%ifndef ssl_libs
%define ssl_libs openssl
#define ssl_libs gnutls
%endif
Summary: Mail delivering agent (MDA) that uses customizable SMTP-server
License: GPL
Group: Networking/Mail
Url: http://%name.sourceforge.net
Source: http://heanet.dl.sourceforge.net/sourceforge/%name/%name-%version.tar.bz2
Summary(ru_RU.KOI8-R): õÔÉÌÉÔÁ ÏÔÐÒÁ×ËÉ ÐÏÞÔÙ (MDA) ÞÅÒÅÚ ÐÒÏÉÚ×ÏÌØÎÙÊ SMTP-ÓÅÒ×ÅÒ
Requires(post): %install_info
Requires(preun): %uninstall_info
%if_enabled gsasl
ERROR: msmtp requires GNU SASL that is incompatible with SASL2, sorry.
BuildPreReq: libsasl2-devel
%endif
%if_enabled ssl
%if %ssl_libs==openssl
BuildPreReq: libssl-devel
%else
%if %ssl_libs==gnutls
BuildPreReq: libgnutls-devel >= 1.2, libtasn1-devel, libgpg-error-devel
%else
ERROR: Unknown value of ssl_libs macro: %ssl_libs. Valid values are: openssl, gnutls.
%endif
%endif
%package ssl
Group: Networking/Mail
Summary: Mail delivering agent (MDA) with SSL support
Summary(ru_RU.KOI8-R): õÔÉÌÉÔÁ ÏÔÐÒÁ×ËÉ ÐÏÞÔÙ (MDA) ÞÅÒÅÚ ÐÒÏÉÚ×ÏÌØÎÙÊ SMTP-ÓÅÒ×ÅÒ c SSL
Requires: %name
%description ssl
Advanced version of %name utility with TLS/SSL support.
See description of %name package for more details.
%description ssl -l ru_RU.KOI8-R
õÔÉÌÉÔÁ %name Ó ÐÏÄÄÅÒÖËÏÊ ÛÉÆÒÏ×ÁÎÉÑ ÓÅÔÅ×ÙÈ ÓÏÅÄÉÎÅÎÉÊ ÞÅÒÅÚ TLS/SSL.
óÍÏÔÒÉÔÅ ÏÐÉÓÁÎÉÅ ÐÁËÅÔÁ %name ÄÌÑ ÂÏÌÅÅ ÐÏÄÒÏÂÎÏÊ ÉÎÆÏÒÍÁÃÉÉ.
%endif
%description
msmtp is an SMTP client: it transmits a mail to an SMTP server
(for example, at a free mail provider) which does the delivery.
To use this program with your mail user agent (MUA),
create a configuration file with your mail account(s)
and tell your MUA to call msmtp instead of /usr/sbin/sendmail.
Features include:
- Sendmail compatible interface (command line options and exit codes)
- Many authentication methods: PLAIN, LOGIN, CRAM-MD5, EXTERNAL.
With GNU SASL, GSSAPI, DIGEST-MD5 and NTLM are also allowed.
- TLS/SSL encrypted connections (including server certificate verification
and optional sending of client certificate) in separate %name-ssl package
- DSN (Delivery Status Notification) support
- RMQS (Remote Message Queue Starting) support (ETRN keyword)
- PIPELINING support for increased transmission speed
- IPv6 support
- LMTP support
- support for multiple accounts
%description -l ru_RU.KOI8-R
msmtp - ÜÔÏ ÐÒÏÇÒÁÍÍÁ-ËÌÉÅÎÔ ÐÒÏÔÏËÏÌÁ SMTP.
ëÁË ÐÒÁ×ÉÌÏ, ÄÌÑ ÏÔÐÒÁ×ËÉ ÐÏÞÔÏ×ÙÈ ÓÏÏÂÝÅÎÉÊ × àÎÉËÓÅ ÉÓÐÏÌØÚÕÀÔÓÑ ÕÔÉÌÉÔÙ
mail É /usr/sbin/sendmail, ËÏÔÏÒÙÅ ÕÍÅÀÔ Ó×ÑÚÙ×ÁÔØÓÑ ÔÏÌØËÏ Ó SMTP-ÓÅÒ×ÅÒÏÍ,
ÚÁÐÕÝÅÎÎÙÍ ÌÏËÁÌØÎÏ ÎÁ ÓÔÁÎÄÁÒÔÎÏÍ ÐÏÒÔÕ 25. msmtp ÒÁÚÒÁÂÏÔÁÎ ËÁË ÁÌØÔÅÒÎÁÔÉ×Á
sendmail ÄÌÑ ÔÅÈ ÓÌÕÞÁÅ×, ËÏÇÄÁ SMTP-ÓÅÒ×ÅÒ ÒÁÓÐÏÌÏÖÅÎ ÎÁ ÄÒÕÇÏÍ ËÏÍÐØÀÔÅÒÅ
(ÕÄÏÂÎÏ ÎÁ ÒÁÂÏÞÉÈ ÓÔÁÎÃÉÑÈ) ÉÌÉ ÓÌÕÛÁÅÔ ÎÅÓÔÁÎÄÁÒÔÎÙÊ ÐÏÒÔ
(ÕÄÏÂÎÏ ÄÌÑ ÆÉÌØÔÒÁÃÉÉ ÐÏÞÔÙ Ó Ä×ÕÍÑ ÜËÚÅÍÐÌÑÒÁÍÉ Postfix SMTPD).
ïÓÎÏ×ÎÙÅ ×ÏÚÍÏÖÎÏÓÔÉ msmtp:
- ÓÏ×ÍÅÓÔÉÍÏÓÔØ Ó sendmail × ÁÒÇÕÍÅÎÔÁÈ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ É ËÏÄÁÈ ÚÁ×ÅÒÛÅÎÉÑ
- ÐÏÄÄÅÒÖËÁ ÒÁÚÎÙÈ ÓÈÅÍ ÁÕÔÅÎÔÉÆÉËÁÃÉÉ: PLAIN, LOGIN, CRAM-MD5, EXTERNAL
(ËÒÏÍÅ ÔÏÇÏ, ÐÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ GNU SASL - GSSAPI, DIGEST-MD5 É NTLM)
- ÛÉÆÒÏ×ÁÎÉÅ ÓÏÅÄÉÎÅÎÉÊ Ó ÐÏÍÏÝØÀ TLS/SSL, ×ËÌÀÞÁÑ ÐÒÏ×ÅÒËÕ ÓÅÒÔÉÆÉËÁÔÁ ÓÅÒ×ÅÒÁ,
Á ÔÁËÖÅ ÏÐÃÉÏÎÁÌØÎÕÀ ÏÔÐÒÁ×ËÕ ËÌÉÅÎÔÓËÏÇÏ ÓÅÒÔÉÆÉËÁÔÁ
- ÐÏÄÄÅÒÖËÁ DSN (Delivery Status Notification, Õ×ÅÄÏÍÌÅÎÉÅ Ï ÓÏÓÔÏÑÎÉÉ ÄÏÓÔÁ×ËÉ)
- ÐÏÄÄÅÒÖËÁ RMQS (Remote Message Queue Starting, ÚÁÐÕÓË ÏÞÅÒÅÄÉ ÓÏÏÂÝÅÎÉÊ
ÎÁ ÓÅÒ×ÅÒÅ) Ó ÐÏÍÏÝØÀ ËÌÀÞÅ×ÏÇÏ ÓÌÏ×Á ETRN
- ËÏÎ×ÅÊÅÒ (ÏÔÐÒÁ×ËÁ ÎÅÓËÏÌØËÉÈ ÓÏÏÂÝÅÎÉÊ ×ÎÕÔÒÉ ÏÄÎÏÊ SMTP-ÓÅÓÓÉÉ)
ÄÌÑ ÐÏ×ÙÛÅÎÉÑ ÓËÏÒÏÓÔÉ ÐÅÒÅÄÁÞÉ
- ÐÏÄÄÅÒÖËÁ IPv6
- ÐÏÄÄÅÒÖËÁ LMTP
- ÐÏÄÄÅÒÖËÁ ÎÅÓËÏÌØËÉÈ ÕÞ£ÔÎÙÈ ÚÁÐÉÓÅÊ SMTP × ÆÁÊÌÅ ËÏÎÆÉÇÕÒÁÃÉÉ
%prep
%setup -q
%build
%if_enabled gsasl
export ac_cv_header_gsasl_h=%_includedir/sasl/sasl.h
export GSASL_CFLAGS="-lsasl2"
%endif
%if_enabled ssl
echo "Generate binary with SSL support..."
%configure %{subst_enable nls} %{subst_enable gsasl} --enable-ssl --with-ssl=%ssl_libs
%make_build
%__mv src/%name %name-ssl
%__mv doc/%name.html . ; %__make maintainer-clean ; %__mv %name.html doc/
%endif
echo "Generate base binary..."
%configure %{subst_enable nls} %{subst_enable gsasl} --disable-ssl
%make_build
%install
%makeinstall
%if_enabled ssl
%__install -p %name-ssl %buildroot%_bindir/%name-ssl
%endif
%files
%_bindir/%name
%_man1dir/%name.*
%_infodir/%name.*
%doc AUTHORS ChangeLog NEWS README THANKS doc/Mutt+msmtp.txt doc/%name.html doc/msmtprc-*.example
%exclude %_datadir/locale/de/LC_MESSAGES/msmtp.mo
%if_enabled ssl
%files ssl
%_bindir/%name-ssl
%endif
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.4.16
Release: alt1
%def_disable gsasl
%def_enable nls
%def_enable ssl
%ifndef ssl_libs
%define ssl_libs openssl
#define ssl_libs gnutls
%endif
Summary: Mail delivering agent (MDA) that uses customizable SMTP-server
License: GPL
Group: Networking/Mail
Url: http://%name.sourceforge.net
Source: http://heanet.dl.sourceforge.net/sourceforge/%name/%name-%version.tar.bz2
Summary(ru_RU.KOI8-R): õÔÉÌÉÔÁ ÏÔÐÒÁ×ËÉ ÐÏÞÔÙ (MDA) ÞÅÒÅÚ ÐÒÏÉÚ×ÏÌØÎÙÊ SMTP-ÓÅÒ×ÅÒ
Requires(post): %install_info
Requires(preun): %uninstall_info
%if_enabled gsasl
ERROR: msmtp requires GNU SASL that is incompatible with SASL2, sorry.
BuildPreReq: libsasl2-devel
%endif
%if_enabled ssl
%if %ssl_libs==openssl
BuildPreReq: libssl-devel
%else
%if %ssl_libs==gnutls
BuildPreReq: libgnutls-devel >= 1.2, libtasn1-devel, libgpg-error-devel
%else
ERROR: Unknown value of ssl_libs macro: %ssl_libs. Valid values are: openssl, gnutls.
%endif
%endif
%package ssl
Group: Networking/Mail
Summary: Mail delivering agent (MDA) with SSL support
Summary(ru_RU.KOI8-R): õÔÉÌÉÔÁ ÏÔÐÒÁ×ËÉ ÐÏÞÔÙ (MDA) ÞÅÒÅÚ ÐÒÏÉÚ×ÏÌØÎÙÊ SMTP-ÓÅÒ×ÅÒ c SSL
Requires: %name
%description ssl
Advanced version of %name utility with TLS/SSL support.
See description of %name package for more details.
%description ssl -l ru_RU.KOI8-R
õÔÉÌÉÔÁ %name Ó ÐÏÄÄÅÒÖËÏÊ ÛÉÆÒÏ×ÁÎÉÑ ÓÅÔÅ×ÙÈ ÓÏÅÄÉÎÅÎÉÊ ÞÅÒÅÚ TLS/SSL.
óÍÏÔÒÉÔÅ ÏÐÉÓÁÎÉÅ ÐÁËÅÔÁ %name ÄÌÑ ÂÏÌÅÅ ÐÏÄÒÏÂÎÏÊ ÉÎÆÏÒÍÁÃÉÉ.
%endif
%description
msmtp is an SMTP client: it transmits a mail to an SMTP server
(for example, at a free mail provider) which does the delivery.
To use this program with your mail user agent (MUA),
create a configuration file with your mail account(s)
and tell your MUA to call msmtp instead of /usr/sbin/sendmail.
Features include:
- Sendmail compatible interface (command line options and exit codes)
- Many authentication methods: PLAIN, LOGIN, CRAM-MD5, EXTERNAL.
With GNU SASL, GSSAPI, DIGEST-MD5 and NTLM are also allowed.
- TLS/SSL encrypted connections (including server certificate verification
and optional sending of client certificate) in separate %name-ssl package
- DSN (Delivery Status Notification) support
- RMQS (Remote Message Queue Starting) support (ETRN keyword)
- PIPELINING support for increased transmission speed
- IPv6 support
- LMTP support
- support for multiple accounts
%description -l ru_RU.KOI8-R
msmtp - ÜÔÏ ÐÒÏÇÒÁÍÍÁ-ËÌÉÅÎÔ ÐÒÏÔÏËÏÌÁ SMTP.
ëÁË ÐÒÁ×ÉÌÏ, ÄÌÑ ÏÔÐÒÁ×ËÉ ÐÏÞÔÏ×ÙÈ ÓÏÏÂÝÅÎÉÊ × àÎÉËÓÅ ÉÓÐÏÌØÚÕÀÔÓÑ ÕÔÉÌÉÔÙ
mail É /usr/sbin/sendmail, ËÏÔÏÒÙÅ ÕÍÅÀÔ Ó×ÑÚÙ×ÁÔØÓÑ ÔÏÌØËÏ Ó SMTP-ÓÅÒ×ÅÒÏÍ,
ÚÁÐÕÝÅÎÎÙÍ ÌÏËÁÌØÎÏ ÎÁ ÓÔÁÎÄÁÒÔÎÏÍ ÐÏÒÔÕ 25. msmtp ÒÁÚÒÁÂÏÔÁÎ ËÁË ÁÌØÔÅÒÎÁÔÉ×Á
sendmail ÄÌÑ ÔÅÈ ÓÌÕÞÁÅ×, ËÏÇÄÁ SMTP-ÓÅÒ×ÅÒ ÒÁÓÐÏÌÏÖÅÎ ÎÁ ÄÒÕÇÏÍ ËÏÍÐØÀÔÅÒÅ
(ÕÄÏÂÎÏ ÎÁ ÒÁÂÏÞÉÈ ÓÔÁÎÃÉÑÈ) ÉÌÉ ÓÌÕÛÁÅÔ ÎÅÓÔÁÎÄÁÒÔÎÙÊ ÐÏÒÔ
(ÕÄÏÂÎÏ ÄÌÑ ÆÉÌØÔÒÁÃÉÉ ÐÏÞÔÙ Ó Ä×ÕÍÑ ÜËÚÅÍÐÌÑÒÁÍÉ Postfix SMTPD).
ïÓÎÏ×ÎÙÅ ×ÏÚÍÏÖÎÏÓÔÉ msmtp:
- ÓÏ×ÍÅÓÔÉÍÏÓÔØ Ó sendmail × ÁÒÇÕÍÅÎÔÁÈ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ É ËÏÄÁÈ ÚÁ×ÅÒÛÅÎÉÑ
- ÐÏÄÄÅÒÖËÁ ÒÁÚÎÙÈ ÓÈÅÍ ÁÕÔÅÎÔÉÆÉËÁÃÉÉ: PLAIN, LOGIN, CRAM-MD5, EXTERNAL
(ËÒÏÍÅ ÔÏÇÏ, ÐÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ GNU SASL - GSSAPI, DIGEST-MD5 É NTLM)
- ÛÉÆÒÏ×ÁÎÉÅ ÓÏÅÄÉÎÅÎÉÊ Ó ÐÏÍÏÝØÀ TLS/SSL, ×ËÌÀÞÁÑ ÐÒÏ×ÅÒËÕ ÓÅÒÔÉÆÉËÁÔÁ ÓÅÒ×ÅÒÁ,
Á ÔÁËÖÅ ÏÐÃÉÏÎÁÌØÎÕÀ ÏÔÐÒÁ×ËÕ ËÌÉÅÎÔÓËÏÇÏ ÓÅÒÔÉÆÉËÁÔÁ
- ÐÏÄÄÅÒÖËÁ DSN (Delivery Status Notification, Õ×ÅÄÏÍÌÅÎÉÅ Ï ÓÏÓÔÏÑÎÉÉ ÄÏÓÔÁ×ËÉ)
- ÐÏÄÄÅÒÖËÁ RMQS (Remote Message Queue Starting, ÚÁÐÕÓË ÏÞÅÒÅÄÉ ÓÏÏÂÝÅÎÉÊ
ÎÁ ÓÅÒ×ÅÒÅ) Ó ÐÏÍÏÝØÀ ËÌÀÞÅ×ÏÇÏ ÓÌÏ×Á ETRN
- ËÏÎ×ÅÊÅÒ (ÏÔÐÒÁ×ËÁ ÎÅÓËÏÌØËÉÈ ÓÏÏÂÝÅÎÉÊ ×ÎÕÔÒÉ ÏÄÎÏÊ SMTP-ÓÅÓÓÉÉ)
ÄÌÑ ÐÏ×ÙÛÅÎÉÑ ÓËÏÒÏÓÔÉ ÐÅÒÅÄÁÞÉ
- ÐÏÄÄÅÒÖËÁ IPv6
- ÐÏÄÄÅÒÖËÁ LMTP
- ÐÏÄÄÅÒÖËÁ ÎÅÓËÏÌØËÉÈ ÕÞ£ÔÎÙÈ ÚÁÐÉÓÅÊ SMTP × ÆÁÊÌÅ ËÏÎÆÉÇÕÒÁÃÉÉ
%prep
%setup -q
%build
%if_enabled gsasl
export ac_cv_header_gsasl_h=%_includedir/sasl/sasl.h
export GSASL_CFLAGS="-lsasl2"
%endif
%if_enabled ssl
echo "Generate binary with SSL support..."
%configure %{subst_enable nls} %{subst_enable gsasl} --enable-ssl --with-ssl=%ssl_libs
%make_build
%__mv src/%name %name-ssl
%__mv doc/%name.html . ; %__make maintainer-clean ; %__mv %name.html doc/
%endif
echo "Generate base binary..."
%configure %{subst_enable nls} %{subst_enable gsasl} --disable-ssl
%make_build
%install
%makeinstall
%if_enabled ssl
%__install -p %name-ssl %buildroot%_bindir/%name-ssl
%endif
%files
%_bindir/%name
%_man1dir/%name.*
%_infodir/%name.*
%doc AUTHORS ChangeLog NEWS README THANKS doc/Mutt+msmtp.txt doc/%name.html doc/msmtprc-*.example
%exclude %_datadir/locale/de/LC_MESSAGES/msmtp.mo
%if_enabled ssl
%files ssl
%_bindir/%name-ssl
%endif
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%changelog
…
Todas as alterações você pod ver aqui