1 Summary: SMTP "plugin" for MUAs
6 Group: Networking/Daemons
7 Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
8 # Source0-md5: ca7becb55bcc8177d75f1912f5668ff5
9 BuildRequires: openssl-devel
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 msmtp is a simple program that works as an "SMTP plugin" for Mutt and
14 probably other MUAs (mail user agents). It forwards mails to an SMTP
15 server (for example at a free mail provider) which does the delivery.
17 - SMTP AUTH methods PLAIN, LOGIN and CRAM-MD5
18 - TLS encrypted connections
21 - detailed error messages if something goes wrong (including the full
22 answer of the SMTP server)
23 - sendmail compatible exit codes (which most MUAs understand). Simply
24 tell your MUA to call msmtp instead of /usr/sbin/sendmail (with Mutt
25 that's just one additional line in the config file).
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39 install msmtp $RPM_BUILD_ROOT%{_bindir}/msmtp
40 install msmtp.1 $RPM_BUILD_ROOT%{_mandir}/man1
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc AUTHORS COPYING ChangeLog README THANKS
48 %attr(755,root,root) %{_bindir}/*
49 %{_mandir}/man1/msmtp*