Recompile sendmail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Recompile sendmail
# 1  
Old 05-21-2007
Recompile sendmail

Can anyone give me a quick and dirty way to recompile sendmail and then stop ans start sendmail with the new config?
# 2  
Old 05-22-2007
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Recompile PL/SQL Procedure through UNIX

Hi, We have a procedure e.g. prc_synonym created in Oracle 12c Database. I want to do small change in procedure through Unix. I have that changed procedure (prc_synonym) in proc.sql file. Want to recompile that procedure through Unix so that changes should reflect in existing procedure in... (10 Replies)
Discussion started by: Aparna.N
10 Replies

2. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

3. Ubuntu

Recompile the kernel after applying a patch in Ubuntu.

I have applied a patch using this command: patch -p1 < (file) then I did git commit -a. Now I want to recompile the kernel for making this patch live. Should I use make oldconfig or make localmodconfig After that, make -j$(grep -c "processor" /proc/cpuinfo) sudo make... (1 Reply)
Discussion started by: BHASKAR JUPUDI
1 Replies

4. UNIX for Advanced & Expert Users

Could I get the initrd.img file without recompile the kernel?

Hi, all: The vmlinuz-3.0.4.old is a kernel previous to the current running kernel vmlinuz-3.0.4 which is compiled the most currently. Could I get the initrd.img-3.0.4.old without recompile under the condition that the config-3.0.4.old, System.map-3.0.4.old and vmlinuz-3.0.4.old exist? if it... (1 Reply)
Discussion started by: liklstar
1 Replies

5. Programming

Do pro*c program need to recompile

hi, I have pro*c program running on sunsolaris 5.9.Currently the same program has been migrated to solaris 5.10.But the program is not giving the desired output.Do i need to recomplie the source code again. Regards, Megh (4 Replies)
Discussion started by: megh
4 Replies

6. BSD

kernel fail to boot after recompile it

Salamo Alikom after recompilation my kernel does not boot and display msg said : enter full path to bash : /bin/sh i try fsck -r ,fsck -y but the problem is steel . my make.conf : PERL_VER=5.8.8 OVERRIDE_LINUX_BASE_PORT=f8 PERL_VERSION=5.8.8 MODULES_OVERRIDE = linux acpi accf_http pccard msdosfs... (1 Reply)
Discussion started by: SIFE
1 Replies

7. UNIX for Advanced & Expert Users

Recompile openssh and build an rpm

I am needing to recompile openssh to hide the ssh banner which I found I can do in the version.h. I know.. I know, but its a requirement of some dumb security company so the company I work for can get their blessing. Anyway. I am going to upgrade in the process and have downloaded the source... (2 Replies)
Discussion started by: creedog
2 Replies

8. Solaris

Is it possible to recompile the kernel or any userland on Solaris

Hi I am a FreeBSD user Just want to know is it possible to recompile kernel or any other userland in Solaris 10 or OpenSolaris? I want check out this UNIX OS which has Flash 9 support :D (2 Replies)
Discussion started by: weinter
2 Replies

9. Linux

licensed linux needs recompile?

hi all if you have the latest licensed SLES or red hat. the online update needs no more recompile, sometimes it just need reboot or nothing at all. is it better to recompile the kernel for optimum performance after any patch? or is it really just a ritual so that you can feel that you are... (1 Reply)
Discussion started by: itik
1 Replies

10. UNIX for Advanced & Expert Users

Apache recompile...?

Hai friends I have compiled the apache source and installed it in /wwwroot. I have changed the User and Group value as root in httpd.conf file and started apache.. But it throwed an error message and asked to recompile the apache with -DBIG_SECURITY_HOLE compile time value... I have tried the... (1 Reply)
Discussion started by: collins
1 Replies
Login or Register to Ask a Question