sendmail: removed (will add exim)
This commit is contained in:
parent
8db1d4930f
commit
a346fc32ba
@ -1,131 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/mail/
|
||||
-rw-r--r-- root/root etc/mail/Makefile
|
||||
-rw-r--r-- root/root etc/mail/aliases
|
||||
-rw-r--r-- root/root etc/mail/aliases.db (EMPTY)
|
||||
drwxr-xr-x root/root etc/mail/cf/
|
||||
-rw-r--r-- root/root etc/mail/cf/README
|
||||
drwxr-xr-x root/root etc/mail/cf/cf/
|
||||
-rw-r--r-- root/root etc/mail/cf/cf/generic-linux.cf
|
||||
-rw-r--r-- root/root etc/mail/cf/cf/generic-linux.mc
|
||||
drwxr-xr-x root/root etc/mail/cf/domain/
|
||||
-rw-r--r-- root/root etc/mail/cf/domain/generic.m4
|
||||
drwxr-xr-x root/root etc/mail/cf/feature/
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/accept_unqualified_senders.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/accept_unresolvable_domains.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/access_db.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/allmasquerade.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/always_add_domain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/authinfo.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/bestmx_is_local.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/bitdomain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/blacklist_recipients.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/compat_check.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/conncontrol.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/delay_checks.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/dnsbl.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/domaintable.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/enhdnsbl.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/generics_entire_domain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/genericstable.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/greet_pause.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/ldap_routing.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/limited_masquerade.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/local_lmtp.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/local_no_masquerade.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/local_procmail.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/lookupdotdomain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/loose_relay_check.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/mailertable.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/masquerade_entire_domain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/masquerade_envelope.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/msp.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/mtamark.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/no_default_msa.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/nocanonify.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/notsticky.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/nouucp.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/nullclient.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/preserve_local_plus_detail.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/preserve_luser_host.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/promiscuous_relay.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/queuegroup.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/ratecontrol.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/redirect.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/relay_based_on_MX.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/relay_entire_domain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/relay_hosts_only.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/relay_local_from.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/relay_mail_from.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/smrsh.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/stickyhost.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/use_client_ptr.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/use_ct_file.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/use_cw_file.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/uucpdomain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/virtuser_entire_domain.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/feature/virtusertable.m4
|
||||
drwxr-xr-x root/root etc/mail/cf/m4/
|
||||
-rw-r--r-- root/root etc/mail/cf/m4/cf.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/m4/cfhead.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/m4/proto.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/m4/version.m4
|
||||
drwxr-xr-x root/root etc/mail/cf/mailer/
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/cyrus.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/cyrusv2.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/fax.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/local.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/mail11.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/phquery.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/pop.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/procmail.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/qpage.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/smtp.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/usenet.m4
|
||||
-rw-r--r-- root/root etc/mail/cf/mailer/uucp.m4
|
||||
drwxr-xr-x root/root etc/mail/cf/ostype/
|
||||
-rw-r--r-- root/root etc/mail/cf/ostype/linux.m4
|
||||
drwxr-xr-x root/root etc/mail/cf/sh/
|
||||
-rw-r--r-- root/root etc/mail/cf/sh/makeinfo.sh
|
||||
-rw-r--r-- root/root etc/mail/helpfile
|
||||
-rw-r--r-- root/root etc/mail/local-host-names (EMPTY)
|
||||
-rw-r--r-- root/root etc/mail/sendmail.cf
|
||||
-rw-r--r-- root/root etc/mail/sendmail.mc
|
||||
-rw------- root/root etc/mail/statistics (EMPTY)
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/sendmail
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
lrwxrwxrwx root/root usr/bin/hoststat -> ../sbin/sendmail
|
||||
lrwxrwxrwx root/root usr/bin/mailq -> ../sbin/sendmail
|
||||
lrwxrwxrwx root/root usr/bin/newaliases -> ../sbin/sendmail
|
||||
lrwxrwxrwx root/root usr/bin/purgestat -> ../sbin/sendmail
|
||||
-rwxr-xr-x root/root usr/bin/vacation
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/libmilter/
|
||||
-rw-r--r-- root/root usr/include/libmilter/mfapi.h
|
||||
-rw-r--r-- root/root usr/include/libmilter/mfdef.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libmilter.a
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/mailq.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/newaliases.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/vacation.1.gz
|
||||
drwxr-xr-x root/root usr/man/man5/
|
||||
-rw-r--r-- root/root usr/man/man5/aliases.5.gz
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/mailstats.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/makemap.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/praliases.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/sendmail.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/smrsh.8.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/mailstats
|
||||
-rwxr-xr-x root/root usr/sbin/makemap
|
||||
-rwxr-xr-x root/root usr/sbin/praliases
|
||||
-rwsr-xr-x root/root usr/sbin/sendmail
|
||||
-rwxr-xr-x root/root usr/sbin/smrsh
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/spool/
|
||||
drwxr-xr-x root/root var/spool/mqueue/
|
@ -1,6 +0,0 @@
|
||||
3ee264f266988582628f4846b29412ff aliases
|
||||
b8beb17bbd902abe29769bea02fdceb5 sendmail
|
||||
5f29c94b42e0bb74d546b2ae84203a1e sendmail.8.13.8.tar.gz
|
||||
f58ec5515e1c19aaa3d6ab1e9d1d51fb sendmail.mc
|
||||
8447ea0f862a5e5519cc3c0659470e47 sendmail.mk
|
||||
01b8884ef1b04d8cb057c73348975ed2 site.config.m4
|
@ -1,51 +0,0 @@
|
||||
# Description: Mail Transfer Agent
|
||||
# URL: http://sendmail.org/
|
||||
# Maintainer: Per Lidén, core-ports at crux dot nu
|
||||
|
||||
name=sendmail
|
||||
version=8.13.8
|
||||
release=1
|
||||
source=(http://www.sendmail.org/ftp/$name.$version.tar.gz \
|
||||
aliases sendmail sendmail.mk sendmail.mc site.config.m4)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
mkdir -p $PKG/usr/{bin,sbin,lib} $PKG/etc/rc.d \
|
||||
$PKG/usr/man/man{1,5,8} $PKG/var/spool/mqueue \
|
||||
$PKG/etc/mail/cf/{cf,sh,domain,feature,m4,mailer,ostype}
|
||||
|
||||
sed "s/#CFLAGS#/$CFLAGS/" ../site.config.m4 > devtools/Site/site.config.m4
|
||||
|
||||
(cd libmilter; ./Build; DESTDIR=$PKG ./Build install)
|
||||
(cd sendmail; ./Build; DESTDIR=$PKG ./Build install-set-user-id)
|
||||
(cd mailstats; ./Build; DESTDIR=$PKG ./Build install)
|
||||
(cd makemap; ./Build; DESTDIR=$PKG ./Build install)
|
||||
(cd smrsh; ./Build; DESTDIR=$PKG ./Build install)
|
||||
(cd praliases; ./Build; DESTDIR=$PKG ./Build install)
|
||||
(cd vacation; ./Build; DESTDIR=$PKG ./Build install)
|
||||
|
||||
install -D -m 755 ../sendmail $PKG/etc/rc.d/sendmail
|
||||
install -D -m 644 ../sendmail.mc $PKG/etc/mail/sendmail.mc
|
||||
install -D -m 644 ../sendmail.mk $PKG/etc/mail/Makefile
|
||||
install -D -m 644 ../aliases $PKG/etc/mail/aliases
|
||||
touch $PKG/etc/mail/aliases.db
|
||||
touch $PKG/etc/mail/local-host-names
|
||||
cp cf/README $PKG/etc/mail/cf
|
||||
cp cf/cf/generic-linux.* $PKG/etc/mail/cf/cf
|
||||
cp cf/domain/generic.m4 $PKG/etc/mail/cf/domain
|
||||
cp cf/feature/* $PKG/etc/mail/cf/feature
|
||||
cp cf/m4/* $PKG/etc/mail/cf/m4
|
||||
cp cf/sh/* $PKG/etc/mail/cf/sh
|
||||
cp cf/mailer/* $PKG/etc/mail/cf/mailer
|
||||
cp cf/ostype/linux.m4 $PKG/etc/mail/cf/ostype
|
||||
make -C $PKG/etc/mail sendmail.cf
|
||||
|
||||
ln -sf ../sbin/sendmail $PKG/usr/bin/newaliases
|
||||
ln -sf ../sbin/sendmail $PKG/usr/bin/mailq
|
||||
ln -sf ../sbin/sendmail $PKG/usr/bin/hoststat
|
||||
ln -sf ../sbin/sendmail $PKG/usr/bin/purgestat
|
||||
|
||||
chown -R root.root $PKG
|
||||
chmod -R +w $PKG
|
||||
chmod 4755 $PKG/usr/sbin/sendmail
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
#
|
||||
# /etc/mail/aliases
|
||||
#
|
||||
# NOTE! The program "newaliases" must be run after this file
|
||||
# is updated for any changes to show through to sendmail.
|
||||
#
|
||||
|
||||
# Basic system aliases -- these MUST be present.
|
||||
MAILER-DAEMON: postmaster
|
||||
postmaster: root
|
||||
|
||||
# Redirect root mail to personal account
|
||||
#root: <user>
|
||||
|
||||
# End of file
|
@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/sendmail: start/stop sendmail daemon
|
||||
#
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
if [ ! -s /etc/mail/aliases.db ]; then
|
||||
/usr/bin/newaliases > /dev/null
|
||||
fi
|
||||
/usr/sbin/sendmail -bd -q20m
|
||||
;;
|
||||
stop)
|
||||
if [ -f /var/run/sendmail.pid ]; then
|
||||
kill `head -1 /var/run/sendmail.pid`
|
||||
rm -f /var/run/sendmail.pid
|
||||
else
|
||||
killall -q /usr/sbin/sendmail
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
@ -1,14 +0,0 @@
|
||||
#
|
||||
# /etc/mail/sendmail.mc: sendmail(8) configuration
|
||||
#
|
||||
|
||||
OSTYPE(linux)
|
||||
DOMAIN(generic)
|
||||
FEATURE(`no_default_msa')
|
||||
define(`confPRIVACY_FLAGS',`authwarnings,needmailhelo,novrfy,noexpn,noetrn,noverb')
|
||||
# Only accept connections from localhost
|
||||
DAEMON_OPTIONS(`Family=inet, Addr=127.0.0.1, Port=25, Name=MTA')
|
||||
MAILER(local)
|
||||
MAILER(smtp)
|
||||
|
||||
# End of file
|
@ -1,13 +0,0 @@
|
||||
#
|
||||
# Makefile for sendmail(8) configuration
|
||||
#
|
||||
|
||||
all: sendmail.cf aliases.db
|
||||
|
||||
sendmail.cf: sendmail.mc
|
||||
m4 cf/m4/cf.m4 sendmail.mc > sendmail.cf
|
||||
|
||||
aliases.db: aliases
|
||||
newaliases > /dev/null
|
||||
|
||||
# End of file
|
@ -1,6 +0,0 @@
|
||||
define(`confCCOPTS', `#CFLAGS#')
|
||||
define(`confENVDEF', `-DNETINET6')
|
||||
define(`confMANROOTMAN', `/usr/man/man')
|
||||
define(`confDONT_INSTALL_CATMAN')
|
||||
define(`confINSTALL_RAWMAN')
|
||||
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
|
Loading…
Reference in New Issue
Block a user