Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 12:01:52 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        jacques@wired.ctech.ac.za, questions@FreeBSD.ORG
Subject:   Re: sendmail 8.9.1a
Message-ID:  <199809211901.MAA09360@pau-amma.whistle.com>
In-Reply-To: <360636D2.2781E494@wired.ctech.ac.za>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Mon, 21 Sep 1998 13:21:54 +0200
>From: Jacques Hugo <jacques@wired.ctech.ac.za>

>I'm having some trouble with sendmail's config.

>These are some of my features:

>FEATURE(`MAIL_HUB',`some.other.system')

>My mail still gets relayed by localhost, not 
>some.other.system.

>...

>Am I screwing up with the syntax here?  Any help
>appreciated.


The m4 technique for creating sendmail.cf file is very helpful, but
there's an issue that is probably under-documented:  when m4 processes
the .mc file, it makes a single pass.  Thus, when m4 reads one of the
"included" files, unless the various "variables" are set correctly, they
won't do any good -- it doesn't help to set the values *after* the file
in question is read.

Or, to summarize:  the specifications in the .mc file are
order-sensitive (and the order isn't necessarily easy to determine).

To reduce the problems you're seeing, be sure the defines & FEATUREs
come before such things as MAILERs.

(And yes, it could well be that you're having completely unrelated
problems -- but this seemed like a fairly good time to point pout the
above.)

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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