Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2004 21:17:19 -0800
From:      Michael Wallendahl <mwallend@spikus.com>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: Configuring E-mail Services on a Standalone Wkst
Message-ID:  <20040122051719.GA65205@armand.spikus.com>
In-Reply-To: <400F3CA7.5060900@earthlink.net>
References:  <400A3A0A.5040708@earthlink.net> <20040120205402.GA13848@zi025.glhnet.mhn.de> <400F3CA7.5060900@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 21, 2004 at 09:59:51PM -0500, Bob Perry wrote:
> 
> I started by opening the freebsd.mc file to edit the define line for 
> Dialup users,
> entered the appropriate mail server name, saved the file and rebuilt it.  I
> ran the sendmail -q command and got the following error message:
> 
> su-2.05b# sendmail -q
> /etc/mail/sendmail.cf: line 66: unknown configuration line "
> "
> 
> As I was logging out, there were also a number of messages on my 
> screen..."line 66: unknown configuration line "\n"
> 
> Line 66 is blank.  Can anyone shed some light on this problem.  My 
> editor is vi.
 
Could there be a space on line 66?  Sendmaili .mc files are picky about
spaces in blank lines.

(I just had a thought--maybe sendmail is complaining about line 66 of
the compiled .cf file? If so, the typo could be on any line of the
source .mc file.)

> I've already posted this to the sendmail list and received several 
> suggestions.
> However, the issue is still very much open and could be a FreeBSD/vi 
> issue

I successfully use vi to edit my sendmail .mc file.

-Mike



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