Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 14:39:10 -0800
From:      Alex Obradovic <alex@alexe.org>
To:        freebsd-questions@freebsd.org
Subject:   error with sendmail on buildworld and/or mergemaster
Message-ID:  <3FA1930E.9000907@alexe.org>

next in thread | raw e-mail | index | archive | help
I can't get make buildworld to finish because of the errors I am getting 
with sendmail. I am including logs for both buildworld and mergemaster.

To try to remedy this I did the following:
1) refreshed my /usr/src from CVS
2) run /usr/src/usr.sbin/mergemaster/mergemaster.sh (from UPDATING)

I am still getting the same error. I would apreciate any help on this.

su-2.05# uname -a
FreeBSD bsd.alexe.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Aug 15 
16:32:16 PDT 2003     alex@bsd.alexe.org:/usr/obj/usr/src/sys/FBSD4.8B  i386


I) LOG FOR MAKE BUILDWORLD
-----------------------------------------
make buildworld

---SNIP---

gzip -cn /usr/src/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz
===> etc
===> etc/sendmail
rm -f freebsd.cf
m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/   
/usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 
/usr/src/etc/sendmail/freebsd.mc > freebsd.cf
chmod 444 freebsd.cf
rm -f freebsd.submit.cf
m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/   
/usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 
/etc/mail/freebsd.submit.mc 
/usr/src/etc/sendmail/../../contrib/sendmail/cf/cf/submit.mc 
/usr/src/etc/sendmail/../../contrib/sendmail/cf/domain/Berkeley.EDU.m4

---SNIP---

/usr/src/etc/sendmail/../../contrib/sendmail/cf/siteconfig/uucp.cogsci.m4 
/usr/src/etc/sendmail/../../contrib/sendmail/cf/siteconfig/uucp.old.arpa.m4 
/usr/src/etc/sendmail/../../contrib/sendmail/cf/siteconfig/uucp.ucbarpa.m4 
/usr/src/etc/sendmail/../../contrib/sendmail/cf/siteconfig/uucp.ucbvax.m4 
 > freebsd.submit.cf
*** Error code 1

Stop in /usr/src/etc/sendmail.
*** Error code 1

Stop in /usr/src/etc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
su-2.05#


II) LOG FOR MERGEMASTER
-----------------------------------------
mergemaster

--- SNIP --

/var/tmp/temproot/usr/obj/usr/src/etc created for /usr/src/etc
===> sendmail
/var/tmp/temproot/usr/obj/usr/src/etc/sendmail created for
/usr/src/etc/sendmail
===> sendmail
rm -f freebsd.cf
m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/
/usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4
/usr/src/etc/sendmail/freebsd.mc > freebsd.cf
chmod 444 freebsd.cf
rm -f freebsd.submit.cf
m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/
/usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4
/etc/mail/freebsd.submit.mc
/usr/src/etc/sendmail/../../contrib/sendmail/cf/cf/submit.mc
/usr/src/etc/sendmail/../../contrib/sendmail/cf/domain/Berkeley.EDU.m4

---SNIP---

/usr/src/etc/sendmail/../../contrib/sendmail/cf/siteconfig/uucp.old.arpa.m4 
/usr/src/etc/sendmail/../../contrib/sendmail/cf/siteconfig/uucp.ucbarpa.m4 
/usr/src/etc/sendmail/../../contrib/sendmail/cf/siteconfig/uucp.ucbvax.m4 
 > freebsd.submit.cf
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: MAILER(local) already included

*** ERROR: MAILER(smtp) already included

*** ERROR: You are trying to use the Berkeley sample configuration
        files outside of the Computer Science Division at Berkeley.
        The configuration (.mc) files must be customized to reference
        domain files appropriate for your environment.
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: You are trying to use the Berkeley sample configuration
        files outside of the Computer Science Division at Berkeley.
        The configuration (.mc) files must be customized to reference
        domain files appropriate for your environment.
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: You are trying to use the Berkeley sample configuration
        files outside of the Computer Science Division at Berkeley.
        The configuration (.mc) files must be customized to reference
        domain files appropriate for your environment.
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: You are trying to use the Berkeley sample configuration
        files outside of the Computer Science Division at Berkeley.
        The configuration (.mc) files must be customized to reference
        domain files appropriate for your environment.
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: You are trying to use the Berkeley sample configuration
        files outside of the Computer Science Division at Berkeley.
        The configuration (.mc) files must be customized to reference
        domain files appropriate for your environment.
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: FEATURE() should be before MAILER()

*** MAILER(`local') must appear after FEATURE(`allmasquerade')
*** MAILER(`local') must appear after FEATURE(`always_add_domain')
*** FEATURE(local_lmtp) must occur before MAILER(local)

*** MAILER(`local') must appear after FEATURE(`local_no_masquerade')
*** FEATURE(local_procmail) must occur before MAILER(local)

*** ERROR: FEATURE() should be before MAILER()

*** ERROR: MAILER(local) already included

*** ERROR: MAILER(smtp) already included

FEATURE(nodns) is no-op.
Use ServiceSwitchFile (/etc/mail/service.switch) if your OS does not 
provide its own instead.

*** ERROR: missing argument for FEATURE(nouucp):
                use `reject' or `nospecial'. See cf/README.

Feature "nullclient" requires argument
*** ERROR: FEATURE() should be before MAILER()

*** MAILER(`local') must appear after FEATURE(`allmasquerade')
*** ERROR: FEATURE() should be before MAILER()

*** ERROR: MAILER(local) already included

*** ERROR: MAILER(smtp) already included

*** LUSER_RELAY should be defined before FEATURE(`preserve_luser_host')

*** WARNING: FEATURE(`promiscuous_relay') configures your system as open
        relay.  Do NOT use it on a server that is connected to the Internet!

*** WARNING: FEATURE(`relay_local_from') may cause your system to act as 
open
        relay.  Use SMTP AUTH or STARTTLS instead. If you cannot use those,
        try FEATURE(`relay_mail_from').

*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
        relay.  Use SMTP AUTH or STARTTLS instead.

*** FEATURE(smrsh) must occur before MAILER(local)

*** ERROR: FEATURE() should be before MAILER()

m4: /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cfhead.m4 at line 
54: 
include(/usr/src/etc/sendmail/../../contrib/sendmail/cf/feature/.m4): No 
such file or directory
*** Error code 1

Stop in /usr/src/etc/sendmail.
*** Error code 1

Stop in /usr/src/etc.




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