From owner-freebsd-questions Sat Jan 31 15:46:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28396 for questions-outgoing; Sat, 31 Jan 1998 15:46:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from train.tgci.com (train.tgci.com [205.185.169.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA28372 for ; Sat, 31 Jan 1998 15:46:32 -0800 (PST) (envelope-from chaos@tgci.com) Received: from straycat.Wilshire.Net ([205.185.169.9]) by train.tgci.com (8.6.12/8.6.9) with SMTP id QAA05104 for ; Sat, 31 Jan 1998 16:04:46 -0800 Message-Id: <199802010004.QAA05104@train.tgci.com> Comments: Authenticated sender is From: "Riley J. McIntire" Organization: The Grantsmanship Center To: freebsd-questions@FreeBSD.ORG Date: Sat, 31 Jan 1998 15:42:33 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: help with sendmail .mc spam filters Reply-to: chaos@tgci.com X-mailer: Pegasus Mail for Win32 (v2.54) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" Hi all, Coming from a firm position of ignorance about sendmail, if anyone could help with the errors I'm getting it'd be greatly appreciated! nitetrain is running 2.2.5 Errors: Jan 31 15:27:36 nitetrain sendmail[23356]: gethostbyaddr(205.185.169.7) failed: 1 Jan 31 15:27:36 nitetrainsendmail[23356]: alias database /etc/aliases rebuilt by mary Jan 31 15:27:36 nitetrain sendmail[23356]:/etc/aliases: 21 aliases, longest 10 bytes, 212 bytes total Jan 31 15:27:36 nitetrain sendmail[23356]: NOQUEUE: SYSERR(root): hash map "Alias1": unsafe map file /usr/local/majordomo/majordomo.aliases: Permission denied Jan 31 15:27:36 nitetrain sendmail[23356]: NOQUEUE: SYSERR(root): Cannot create database for alias file /usr/local/majordomo/majordomo.aliases: Operation not supported by device Background: At this point in time I'm basically just trying to set up an alternative aliases file for majordomo. For this machine I copied the canned freebsd.mc file to train.mc. I then added the the line: define(`ALIAS_FILE', `/etc/aliases,/usr/local/majordomo/majordomo.aliases')dnl Now my understanding it that this will produce 2 aliases, the default /etc/aliases and a new one for majordomo. In perusing the system (2.2.5-R New to me) I found /etc/mail with some neat spam filters. I appended the additions file to the mc file I made, thusly: cat sendmail.cf.additions >> /path/to/ train.mc Then (in /etc/mail) "make install" which made the filter databases. After m4 ../cf.m4 train.mc > sendmail.cf, moving the new file to /etc, and restarting sendmail, we get the above errors. Thanks again, Riley