1 Summary: SMTP "plugin" for MUAs
2 Summary(pl): "Wtyczka" SMTP dla klientów pocztowych (MUA)
7 Group: Networking/Daemons
8 Source0: http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
9 # Source0-md5: f98d0e411c868ee679e2f22805434580
10 Patch0: %{name}-home_etc.patch
12 URL: http://msmtp.sourceforge.net/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: gnutls-devel >= 1.2.0
16 BuildRequires: gsasl-devel
17 BuildRequires: pkgconfig
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 msmtp is a simple program that works as an "SMTP plugin" for Mutt and
22 probably other MUAs (mail user agents). It forwards mails to an SMTP
23 server (for example at a free mail provider) which does the delivery.
25 - PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 and NTLM authentications
26 - TLS encrypted connections
27 - Internationalized Domain Names (IDN) support
30 - detailed error messages if something goes wrong (including the full
31 answer of the SMTP server)
32 - sendmail compatible exit codes (which most MUAs understand).
34 Simply tell your MUA to call msmtp instead of /usr/sbin/sendmail (with
35 Mutt that's just one additional line in the config file).
38 msmtp to prosty program dzia³aj±cy jako "wtyczka SMTP" dla Mutta i
39 innych klientów pocztowych (MUA - mail user agents). Przekierowuje
40 wiadomo¶ci do serwera SMTP (na przyk³ad providera darmowych kont
41 e-mail), który je dostarcza. Mo¿liwo¶ci obejmuj±:
42 - uwierzytelnianie PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 i NTLM
43 - obs³ugê Internationalized Domain Names (IDN)
44 - szyfrowane po³±czenia TLS
46 - szczegó³owe komunikaty b³êdów w przypadku niepowodzenia (w³±cznie z
47 pe³n± odpowiedzi± serwera SMTP)
48 - kody wyj¶cia kompatybilne z sendmailem (które rozumie wiêkszo¶æ
51 Wystarczy przekazaæ klientowi pocztowemu, aby wywo³ywa³ msmtp zamiast
52 /usr/sbin/sendmail (w Mutcie to po prostu dodatkowa linia w pliku
56 Summary: msmtp sendmail compatible wrapper
57 Summary(pl): msmtp - dowi±zania symboliczne do sendmaila
58 Group: Networking/Daemons
59 Requires: %{name} = %{version}-%{release}
60 Provides: /usr/lib/sendmail
61 Obsoletes: /usr/lib/sendmail
64 msmtp sendmail compatible wrapper.
66 %description sendmail -l pl
67 Dowi±zania symboliczne msmtp do sendmaila.
74 %{__aclocal} -I gnulib/m4
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT{%{_sbindir},/usr/lib,%{_sysconfdir}}
86 DESTDIR=$RPM_BUILD_ROOT
88 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/msmtprc
89 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT/usr/lib/sendmail
90 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_sbindir}/sendmail
94 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
97 rm -rf $RPM_BUILD_ROOT
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
103 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example
108 %attr(755,root,root) %{_bindir}/*
109 %{_mandir}/man1/msmtp*
113 %defattr(644,root,root,755)
114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
115 %attr(755,root,root) %{_sbindir}/*