Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 1998 15:42:33 +0000
From:      "Riley J. McIntire" <chaos@tgci.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   help with sendmail .mc spam filters 
Message-ID:  <199802010004.QAA05104@train.tgci.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802010004.QAA05104>