RE: Please help with Sendmail
You need to tell sendmail what kind of database it is. I use the following
lines in my sendmail.mc:
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(`access_db',`hash -o /etc/mail/access')dnl
The access db allows me to control who can use my SMTP service.
Since the virtusertable must be in hash format I also wrote a little script
to generate the db:
#
# Display a message saying what your doing
echo "Updating Virtual User Table Database......"
#
# Create the database, and log....except for errors
/bin/cat /etc/mail/virtusertable | /usr/sbin/makemap -v hash
/etc/mail/virtusertable>/var/log/u
pdatemaildb.log
#
# Display a message say what the hell your doing
echo "Updating Access Database......"
#
# Create the database, and log....except for errors
/bin/cat /etc/mail/access | /usr/sbin/makemap -v hash /etc/mail/access
>/var/log/accessdatabase
#
# Report that updating the database is complete
echo "Mail Databases updated"
-----Original Message-----
From: Don Hatch [mailto:donh@webpipe.net]
Sent: Tuesday, November 16, 1999 11:11 AM
To: debian-isp@lists.debian.org
Subject: Please help with Sendmail
I'm using Debian 2.1 with the default Sendmail install (I think it's 8.9).
Anyway, it works great except that I can't get the virtusertable feature to
work. I added this line to sendmail.mc: FEATURE(virtusertable). It
wouldn't let me use single quotes like I usually do. I then run
sendmailconfig, and the line shows up in sendmail.cf but any address listed
in virtusertable comes back undeliverable. Any help would be appreciated,
I'm sure I'm overlooking something easy.
Thanks,
Don Hatch
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net
--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: