3 # [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
4 # [I] Most used mail server.
8 # [D] sendmail.8.12.7.tar.bz2 ftp://ftp.sendmail.org/pub/sendmail/
10 # sendmail will be installed with prefix=/usr cause
11 # generic settings for most systems.
14 srcdir=sendmail-8.12.5
18 echo "HDW: building main sendmail distribution"
19 cd sendmail ; sh Build ; cd ..
21 echo "HDW: building sendmail configuration files"
22 cd cf/cf ; cp generic-linux.mc sendmail.mc
23 sh Build sendmail.cf ;
24 [ -f /etc/mail/sendmail.cf ] && \
25 mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf.old
28 rm -Rf `which sendmail` ;
30 echo "creating sendmail group and user"
32 useradd smmsp -s /bin/false -g smmsp -G smmsp -d none
34 echo "installing sendmail distribution"
36 cd sendmail ; sh Build install ; cd .. ;
38 # disable utilities to be installed here:
40 utils="editmap lib* mail.local mailstats \
41 makemap praliases rmail smrsh vacation"
43 echo "installing sendmail utilities"
46 echo "+building $util" ; cd $util && \
47 sh Build install ; cd ..
50 # echo "+editmap" ; cd editmap && sh Build install ; cd ..
51 # echo "+libsmdb" ; cd libsmdb && sh Build install ; cd ..
52 # echo "+mailstats";cd mailstats && sh Build install ; cd ..
53 # echo "+makemap" ; cd makemap && sh Build install ; cd ..
54 # echo "+rmail" ; cd rmail && sh Build install ; cd ..
55 # echo "+smrsh" ; cd smrsh && sh Build install ; cd ..
56 # echo "+praliases";cd praliases && sh Build install ; cd ..
60 #exit=0 ; # will be used in the new abort system.
61 # useless using trap :)