1 Summary: Sendmail -- mail transport agent
2 Summary(pl): Sendmail -- aplikacja do obs³ugi poczty elektronicznej
6 Copyright: distributable (similar to, but not quite BSD)
7 Group: Networking/Daemons
8 Group(pl): Sieci/Demony
9 URL: http://www.sendmail.org
10 Source0: ftp://ftp.sendmail.org/pub/sendmail/%{name}.%{version}.tar.gz
11 Source1: site.Linux.m4
14 Source4: site.Linux.ppc.m4
15 Patch0: %{name}-ip6.patch
16 Patch1: %{name}-telnet.patch
17 Patch2: %{name}-path.patch
18 Patch3: %{name}-rmail.patch
19 Patch4: %{name}-pld.mc.patch
20 Patch5: %{name}-DoS.patch
21 Patch6: %{name}-redirect.patch
24 Prereq: /sbin/chkconfig
25 BuildRoot: /tmp/%{name}-%{version}-root
28 Sendmail is a Mail Transport Agent, which is the program
29 that moves mail from one machine to another. Sendmail implements a
30 general internetwork mail routing facility, featuring aliasing and
31 forwarding, automatic routing to network gateways, and flexible
34 If you need the ability to send and receive mail via the internet
38 Sendmail jest programem umo¿liwiaj±cym wymianê poczty elektronicznej
39 miêdzy komputerami w sieci Internet. Zajmuje siê przekazywaniem poczty
40 elektronicznej miêdzy bramkami pocztowymi i dostarczaniem przesy³ek na
41 konta docelowe. Bardzo dobrze obs³uguje aliasy pocztowe a jego dodatkowym
42 atutem jest prosta konfiguracja. Dziêki rozbudowanym mo¿liwo¶ciom
43 konfiguracyjnym jest w stanie dostarczaæ przesy³ki za po¶rednictwem
44 protoko³ów: SMTP, ESMTP, UUCP, X.400 i innych.
46 Je¿eli masz zamiar korzystaæ z poczty elektronicznej w sieci Internet
47 oraz 6bone to zainstaluj ten pakiet.
50 Summary: Sendmail configuration files and m4 macros
51 Summary(pl): Pliki konfiguracyjne oraz makra m4 dla sendmaila
54 Requires: %{name} = %{version}
57 This package contains all the configuration files used to generate
58 the sendmail.cf file distributed with the base sendmail package.
59 You'll want this package if you need to reconfigure and rebuild
60 your sendmail.cf file. For example, the default sendmail.cf is
61 not configured for UUCP. If you need to send and receive mail
62 over UUCP, you may need this package to help you reconfigure sendmail.
65 Pakiet ten zawiera wszystkie pliki konfiguracyjne u¿ywane do gene-
66 rowania pliku sendmail.cf, znajduj±cego siê w pakiecie bazowym.
67 Bêdziesz potrzebowa³ tego pakietu je¿eli chcesz zmieniæ i przebudowaæ
68 konfiguracjê swojego sendmaila. Na przyk³ad, standardowy plik konfigu-
69 racyjny nie zawiera wspomagania dla poczty po UUCP. Je¿eli chcesz wy-
70 sy³aæ i odbieraæ pocztê po UUCP bêdziesz potrzebowa³ tego pakietu.
86 cat %{SOURCE1} |sed s/gid/"$GID"/g | sort | sed s/id/"$ID"/g | sort | \
87 sed s/opt/"$OPT"/g > BuildTools/Site/site.Linux.m4
93 make makemap mail.local mailstats praliases rmail
94 make smrsh LDOPTS="-s -static"
97 /usr/bin/m4 pld.mc >> ./sendmail.cf
101 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT/etc/{mail,rc.d/init.d}
104 install -d $RPM_BUILD_ROOT/usr/{bin,sbin,lib/sendmail-cf,libexec}
105 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
106 install -d $RPM_BUILD_ROOT/var/{run,spool/{mqueue,mail}}
108 install %{SOURCE2} $RPM_BUILD_ROOT/etc/mail/aliases
109 touch $RPM_BUILD_ROOT/etc/mail/{sendmail.{ct,cw},relay-domains}
111 for i in aliases access domaintable genericstable mailertable majordomo \
113 do touch $RPM_BUILD_ROOT/etc/mail/$i{,.db}
116 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sendmail
118 make DESTDIR=$RPM_BUILD_ROOT install
119 make DESTDIR=$RPM_BUILD_ROOT OPTIONS=force-install rmail mail.local
121 for i in hoststat mailq newaliases purgestat
122 do ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/bin/$i
124 ln -sf /usr/sbin/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail
126 install cf/cf/sendmail.cf $RPM_BUILD_ROOT/etc/mail
128 cp cf/* $RPM_BUILD_ROOT%{_libdir}/sendmail-cf/ -a
130 cp smrsh/README smrsh/SMRSH.txt
132 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,man5/*,man8/*}
133 gzip -9nf README KNOWNBUGS RELEASE_NOTES smrsh/SMRSH.txt
136 /sbin/chkconfig --add sendmail
139 if [ -e /var/lock/sybsys/sendmail ]; then
140 /etc/rc.d/init.d/sendmail stop || :
144 /sbin/chkconfig --del sendmail
148 rm -rf $RPM_BUILD_ROOT
151 %defattr(644,root,root,755)
152 %doc README.gz KNOWNBUGS.gz RELEASE_NOTES.gz smrsh/SMRSH.txt.gz
154 %attr(711,root,root) /usr/bin/hoststat
155 %attr(711,root,root) /usr/bin/mailq
156 %attr(711,root,root) /usr/bin/newaliases
157 %attr(711,root,root) /usr/bin/purgestat
158 %attr(755,root,root) /usr/bin/rmail
160 %attr(755,root,root) /usr/sbin/mailstats
161 %attr(755,root,root) /usr/sbin/makemap
162 %attr(755,root,root) /usr/sbin/praliases
164 %attr(4711,root,root) /usr/sbin/sendmail
166 %attr(711,root,root) %{_libdir}/sendmail
167 %attr(755,root,root) /usr/libexec/mail.local
168 %attr(755,root,root) /usr/libexec/smrsh
170 %{_mandir}/man[158]/*
172 %attr(640,root,root) %config %verify(not size mtime md5) /var/run/sendmail.st
174 %attr(750,root,mail) %dir /var/spool/mqueue
176 %attr(700,root,root) %config %verify(not size mtime md5) /etc/rc.d/init.d/*
179 %defattr(644,root,root,755)
181 %{_libdir}/sendmail-cf
183 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/mail/*
186 * Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
188 - "Obsoletes: smtpdaemon" instead a lot of obsoletes
189 - simplification in %files
190 - gzipping instead bzipping
192 * Fri Jan 22 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
194 - fixed group && owner ELF bineries,
198 * Sun Jan 17 1999 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
200 - fixed sendmail.init script,
201 - compressed man pages && documentation,
202 by Micha³ Zalewski <lcamtuf@ids.pl>
203 - added patch against DoS ;)
204 - added %{name}-redirect.patch
206 * Thu Sep 10 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
208 - updated to 8.9.1a && build for PLD Tornado,
209 - build with IPv6 support
210 (patches was prepared by John Kennedy <jk@csuchico.edu>),
211 - build with Detect-Telnet support,
212 - removed subpackage doc.
214 * Thu Jul 30 1998 Wojtek Slusarczyk <wojtek@shadow.eu.org>
216 - build against glibc-2.1,
218 - added IPv6 support,
219 - translation modified for pl,
220 - moved configfiles to /etc/mail,
221 - changed permissions of all binaries to 711,
222 - moved %changelog at the end of spec,
223 - build from non root's account.
225 * Tue May 05 1998 Prospector System <bugs@redhat.com>
227 - translations modified for de, fr, tr
229 * Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
230 - enhanced initscripts
232 * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
233 - added a rmail patch
235 * Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
236 - argh! Fixed some of the db1 handling that had to be added for glibc 2.1
238 * Fri Oct 24 1997 Donnie Barnes <djb@redhat.com>
239 - added support for db1 on SPARC
241 * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
242 - added chkconfig support
243 - various spec file cleanups
244 - changed group to Networking/Daemons (from Daemons). Sure, it runs on
245 non networked systems, but who really *needs* it then?
247 * Wed Oct 08 1997 Donnie Barnes <djb@redhat.com>
248 - made /etc/mail/deny.db a ghost
249 - removed preun that used to remove deny.db (ghost handles that now)
250 - NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly
251 4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems. You
252 may need to do a makemap in /etc/mail and a newaliases after upgrading
253 from those packages. Upgrading from 4.2 or prior should be fine.
255 * Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
256 - made aliases.db a ghost
258 * Tue Sep 23 1997 Donnie Barnes <djb@redhat.com>
259 - fixed preuninstall script to handle aliases.db on upgrades properly
261 * Mon Sep 15 1997 Donnie Barnes <djb@redhat.com>
262 - fixed post-install output and changed /var/spool/mqueue to 755
264 * Thu Sep 11 1997 Donnie Barnes <djb@redhat.com>
265 - fixed /usr/lib/sendmail-cf paths
267 * Tue Sep 09 1997 Donnie Barnes <djb@redhat.com>
269 - added some spam filtration
270 - combined some makefile patches
271 - added BuildRoot support
273 * Wed Sep 03 1997 Erik Troan <ewt@redhat.com>
274 - marked initscript symlinks as missingok
275 - run newalises after creating /var/spool/mqueue
277 * Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
278 - built against glibc, udated release to -6 (skipped -5!)
280 * Tue Apr 01 1997 Erik Troan <ewt@redhat.com>
281 - Added -nsl on the Alpha (for glibc to provide NIS functions).
283 * Mon Mar 03 1997 Erik Troan <ewt@redhat.com>