Configuring E-mail Services on a Standalone Wkst

Michael Wallendahl mwallend at spikus.com
Wed Jan 21 21:17:25 PST 2004


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


More information about the freebsd-questions mailing list