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