]>
Commit | Line | Data |
---|---|---|
ffc55a11 | 1 | Summary: Simple autoresponder for qmail |
c8eed77a | 2 | Summary(pl.UTF-8): Prosty autoresponder dla qmaila |
ffc55a11 | 3 | Name: autorespond |
4 | Version: 2.0.2 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Networking | |
ffc55a11 | 8 | Source0: http://www.inter7.com/devel/%{name}-%{version}.tar.gz |
f3b087f9 | 9 | # Source0-md5: aa81f2c02b36ccd3ce58c60f0f89683e |
ea0620f6 | 10 | Patch0: %{name}.stupidity.patch |
ffc55a11 | 11 | URL: http://inter7.com/qmailadmin/ |
12 | Requires: qmail | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Mail is sent to help@my-company.com. An automatically generated | |
17 | response is sent back to the user with an address of | |
18 | "help@my-company.com". You can set the envelope sender to an empty | |
19 | string. However, some programs will parse the message for the "From:" | |
20 | field and send an autoresponse back to it. It is received at your | |
21 | autoresponder, and you now have a mail loop. | |
22 | ||
23 | This autoresponder also catches some other simple situations such as | |
24 | mail from a mailer-daemon, empty envelope sender, bulk precedence | |
25 | headers, etc. | |
26 | ||
c7be526e JR |
27 | %description -l pl.UTF-8 |
28 | Scenariusz: poczta jest wysyłana pod adres pomoc@moja-firma.com. | |
29 | Automatycznie przygotowana odpowiedź jest wysyłana nadawcy z tego | |
30 | właśnie adresu. Możesz również ustawić pusty adres nadawcy. Jednak | |
31 | pamiętaj, że niektóre programy sprawdzają ten adres nadawcy, i jeżeli | |
32 | jest on pusty, list może się odbić, powodując pętlę. | |
ffc55a11 | 33 | |
c7be526e JR |
34 | Autoresponder sprawdza się również w innych sytuacjach, takich jak: |
35 | listy od programu pocztowego, generowanie pustych nagłówków koperty, | |
36 | masowe pierwszeństwo nagłówków, itp. | |
ffc55a11 | 37 | |
38 | %prep | |
39 | %setup -q | |
ea0620f6 | 40 | %patch0 -p1 |
ffc55a11 | 41 | |
42 | %build | |
7725daec | 43 | %{__make} \ |
44 | CFLAGS="%{rpmcflags} -D_REENTRANT" \ | |
be220334 | 45 | CC="%{__cc}" |
ffc55a11 | 46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | install -d $RPM_BUILD_ROOT%{_bindir} | |
50 | ||
51 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
52 | ||
ffc55a11 | 53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
cdd9a930 | 58 | %doc README help_message qmail-auto |
ffc55a11 | 59 | %attr(755,root,root) %{_bindir}/* |