1 Summary: SMTP "plugin" for MUAs
2 Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
7 Group: Networking/Utilities
8 Source0: https://marlam.de/msmtp/releases/%{name}-%{version}.tar.xz
9 # Source0-md5: b21f14b4dbeb4f0c74946d8dc34869ab
10 Patch0: %{name}-home_etc.patch
12 URL: https://marlam.de/msmtp/
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 BuildRequires: tar >= 1:1.22
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 msmtp is a simple program that works as an "SMTP plugin" for Mutt and
27 probably other MUAs (mail user agents). It forwards mails to an SMTP
28 server (for example at a free mail provider) which does the delivery.
30 - PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 and NTLM authentications
31 - TLS encrypted connections
32 - Internationalized Domain Names (IDN) support
35 - detailed error messages if something goes wrong (including the full
36 answer of the SMTP server)
37 - sendmail compatible exit codes (which most MUAs understand).
39 Simply tell your MUA to call msmtp instead of /usr/sbin/sendmail (with
40 Mutt that's just one additional line in the config file).
42 %description -l pl.UTF-8
43 msmtp to prosty program działający jako "wtyczka SMTP" dla Mutta i
44 innych klientów pocztowych (MUA - mail user agents). Przekierowuje
45 wiadomości do serwera SMTP (na przykład providera darmowych kont
46 e-mail), który je dostarcza. Możliwości obejmują:
47 - uwierzytelnianie PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 i NTLM
48 - obsługę Internationalized Domain Names (IDN)
49 - szyfrowane połączenia TLS
51 - szczegółowe komunikaty błędów w przypadku niepowodzenia (włącznie z
52 pełną odpowiedzią serwera SMTP)
53 - kody wyjścia kompatybilne z sendmailem (które rozumie większość
56 Wystarczy przekazać klientowi pocztowemu, aby wywoływał msmtp zamiast
57 /usr/sbin/sendmail (w Mutcie to po prostu dodatkowa linia w pliku
61 Summary: msmtp sendmail compatible wrapper
62 Summary(pl.UTF-8): msmtp - dowiązania symboliczne do sendmaila
63 Group: Networking/Daemons
64 Requires: %{name} = %{version}-%{release}
67 msmtp sendmail compatible wrapper.
69 %description sendmail -l pl.UTF-8
70 Dowiązania symboliczne msmtp do sendmaila.
83 --disable-silent-rules \
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_sbindir},/usr/lib,%{_sysconfdir}}
95 DESTDIR=$RPM_BUILD_ROOT
97 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/msmtprc
98 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT/usr/lib/sendmail
99 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_sbindir}/sendmail
103 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
104 rm -f scripts/Makefile*
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/postshell
110 -/usr/sbin/fix-info-dir -c %{_infodir}
112 %postun -p /sbin/postshell
113 -/usr/sbin/fix-info-dir -c %{_infodir}
115 %files -f %{name}.lang
116 %defattr(644,root,root,755)
117 %doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example scripts
118 %attr(755,root,root) %{_bindir}/*
119 %{_mandir}/man1/msmtp*
123 %defattr(644,root,root,755)
124 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
125 %attr(755,root,root) %{_sbindir}/*