Hello, the problem is that the sendmail.mc file, I'm talking about is the default one in my "out of the box" debian server...
I can find it there :
/usr/share/sendmail/cf/debian/sendmail.mc
by the way there's the same problem with submit.mc in the same path.

I first discovered this error trying to add features to sendmail using webmin module, so I posted a bug report at webmin's, but it seemed rapidly obvious that the problem wasn't in webmin
as running
> m4 /usr/share/sendmail/cf/m4/cf.m4 /etc/mail/sendmail.mc
in the shell gave the same result.

I first tried to remove line 18 :
># * `sendmailconfig`
in the file but I got the same error, so I removed the new line 18
># * `make`
And then It worked...

It seems that there's something in the next line of this kind
># * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf`
which prevents the error to occur, perhaps the > in the middle ?


here's the header of the sendmail.mc where are located the "faulty" lines

divert(-1)dnl
#-----------------------------------------------------------------------------
# $Sendmail: debproto.mc,v 8.13.8 2006-12-08 20:21:10 cowboy Exp $
#
# Copyright (c) 1998-2005 Richard Nelson.  All Rights Reserved.
#
# cf/debian/sendmail.mc.  Generated from sendmail.mc.in by configure.
#
# sendmail.mc prototype config file for building Sendmail 8.13.8
#
# Note: the .in file supports 8.7.6 - 9.0.0, but the generated
#       file is customized to the version noted above.
#
# This file is used to configure Sendmail for use with Debian systems.
#
# If you modify this file, you will have to regenerate
/etc/mail/sendmail.cf
# by running this file through the m4 preprocessor via one of the
following:
#       * `sendmailconfig`
#       * `make`
#       * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf`
# The first two options are preferred as they will also update other
files
# that depend upon the contents of this file.
#
# The best documentation for this .mc file is:
# /usr/share/doc/sendmail-doc/cf.README.gz
#
#-----------------------------------------------------------------------------
divert(0)dnl





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to