Loading...
 

Greg's Tech blog

Compiling Sendmail

Wednesday 14 of April, 2004
Compiling Sendmail

  • Downloaded Sendmail 8.12.11
  • Created site.config.m4 file in sendmail/Site directory. Added following lines:

APPENDDEF(`confENVDEF', `-DSASL=2')

APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')

APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')

APPENDDEF(`confINCDIRS', `-I/usr/local/include/sasl')

APPENDDEF(`confMAPDEF', `-DNEWDB -DSTARTTLS -DTCPWRAPPERS_

-DNIS -DMAP_REGEX')

APPENDDEF(`confLIBS', `-lnsl -lssl -lcrypto -lwrap -lm -ldb -lresolv')

  • ran ./Build -c -n (to clear out old build)
  • Set authinfo file

Authinfo:outgoing.verizon.net "U:vze1jt1m" "I:vze1jt1m@verizon.net"_

"P:password" "R:outgoing.verizon.net" "M:PLAIN"

  • restart sendmail ('rc.sendmail restart')









References:
http://www.sendmail.org/~ca/email/auth.html (cache)