error with sendmail on buildworld and/or mergemaster

From: Alex Obradovic (alex_at_alexe.org)
Date: 10/30/03

  • Next message: Ronnie Clark: "Re: SNMP help"
    Date: Thu, 30 Oct 2003 14:39:10 -0800
    To: freebsd-questions@freebsd.org
    
    

    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.

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Ronnie Clark: "Re: SNMP help"

    Relevant Pages

    • Re: More Cyrus problems, please help!
      ... > 1) Adjust the order in sendmail.mc: set define instructions before ... > FEATURE calls are made and the MAILER to bottom ...
      (Fedora)
    • Re: Turning Question
      ... with an error code 041 Interference in NRC ... bring the TNR tangent to. ... value of the feature in "Z". ... angle is correct and the number is larger than the radius. ...
      (alt.machines.cnc)
    • Re: sedmail.cf goodies poll [anfi 2006-11]
      ... Standard mailertable selects mailer based on recipient's domain *ONLY*. ... The recomended feature has akready allowed to use socket map to ask ... cyrus imap about mailbox existence. ...
      (comp.mail.sendmail)
    • Which naming convention use for non sendmail.org *.m4 files?
      ... As you may be aware there are a few FEATURE and MAILER m4 files not ... maintained by sendmail.org and not included in official sendmail ... distribution. ...
      (comp.mail.sendmail)