Checking aliases file

Barry Margolin barmar at think.COM
Sat Jun 24 06:57:20 AEST 1989


Does anyone have a routine that will check a mail aliases file (as
used by sendmail), looking for common syntax errors?  In particular,
people here often forget to put a comma after a name when adding to
the end of a line, i.e. if the mailing list originally looked like

my-list:  frank, ernie,
	  /archives/my-list

when bert adds himself he might write

my-list:  frank, ernie, bert
	  /archives/my-list

which gets parsed by sendmail as the address "bert /archives/my-list".
If you've got something that will detect these missing commas, we'd
really appreciate it.

Barry Margolin
Thinking Machines Corp.

barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.unix.questions mailing list