Subject: Re: Email server
To: Eric Damien Berna <eric@thiel.com>
From: David A. Gatwood <marsmail@globegate.utm.edu>
List: port-mac68k
Date: 05/19/1998 17:10:24
On Tue, 19 May 1998, Eric Damien Berna wrote:

> I'm running NetBSD/mac68k version 1.3.1 on a Mac IIcx. I'd like to set it
> up as an email server for other machines. I was already using PowerMac 8100
> running MkLinux for this purpose, but I have to give up that machine. So I
> followed the same procedure as I did when setting up the MkLinux mail
> server, but it doesn't quite work.
> 
> What I did was setup sendmail according to the instructions given at
> <http://www.sendmail.org/virtual-hosting.html> which explains how to setup
> vertual hosting with sendmail. This computer's host name is
> ftp.bernafamily.com and I want it to handle mail for all of the
> bernafamily.com domain. I also installed the qpopper package so that this
> machine would work as a pop server.
> 
> qpopper seems to work correctly, I'm able to log into and check for mail on
> this machine. But SMPT connections don't work. I'm unable to send mail
> using Eudora under Mac OS on another computer using this NetBSD machine as
> the server. I'm also unable to send mail to any accounts on this machine.

Check and see if sendmail is running.  If memory serves, sendmail can
either be executed from inetd (in which case you use a symlink and execute
it as rsmtpd or something, I think) or as a background daemon.  Either
way, it's probably not turned on by default (at least it sounds like it
isn't running).  I think the NetBSD norm is to run it as a background
daemon, and it sounds like it isn't being run at startup.  Check your
/etc/rc.conf file (is that right?) and see if sendmail is turned on, and
if not, turn it on.  If that's not an option (I don't have a NetBSD box in
front of me at the moment), dig through there and find an appropriate
place after all the networking is set up (possibly in rc.local?) to add

sendmail -bd

with whatever additional flags you deem appropriate (man sendmail).  Not
sure if there are any other required flags, but I'm pretty sure I remember
MkLinux working fine with just those, so... happy hacking.


David

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CC/FA/H/L/MC/M/MU/PA/TW d-@ s:>- a-- C++++>$ UBLAS*++++>$
P+?>$ L+++>$ !E--- W+++>$ N++(+++)>+++$ !o? K-? !w--- !O
M++>$ !V-- PS+>$ !PE- Y+>$ PGP+>$ t+++>$ 5+>++++$ !X- !R tv+>$
b++>$ !DI !D- G++(+++)>$ e>++++ h--! r--- !y-
------END GEEK CODE BLOCK------