1 Summary: Small queueing SMTP relayer
2 Summary(pl.UTF-8): Mały agent SMTP relay kolejkujący pocztę
7 Group: Networking/Daemons
8 #Source0: ftp://omta.runlevel.net/pub/omta/%{name}-%{version}.tar.gz
9 Source0: %{name}-%{version}.tar.gz
10 # Source0-md5: 5a07f592292dce29b584d9745beb30ce
11 Source1: %{name}.inetd
12 Patch0: %{name}-FHS.patch
13 Patch1: %{name}-config.patch
14 Patch2: %{name}-%{name}.conf_path.patch
15 Patch3: %{name}-configure.patch
16 # Homepage/domain no longer exists
17 #URL: http://omta.runlevel.net/
18 BuildRequires: autoconf >= 2.53
19 BuildRequires: automake
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _spooldir /var/spool/omtaqueue
27 OMTA is an SMTP server tool wich allows people who have a dialup
28 connection to queue their mail on their hard disk, and send it to
29 their SMTP server whenever they are online.
31 OMTA has the following features:
32 - Works transparently by simulating SENDMAIL.
33 - Can relay messages to another SMTP server.
34 - It can also deliver local mail (trough procmail or similar).
35 - Has built-in SMTP server for the local machine.
36 - Users can (safely!) set their own private configuration, including
38 - Built around the K.I.S.S. principle ("Keep It Simple, Stupid!")
40 %description -l pl.UTF-8
41 OMTA jest narzędziem SMTP który umożliwia ludziom bez stałego dostępu
42 do sieci kolejkować pocztę na dysku i wysyłać ją do swojego serwera
43 SMTP kiedy tylko są online.
45 OMTA ma następujące cechy:
46 - Pracuje "przezroczyście", udając SENDMAILa
47 - Może przesyłać listy do innego serwera SMTP
48 - Może też dostarczać lokalnie pocztę (przez procmaila lub podobne)
49 - Ma wbudowany serwer SMTP dla lokalnej maszyny
50 - Użytkownicy mogą (bezpiecznie!) ustawiać ich własną konfigurację,
51 włączając w to adresy From
52 - Zbudowany w oparciu o zasadę K.I.S.S ("Keep It Simple, Stupid!")
55 Summary: Omta SMTP local server
56 Summary(pl.UTF-8): Lokalny serwer SMTP omta
57 Group: Networking/Daemons
58 Requires: %{name} = %{version}-%{release}
62 Setup tcp/25 on localhost with omta-smtp.
64 %description smtp -l pl.UTF-8
65 Pakiet włączający omta-smtp na porcie tcp/25 dla tej maszyny.
85 --with-queuepath=%{_spooldir}
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT{%{_spooldir},/usr/lib,%{_sbindir},%{_sysconfdir}/{mail,sysconfig/rc-inetd}}
93 DESTDIR=$RPM_BUILD_ROOT
95 ln -sf %{_bindir}/omta $RPM_BUILD_ROOT/usr/lib/sendmail
96 ln -sf %{_bindir}/omta $RPM_BUILD_ROOT%{_sbindir}/sendmail
97 ln -sf %{_bindir}/omta $RPM_BUILD_ROOT%{_sbindir}/in.smtpd
98 mv -f omta.conf.dist $RPM_BUILD_ROOT%{_sysconfdir}/mail/omta.conf
100 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/rc-inetd/smtpd
103 rm -rf $RPM_BUILD_ROOT
106 %defattr(644,root,root,755)
107 %doc FAQ README AUTHORS CHANGES
108 %dir %attr(770,root,mail) %{_spooldir}
109 %dir %{_sysconfdir}/mail
110 %attr(2755,root,mail) %{_bindir}/omta
111 %attr(755,root,root) %{_bindir}/mailq
112 %attr(755,root,root) /usr/lib/sendmail
113 %attr(755,root,root) %{_sbindir}/sendmail
114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/omta.conf
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_sbindir}/in.smtpd
120 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/smtpd