freebsd-dev/etc
Brian Somers cd3384a7ec Adjust the mail reject output so that it gives an abreviated reason for the
reject.  For example:

Checking for rejected mail hosts:
  48 getherbalnow.info (451... resolve)
  46 absorb.com (451... resolve)
   4 tgmart01.codns.com (553... exist)
   3 kali.com.cn (451... resolve)
   2 genie.com (451... resolve)
   1 zv.qy (553... exist)
   1 zd.hinet.hr (553... exist)
   ....

The bit in parenthesis is the reject code and the last word on the line -
enough to give the admin a better chance of seeing real problems (hopefully!).

While I'm here, remove the "<" at the start of rejects coming from "from"
addresses without a name@ part.

I had to rewrite the patch given by the submitter as this script has been
sed'ified (used to be perl) and I think the reject code is useful....

PR:		17377
Idea from:	root at ns dot internet dot dk
MFC after:	7 days
2005-01-11 02:08:53 +00:00
..
bluetooth
defaults Another prism2 card (not sure what, if anything, is needed for >=5) 2005-01-11 00:40:00 +00:00
etc.alpha
etc.amd64
etc.arm Add ttyu0 as a serial console, as we're using the uart(4) driver on arm. 2004-09-24 12:51:15 +00:00
etc.i386
etc.ia64 turn off getty(8) on ttyv[0-7]. We don't support syscons on ia64 and 2004-10-17 22:20:39 +00:00
etc.powerpc
etc.sparc64 Catch up with the new device name of sab(4). The entries for tty[a,b] 2004-12-04 14:03:45 +00:00
isdn Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
mail
mtree Unbreak the install. 2005-01-10 09:04:13 +00:00
namedb Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
pam.d Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
periodic Adjust the mail reject output so that it gives an abreviated reason for the 2005-01-11 02:08:53 +00:00
ppp Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456]. 2004-11-19 17:12:56 +00:00
rc.d Use "KEYWORD: shutdown" so shutdown commands will actually be executed. 2004-12-20 18:34:10 +00:00
root
sendmail
amd.map
apmd.conf
auth.conf
crontab
csh.cshrc
csh.login
csh.logout
devd.conf When ukbd0 arrives, attach to /dev/ukbd0 rather then /dev/kbd1 since 2005-01-08 06:00:24 +00:00
devfs.conf
dhclient.conf
disktab
fbtab
ftpusers
gettytab
group
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf
login.access
login.conf
mac.conf
Makefile NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
man.alias
master.passwd
minfree
motd
netconfig
netstart
network.subr 'all' argument for list_net_interfaces() is now unused, remove it. 2004-12-05 21:45:36 +00:00
networks
newsyslog.conf
nls.alias
nsmb.conf
opieaccess
pccard_ether Correct syntactical weirdness in a call to /etc/rc.d/dhclient. Fixes: 2005-01-04 16:52:15 +00:00
pf.conf Bring in some examples (and create space for future work here): 2004-09-14 01:07:19 +00:00
pf.os Update the passive OS fingerprint database from OpenBSD. 2004-09-14 00:30:14 +00:00
phones
printcap
profile
protocols
rc Remove an unused variable. 2004-10-08 14:23:49 +00:00
rc.bsdextended Give users the ability to load a mac_bsdextended(4) ruleset on boot (defaults 2004-09-29 00:12:28 +00:00
rc.firewall
rc.firewall6
rc.initdiskless Use utils from /rescue vs. /stand. Also use pax rather than cpio & gzip. 2004-12-12 08:04:26 +00:00
rc.resume
rc.sendmail
rc.shutdown Improve the RC framework for the clean booting/shutdown of Jails: 2004-12-14 14:36:35 +00:00
rc.subr Cosmetic typo in check_pidfile() 2005-01-09 23:46:37 +00:00
rc.suspend
remote Reflect sio driver device name change cuaa -> cuad 2004-10-13 08:32:34 +00:00
rpc
services Add 3653/tcp and 3653/udp, since they were specifically requested. 2004-08-16 11:52:22 +00:00
shells
sysctl.conf
syslog.conf
termcap.small
usbd.conf Move the purely device-name based entries for mice and ethernet 2004-11-28 23:16:00 +00:00