From owner-freebsd-questions Tue Jun 11 13:38:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from entropy.ms.washington.edu (entropy.ms.washington.edu [128.95.18.1]) by hub.freebsd.org (Postfix) with ESMTP id 4961337B407 for ; Tue, 11 Jun 2002 13:38:31 -0700 (PDT) Received: from entropy.ms.washington.edu (entropy.ms.washington.edu [128.95.18.1]) by entropy.ms.washington.edu (8.11.6/8.11.6) with ESMTP id g5BKamt521902; Tue, 11 Jun 2002 13:36:48 -0700 (PDT) Date: Tue, 11 Jun 2002 13:36:48 -0700 (PDT) From: Richard Fairfield To: Cc: Richard Fairfield Subject: sendmail invocation from MUA Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello: I am used to setting up "client" machines so that no sendmail daemon is running. For outgoing mail, the MUA invokes sendmail, which is configured to relay off of our local mailserver. There seems to be two ways to do this under FreebBSD, one of which I cannot make work : Option 1, which works: - In /etc/mail/freebsd.mc, define SMART_HOST. For example: define(`SMART_HOST', `mailhost.ms.washington.edu')dnl - cd /etc/mail ; make cf ; make install - chown root /usr/lib/exec/sendmail/sendmail - chmod 4755 /usr/lib/exec/sendmail/sendmail Option 2, which fails: - In /etc/mail/, define an relay host. For example: FEATURE(msp mailhost.ms.washington.edu)dnl - cd /etc/mail ; make install-submit-cf The "make install-submit-cf" command generates this error message: /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.submit.mc > freebsd.submit.cf m4: /usr/share/sendmail/cf/feature/msp mailhost.ms.washington.edu.m4: No such file or directory *** Error code 1 Stop in /etc/mail. It seems to be looking for an m4 file for the mail server, but that doesn't make sense to me. I'd prefer to use this second method. Can anyone help me get past this problem? Thank you, Richard Fairfield Math Sciences Computing Center University of Washington MSCC Departmental Telephone Number: 206-616-3636 My Office Telephone Number: 206-685-2303 Fax: 206-685-7419 rcf@ms.washington.edu **************************** System Info **************************** FreeBSD 4.5, updated with CVSup (tag=tag=RELENG_4). So I guess I'm really running 4.6 now?!? FreeBSD master.ms.washington.edu 4.6-RC FreeBSD 4.6-RC #0: Wed Jun 5 21:06:03 PDT 2002 root@master.ms.washington.edu:/usr/obj/usr/src/sys/GENERIC i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message