Re: Error making Sendmail with SMTP AUTH

From: Nick (nick_at_eigg.org.uk)
Date: 04/18/05

  • Next message: Matthew Seaman: "Re: lost root passwd"
    Date: Mon, 18 Apr 2005 17:47:59 +0100
    To: "greg@grokking.org" <greg@grokking.org>
    
    

    Hi Greg

    $ m make.conf
    # -- use.perl generated deltas -- #
    # Created: Sat Nov 20 20:42:01 2004
    # Setting to use base perl from ports:
    PERL_VER=5.8.5
    PERL_VERSION=5.8.5
    PERL_ARCH=mach
    NOPERL=yo
    NO_PERL=yo
    NO_PERL_WRAPPER=yo
    SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
    SENDMAIL_LDFLAGS=-L/usr/local/lib
    SENDMAIL_LDADD=-lsasl

    and

    # cd /usr/src/usr.sbin/sendmail
    # make cleandir
    # make obj
    # make <<< error text generated at this point
    # make install

    Thanks,

    Nick

    greg@grokking.org wrote:

    >Nick wrote:
    >
    >
    >>I am trying to set up SMTP AUTH per the handbook section 22.10. I have
    >>FreeBSD 5.3 and have installed cyrus-sasl-2.1.19_1; cyrus-sasl-1.5.28_3
    >>is also present. I have set pwcheck_method: passwd and added the 3
    >>lines to make.conf. I am trying to recompile Sendmail and the make
    >>outputs ends as below:
    >>
    >>cc -O -pipe -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src
    >>-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB
    >>-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS
    >>-D_FFR_TLS_1 -I/usr/local/include/sasl1 -DSASL -L/usr/local/lib -o
    >>sendmail alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o
    >>daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o
    >>map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o
    >>recipient.o savemail.o sasl.o sfsasl.o shmticklib.o sm_resolve.o
    >>srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o
    >>usersmtp.o util.o version.o -lutil -lwrap
    >>/usr/src/lib/libsmutil/libsmutil.a /usr/src/lib/libsm/libsm.a -lssl
    >>-lcrypto -lsasl
    >>cc: /usr/src/lib/libsmutil/libsmutil.a: No such file or directory
    >>cc: /usr/src/lib/libsm/libsm.a: No such file or directory
    >>*** Error code 1
    >>
    >>What am I doing wrong?
    >>
    >>
    >>
    >
    >
    >Show us your /etc/make.conf and the actually commands you're using to
    >(re)compile sendmail.
    >
    >Also, you should consider removing one of the cyrus-sasl versions unless
    >you know you need both (preferably saslv1 as I think it's nearing EOL).
    >
    >G
    >_______________________________________________
    >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"
    >
    >
    _______________________________________________
    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: Matthew Seaman: "Re: lost root passwd"

    Relevant Pages

    • Re: /usr/src/Makefile instructions
      ... both with mergemaster and the ports. ... The latter case may be somewhat more complicated: install a fresh ... make KERNEL=kernel cleandir ... => cdce (obj) ...
      (freebsd-questions)
    • Re: /usr/src/Makefile instructions
      ... both with mergemaster and the ports. ... The latter case may be somewhat more complicated: install a fresh ... make KERNEL=kernel cleandir ... => cdce (obj) ...
      (freebsd-hackers)
    • Re: some weird stuff found
      ... > Probably a Linux or Solaris rpc attack/exploit. ... > FreeBSD machines. ... Look for those ports you are unsure about, and see which open files are linked ... I would advise against running sendmail period. ...
      (FreeBSD-Security)
    • Re: Upgrade sendmail on 5.4-RELEASE-p7
      ... The base system uses sendmail 8.13.6, ... saying if the upgraded sendmail version from the ports is installed ... I just built the newest sendmail this AM, using portupgrade, as I ... if you have not installed sendmail from ports, ...
      (comp.unix.bsd.freebsd.misc)
    • Re: portupgrade for ssh & sendmail
      ... >portupgrade to update ssh and sendmail to the latest versions. ... As others has mentioned these are part of the base and not ports ... You will get a screen at the end of the install giving you ...
      (comp.unix.bsd.freebsd.misc)