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
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
22 BuildRoot: /tmp/%{name}-%{version}-root
23 URL: http://www.sendmail.org
24 Prereq: /sbin/chkconfig
30 Sendmail is a Mail Transport Agent, which is the program
31 that moves mail from one machine to another. Sendmail implements a
32 general internetwork mail routing facility, featuring aliasing and
33 forwarding, automatic routing to network gateways, and flexible
36 If you need the ability to send and receive mail via the internet
40 Sendmail jest programem umo¿liwiaj±cym wymianê poczty elektronicznej
41 miêdzy komputerami w sieci internet. Zajmuje siê przekazywaniem poczty
42 elektronicznej miêdzy bramkami pocztowymi i dostarczaniem przesy³ek na
43 konta docelowe. Bardzo dobrze obs³uguje aliasy pocztowe a jego dodatkowym
44 atutem jest prosta konfiguracja. Dziêki rozbudowanym mo¿liwo¶ciom
45 konfiguracyjnym jest w stanie dostarczaæ przesy³ki za po¶rednictwem
46 protoko³ów: SMTP, ESMTP, UUCP, X.400 i innych.
48 Je¿eli masz zamiar korzystaæ z poczty elektronicznej w sieci internet
49 oraz 6bone to zainstaluj ten pakiet.
52 Summary: Sendmail configuration files and m4 macros
53 Summary(pl): Pliki konfiguracyjne oraz makra m4 dla sendmaila
56 Requires: %{name} = %{version}
59 This package contains all the configuration files used to generate
60 the sendmail.cf file distributed with the base sendmail package.
61 You'll want this package if you need to reconfigure and rebuild
62 your sendmail.cf file. For example, the default sendmail.cf is
63 not configured for UUCP. If you need to send and receive mail
64 over UUCP, you may need this package to help you reconfigure sendmail.
67 Pakiet ten zawiera wszystkie pliki konfiguracyjne u¿ywane do gene-
68 rowania pliku sendmail.cf, znajduj±cego siê w pakiecie bazowym.
69 Bêdziesz potrzebowa³ tego pakietu je¿eli chcesz zmieniæ i przebudowaæ
70 konfiguracjê swojego sendmaila. Na przyk³ad, standardowy plik konfigu-
71 racyjny nie zawiera wspomagania dla poczty po UUCP. Je¿eli chcesz wy-
72 sy³aæ i odbieraæ pocztê po UUCP bêdziesz potrzebowa³ tego pakietu.
88 cat %{SOURCE1} |sed s/gid/"$GID"/g | sort | sed s/id/"$ID"/g | sort | \
89 sed s/opt/"$OPT"/g > BuildTools/Site/site.Linux.m4
95 make makemap mail.local mailstats praliases rmail
96 make smrsh LDOPTS="-s -static"
99 /usr/bin/m4 pld.mc >> ./sendmail.cf
103 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT/etc/{mail,rc.d/init.d}
106 install -d $RPM_BUILD_ROOT/usr/{bin,sbin,lib/sendmail-cf,libexec}
107 install -d $RPM_BUILD_ROOT/usr/man/man{1,5,8}
108 install -d $RPM_BUILD_ROOT/var/{run,spool/{mqueue,mail}}
110 install %{SOURCE2} $RPM_BUILD_ROOT/etc/mail/aliases
111 touch $RPM_BUILD_ROOT/etc/mail/{sendmail.{ct,cw},relay-domains}
113 for i in aliases access domaintable genericstable mailertable majordomo \
115 do touch $RPM_BUILD_ROOT/etc/mail/$i{,.db}
118 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sendmail
120 make DESTDIR=$RPM_BUILD_ROOT install
121 make DESTDIR=$RPM_BUILD_ROOT OPTIONS=force-install rmail mail.local
123 for i in hoststat mailq newaliases purgestat
124 do ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/bin/$i
126 ln -sf /usr/sbin/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
128 install cf/cf/sendmail.cf $RPM_BUILD_ROOT/etc/mail
130 cp cf/* $RPM_BUILD_ROOT/usr/lib/sendmail-cf/ -a
132 cp smrsh/README smrsh/SMRSH.txt
134 bzip2 -9 $RPM_BUILD_ROOT/usr/man/{man1/*,man5/*,man8/*}
135 bzip2 -9 README KNOWNBUGS RELEASE_NOTES smrsh/SMRSH.txt
138 /sbin/chkconfig --add sendmail
141 if [ -e /var/lock/sybsys/sendmail ]; then
142 /etc/rc.d/init.d/sendmail stop || :
146 /sbin/chkconfig --del sendmail
150 rm -rf $RPM_BUILD_ROOT
153 %defattr(644,root,root,755)
154 %doc README.bz2 KNOWNBUGS.bz2 RELEASE_NOTES.bz2 smrsh/SMRSH.txt.bz2
156 %attr(711,root,root) /usr/bin/hoststat
157 %attr(711,root,root) /usr/bin/mailq
158 %attr(711,root,root) /usr/bin/newaliases
159 %attr(711,root,root) /usr/bin/purgestat
160 %attr(755,root,root) /usr/bin/rmail
162 %attr(755,root,root) /usr/sbin/mailstats
163 %attr(755,root,root) /usr/sbin/makemap
164 %attr(755,root,root) /usr/sbin/praliases
166 %attr(4711,root,root) /usr/sbin/sendmail
168 %attr(711,root,root) /usr/lib/sendmail
169 %attr(755,root,root) /usr/libexec/mail.local
170 %attr(755,root,root) /usr/libexec/smrsh
172 %attr(644,root, man) /usr/man/man[158]/*
174 %attr(640,root,root) %config %verify(not size mtime md5) /var/run/sendmail.st
176 %attr(750,root,mail) %dir /var/spool/mqueue
178 %attr(700,root,root) %config %verify(not size mtime md5) /etc/rc.d/init.d/*
181 %defattr(644,root,root,755)
183 %dir /usr/lib/sendmail-cf
184 /usr/lib/sendmail-cf/*
186 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/mail/*
189 * Fri Jan 22 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
191 - fixed group && owner ELF bineries,
195 * Sun Jan 17 1999 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
197 - fixed sendmail.init script,
198 - compressed man pages && documentation,
199 by Micha³ Zalewski <lcamtuf@ids.pl>
200 - added patch against DoS ;)
201 - added %{name}-redirect.patch
203 * Thu Sep 10 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
205 - updated to 8.9.1a && build for PLD Tornado,
206 - build with IPv6 support
207 (patches was prepared by John Kennedy <jk@csuchico.edu>),
208 - build with Detect-Telnet support,
209 - removed subpackage doc.
211 * Thu Jul 30 1998 Wojtek Slusarczyk <wojtek@shadow.eu.org>
213 - build against glibc-2.1,
215 - added IPv6 support,
216 - translation modified for pl,
217 - moved configfiles to /etc/mail,
218 - changed permissions of all binaries to 711,
219 - moved %changelog at the end of spec,
220 - build from non root's account.
222 * Tue May 05 1998 Prospector System <bugs@redhat.com>
224 - translations modified for de, fr, tr
226 * Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
227 - enhanced initscripts
229 * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
230 - added a rmail patch
232 * Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
233 - argh! Fixed some of the db1 handling that had to be added for glibc 2.1
235 * Fri Oct 24 1997 Donnie Barnes <djb@redhat.com>
236 - added support for db1 on SPARC
238 * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
239 - added chkconfig support
240 - various spec file cleanups
241 - changed group to Networking/Daemons (from Daemons). Sure, it runs on
242 non networked systems, but who really *needs* it then?
244 * Wed Oct 08 1997 Donnie Barnes <djb@redhat.com>
245 - made /etc/mail/deny.db a ghost
246 - removed preun that used to remove deny.db (ghost handles that now)
247 - NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly
248 4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems. You
249 may need to do a makemap in /etc/mail and a newaliases after upgrading
250 from those packages. Upgrading from 4.2 or prior should be fine.
252 * Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
253 - made aliases.db a ghost
255 * Tue Sep 23 1997 Donnie Barnes <djb@redhat.com>
256 - fixed preuninstall script to handle aliases.db on upgrades properly
258 * Mon Sep 15 1997 Donnie Barnes <djb@redhat.com>
259 - fixed post-install output and changed /var/spool/mqueue to 755
261 * Thu Sep 11 1997 Donnie Barnes <djb@redhat.com>
262 - fixed /usr/lib/sendmail-cf paths
264 * Tue Sep 09 1997 Donnie Barnes <djb@redhat.com>
266 - added some spam filtration
267 - combined some makefile patches
268 - added BuildRoot support
270 * Wed Sep 03 1997 Erik Troan <ewt@redhat.com>
271 - marked initscript symlinks as missingok
272 - run newalises after creating /var/spool/mqueue
274 * Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
275 - built against glibc, udated release to -6 (skipped -5!)
277 * Tue Apr 01 1997 Erik Troan <ewt@redhat.com>
278 - Added -nsl on the Alpha (for glibc to provide NIS functions).
280 * Mon Mar 03 1997 Erik Troan <ewt@redhat.com>