]>
Commit | Line | Data |
---|---|---|
69c7cea9 | 1 | Summary: SMTP "plugin" for MUAs |
2 | Name: msmtp | |
5bcde693 | 3 | Version: 0.3.1 |
69c7cea9 | 4 | Release: 0.1 |
5 | License: GPL | |
6 | Group: Networking/Daemons | |
8e76feb0 | 7 | Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz |
5bcde693 | 8 | # Source0-md5: ca7becb55bcc8177d75f1912f5668ff5 |
69c7cea9 | 9 | BuildRequires: openssl-devel |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
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. | |
16 | Features include: | |
17 | - SMTP AUTH methods PLAIN, LOGIN and CRAM-MD5 | |
18 | - TLS encrypted connections | |
19 | - IPv6 support | |
20 | - robustness | |
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). | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
32 | CC="%{__cc}" \ | |
33 | CFLAGS="%{rpmcflags}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
38 | ||
39 | install msmtp $RPM_BUILD_ROOT%{_bindir}/msmtp | |
40 | install msmtp.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc AUTHORS COPYING ChangeLog README THANKS | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %{_mandir}/man1/msmtp* |