General
cancel
Showing results for 
Search instead for 
Did you mean: 

Latest version of sendmail for 11.31 - where to download?

 
dictum9
Super Advisor

Latest version of sendmail for 11.31 - where to download?

Need the link to where I can download the latest version of sendmail for 11.31.

 

 

 

P.S. This thread has been moevd from HP-UX > System Administration to HP-UX > messaging. - Hp Forum moderator

17 REPLIES 17
Bill Hassell
Honored Contributor

Re: Latest version of sendmail for 11.31 - where to download?

http://www.software.hpe.com

Search for sendmail.



Bill Hassell, sysadmin
dictum9
Super Advisor

Re: Latest version of sendmail for 11.31 - where to download?

Looks like the latest is 8.13.3 and it's not compliant with a STIG finding.

 

Patrick Wallek
Honored Contributor

Re: Latest version of sendmail for 11.31 - where to download?

You could try downloading from Sendmail.org themselves.

 

http://www.sendmail.com/sm/open_source/download/

 

FTP download site: ftp://ftp.sendmail.org/pub/sendmail

 

The latest is 8.15.1 and would have to be compiled from the downloaded source code.

uxbeginner22
Trusted Contributor

Re: Latest version of sendmail for 11.31 - where to download?

I'm tryng to compile latest version

But give me this error

 

Stop.
Making all in:
/home/io/programmi/sendmail-8.14.9/vacation
Configuration: pfx=, os=HP-UX, rel=11.31, rbase=11, rroot=11.31, arch=ia64, sfx=, variant=optimized
Making in /home/io/programmi/sendmail-8.14.9/obj.HP-UX.11.31.ia64/vacation
        rm -f sm_os.h
        ln -f -s ../../include/sm/os/sm_os_hp.h sm_os.h
        (cd ../../libsm; sh Build )
Configuration: pfx=, os=HP-UX, rel=11.31, rbase=11, rroot=11.31, arch=ia64, sfx=, variant=optimized
Making in /home/io/programmi/sendmail-8.14.9/obj.HP-UX.11.31.ia64/libsm
        rm -f sm_os.h
        ln -f -s ../../include/sm/os/sm_os_hp.h sm_os.h
        /usr/local/bin/gcc -fPIC -O3 -I. -I../../include  -I/opt/db/include -DNEWDB -DMAP_REGEX -DV4FS -DHPUX11    -c debug.c
In file included from debug.c:27:
../../include/sm/conf.h:2773: error: conflicting types for ‘unsetenv’
/usr/local/lib/gcc/ia64-hp-hpux11.31/4.2.3/include/stdlib.h:70: error: previous declaration of ‘unsetenv’ was here
*** Codice di uscita errore 1

Stop.
*** Codice di uscita errore 1

Stop.
*** Codice di uscita errore 1

this is my site.config.m4

 

define(`confCClibsmi', `gcc -fPIC')
define(`confCC',`/usr/local/bin/gcc -fPIC')
define(`confOPTIMIZE', ` -O3')
define(`confMAPDEF',`-DNEWDB -DMAP_REGEX -DHAVE_UNSETENV')
define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L')
APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER')
APPENDDEF(`confINCDIRS',`-I/opt/db/include')
APPENDDEF(`confLIBDIRS',`-L/opt/db/lib')
~                                                                                                                                     
~                                                                                                                                     
~                                                                                                                                     
~                                                                                                                                     
~                                          

 

 

uxbeginner22
Trusted Contributor

Re: Latest version of sendmail for 11.31 - where to download?

Trung with commercial hp compiler i get same error

 /opt/aCC/bin/cc -O3 -I. -I../../include  -I/opt/db/include -DNEWDB -DMAP_REGEX -DV4FS -DHPUX11 -c debug.c
"../../include/sm/conf.h", line 2773: error #2147: declaration is incompatible
          with "int unsetenv(const char *)" (declared at line 59 of
          "/usr/include/stdlib.h")
  extern void   unsetenv __P((char *));
                ^

1 error detected in the compilation of "debug.c".

 

uxbeginner22
Trusted Contributor

Re: Latest version of sendmail for 11.31 - where to download?

First problem solved using this patch

--- sendmail-8.14.9/include/sm/conf.hh  2014-05-16 22:40:15 +0200
+++ sendmail-8.14.9/include/sm/conf.h   2016-01-04 23:12:10 +0100
@@ -87,6 +87,7 @@
                /* common definitions for HP-UX 9.x and 10.x */
 #  undef m_flags               /* conflict between Berkeley DB 1.85 db.h & sys/sysmacros.h on HP 300 */
 #  define SYSTEM5      1       /* include all the System V defines */
+#  define HASUNSETENV  1       /* has unsetenv(3) call */
 #  define HASINITGROUPS        1       /* has initgroups(3) call */
 #  define HASFCHMOD    1       /* has fchmod(2) syscall */
 #  define USESETEUID   1       /* has usable seteuid(2) call */
uxbeginner22
Trusted Contributor

Re: Latest version of sendmail for 11.31 - where to download?

Another compile error with new config

 

define(`confCClibsmi', `gcc -fPIC')
define(`confCC',`/usr/local/bin/gcc -fPIC')
define(`confOPTIMIZE', ` -O3')
define(`confMAPDEF',`-DNEWDB -DMAP_REGEX')
define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L')
define(`confTIME_ZONE', `USE_TZ')dnl
APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER' `-DLDAPMAP' `-DDNSMAP' `-DEGD' `-DLOG' `-DMAP_REGEX' `-DMATCHGECOS' `-DMILTER' `-DMIME7TO8' `-DMIME8TO7' `-DNAMED_BIND' `-DNDBM' `-DNETINET' `-DNETINET6' `-DNETUNIX' `-DNEWDB NIS' `-DPIPELINING' `-DSASLv2' `-DSCANF' `-DSOCKETMAP' `-DSTARTTLS' `-DUSERDB' `-DUSE_LDAP_INIT' `-DXDEBUG')
APPENDDEF(`confINCDIRS',`-I/opt/db/include',`-I/usr/local/include')
APPENDDEF(`confLIBDIRS',`-L/opt/db/lib',`-L/usr/local/lib')
APPENDDEF(`confLIBS', `-lldap -llber')

Give me this error

ld: Can't find library for -ldbm
uxbeginner22
Trusted Contributor

Re: Latest version of sendmail for 11.31 - where to download?

Another error if libdm is found

 

/usr/local/bin/gcc -fPIC -o vacation  -L/usr/local/lib/hpux32 -L /usr/lib vacation.o      /home/io/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsmdb/libsmdb.a /home/io/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsmutil/libsmutil.a /home/io/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsm/libsm.a  -ldb -ldbm -lnsl -lldap -llber -ldb -lssl -lsasl2 -lcrypto 
ld: Mismatched ABI (not an ELF file) for -ldbm, found /usr/lib/libdbm.sl

 

Dennis Handly
Acclaimed Contributor

Re: Latest version of sendmail for 11.31 - where to download?

>Another error if libdm is found

 

Remove "-L /usr/lib".  That is only for PA-RISC libs.