[Pymilter] Adding -fPIE optoin when building sendmail srcrpm for RedHat 4

Stuart D. Gathman stuart at bmsi.com
Mon Jan 4 23:00:47 EST 2010


On Mon, 4 Jan 2010, Stuart D. Gathman wrote:

> You probably don't want to set sendmail to PIE in general.  Only libmilter 
> is the problem.  Here is the patch I added to CentOS5 for sendmail-8.14.3 

The packager of sendmail envisioned static C milter applications linking
against libmilter, and optimized for that.  Pymilter, as a python extension, is
a dynamic library, and libmilter must be compiled appropriately.  This should
not hurt static C milters (other than being ever so immeasurably slightly
slower).

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.



More information about the Pymilter mailing list