The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
licensed linux needs recompile? itik Linux 1 02-12-2008 11:50 PM
Sendmail cobroraj UNIX for Advanced & Expert Users 6 11-11-2007 03:17 PM
sendmail nagineni High Level Programming 0 11-22-2005 05:14 AM
Apache recompile...? collins UNIX for Advanced & Expert Users 1 11-09-2004 11:18 PM
Sendmail gdboling IP Networking 2 05-05-2002 11:03 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 05-21-2007
Registered User
 

Join Date: Dec 2005
Posts: 56
Recompile sendmail

Can anyone give me a quick and dirty way to recompile sendmail and then stop ans start sendmail with the new config?
Reply With Quote
Forum Sponsor
  #2  
Old 05-22-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
It pretty much depends on what you're trying to acheive, here's an example of including LDAP support :

Quote:
Use the command sendmail -bt -d0.1 to check the sendmail compiler options. If the string LDAPMAP appears in the “Compiled with:” list, there is no need to recompile sendmail. If LDAPMAP does not appear in the “Compiled with:” list, recompile sendmail to add LDAP support.

To add LDAP support, set LDAP values in the site.config.m4 file and recompile sendmail as shown below:

# cd /usr/local/src/sendmail-8.12.9/devtools/Site
# cat >> site.config.m4
APPENDDEF(`confMAPDEF', `-DLDAPMAP')
APPENDDEF(`confLIBS', `-lldap -llber')
Ctrl-D
# cd /usr/local/src/sendmail-8.12.9
# ./Build –c

After recompiling sendmail, reinstall it:
# ./Build install
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0