1 Summary: SMTP "plugin" for MUAs
2 Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
7 Group: Networking/Utilities
8 Source0: http://downloads.sourceforge.net/msmtp/%{name}-%{version}.tar.xz
9 # Source0-md5: 82b0520b57db4b2cf05333d11fb5974d
10 Patch0: %{name}-home_etc.patch
12 URL: http://msmtp.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake >= 1:1.11.1
15 BuildRequires: gettext-tools
16 BuildRequires: gnutls-devel >= 1.2.0
17 BuildRequires: gsasl-devel
18 BuildRequires: libidn-devel
19 BuildRequires: libsecret-devel
20 BuildRequires: pkgconfig
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 msmtp is a simple program that works as an "SMTP plugin" for Mutt and
25 probably other MUAs (mail user agents). It forwards mails to an SMTP
26 server (for example at a free mail provider) which does the delivery.
28 - PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 and NTLM authentications
29 - TLS encrypted connections
30 - Internationalized Domain Names (IDN) support
33 - detailed error messages if something goes wrong (including the full
34 answer of the SMTP server)
35 - sendmail compatible exit codes (which most MUAs understand).
37 Simply tell your MUA to call msmtp instead of /usr/sbin/sendmail (with
38 Mutt that's just one additional line in the config file).
40 %description -l pl.UTF-8
41 msmtp to prosty program działający jako "wtyczka SMTP" dla Mutta i
42 innych klientów pocztowych (MUA - mail user agents). Przekierowuje
43 wiadomości do serwera SMTP (na przykład providera darmowych kont
44 e-mail), który je dostarcza. Możliwości obejmują:
45 - uwierzytelnianie PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 i NTLM
46 - obsługę Internationalized Domain Names (IDN)
47 - szyfrowane połączenia TLS
49 - szczegółowe komunikaty błędów w przypadku niepowodzenia (włącznie z
50 pełną odpowiedzią serwera SMTP)
51 - kody wyjścia kompatybilne z sendmailem (które rozumie większość
54 Wystarczy przekazać klientowi pocztowemu, aby wywoływał msmtp zamiast
55 /usr/sbin/sendmail (w Mutcie to po prostu dodatkowa linia w pliku
59 Summary: msmtp sendmail compatible wrapper
60 Summary(pl.UTF-8): msmtp - dowiązania symboliczne do sendmaila
61 Group: Networking/Daemons
62 Requires: %{name} = %{version}-%{release}
63 Obsoletes: /usr/lib/sendmail
66 msmtp sendmail compatible wrapper.
68 %description sendmail -l pl.UTF-8
69 Dowiązania symboliczne msmtp do sendmaila.
82 --disable-silent-rules \
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT{%{_sbindir},/usr/lib,%{_sysconfdir}}
94 DESTDIR=$RPM_BUILD_ROOT
96 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/msmtprc
97 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT/usr/lib/sendmail
98 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_sbindir}/sendmail
102 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
103 rm -f scripts/Makefile*
106 rm -rf $RPM_BUILD_ROOT
108 %post -p /sbin/postshell
109 -/usr/sbin/fix-info-dir -c %{_infodir}
111 %postun -p /sbin/postshell
112 -/usr/sbin/fix-info-dir -c %{_infodir}
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
116 %doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example scripts
117 %attr(755,root,root) %{_bindir}/*
118 %{_mandir}/man1/msmtp*
122 %defattr(644,root,root,755)
123 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
124 %attr(755,root,root) %{_sbindir}/*