compact size sendmail in linux

compact size sendmail in linux

Post by Gandh » Fri, 27 Jun 2003 18:10:23



Is anybody who knows what is the only needed lib for sending mail?
The machine that I am developing is a stand-alone product, which
should have minimized libraries because of performance, storage and
many reasons.
The only needed thing is to send a mail.
Following is libraries that the sendmail in my machine uses.
Which one can I exclude that are not necessary for sending a email?

/usr/sbin# ldd sendmail
        libdb3.so.3 => /usr/lib/libdb3.so.3 (0x4001c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400ba000)
        libldap.so.2 => /usr/lib/libldap.so.2 (0x400cd000)
        liblber.so.2 => /usr/lib/liblber.so.2 (0x40104000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40111000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x40121000)
        libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40129000)
        libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
(0x40135000)
        libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7
(0x40226000)
        libc.so.6 => /lib/libc.so.6 (0x40255000)
        libdl.so.2 => /lib/libdl.so.2 (0x40365000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40368000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x40395000)
        libpam.so.0 => /lib/libpam.so.0 (0x403a8000)
        libdb2.so.2 => /lib/libdb2.so.2 (0x403b0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Thank you for any comment!!

Best Regards

Gandhar

 
 
 

compact size sendmail in linux

Post by ommtml.. » Fri, 27 Jun 2003 20:21:46


|Is anybody who knows what is the only needed lib for sending mail?
|The machine that I am developing is a stand-alone product, which
|should have minimized libraries because of performance, storage and
|many reasons.
|The only needed thing is to send a mail.

If you only need to send mail to a smarter server, you don't need to run
a sendmail server, you just need some SMTP libraries. They exist for
Perl, Python, Java, pretty much any language out there.