
dmquigg-lists at yahoo
Jan 3, 2008, 12:19 PM
Post #7 of 8
(7021 views)
Permalink
|
Tom, thanks for your help. At 04:46 PM 1/2/2008 -0800, you wrote: >Recompile sendmail from source with socket map support (-DSOCKETMAP). >In the devtools/Site/site.config.m4 file you'll need a line like: > >APPENDDEF(`confMAPDEF', `-DSOCKETMAP') I cannot find the file site.config.m4 anywhere in packages sendmail-cf 8.13.1-3.RHEL4.5 or sendmail-devel 8.13.1-3.RHEL4.5 >You might need a lot more in that file too. You'll want to start with >the RHEL4 source RPM, so that all of their patches are already applied. > Otherwise you have to reconstruct their customizations if you try to >compile from original sendmail source. We need a simple procedure that will work for any system admin installing our Border Patrol MTA package. Installing a milter is pretty simple. Asking them to worry about patches is too much. It could also be a huge support burden on our end. Every time they upgrade their system, they will run into the same problem we did. Only SRS broke, out of 100 or so packages that were upgraded. The admin who originally installed our SRS package was not available. I really like Stuart's suggestion of using the new milter functionality in Sendmail 8.14. I was not aware of this. It isn't in their API reference page at http://www.sendmail.org/doc/sendmail-current/libmilter/docs/api.html, but there is a brief mention of a new function smfi_chgfrom(), buried in the documentation at http://www.sendmail.org/ftp/RELEASE_NOTES. Now I just need to find a Sendmail package with all the right patches for Red Hat RHEL4. At rpmfind.net I see 361 packages for sendmail. The latest for RHEL4 is 8.13, and we need 8.14. I might try <ftp://rpmfind.net/linux/fedora/development/i386/os/Packages/sendmail-8.14.2-2.fc9.i386.rpm>sendmail-8.14.2-2.fc9.i386.rpm since Red Hat Fedora should be pretty close to Red Hat RHEL4, but before doing a bunch of experiments, I would like to see if anyone has a suggestion. -- Dave >David MacQuigg wrote: >> We upgraded our installation of Redhat Linux from EL3 to EL4, and everything worked after the reboot except SRS. Looks like there may be a problem between the latest SRS and EL4. I'm considering dropping SRS, since hardly anyone is using it, but I would like to stay as much compliant with SPF as possible. >> >> Here is what I have so far: >> Immediately after the upgrade, Sendmail was down, so I attempted to start it manually. >> >>> [root [at] open-mai milter]# /etc/init.d/sendmail restart >>> Shutting down sendmail: [ OK ] >>> Shutting down sm-client: [FAILED] >>> Starting sendmail: 554 5.0.0 /etc/mail/sendmail.cf: line 179: readcf: map make_srs: class socket not available >>> 554 5.0.0 /etc/mail/sendmail.cf: line 181: readcf: map reverse_srs: class socket not available >>> [FAILED] >>> Starting sm-client: [ OK ] >> >> Taking the SRS lines out of sendmail.cf fixed the problem, so it is not something else. >> >> We actually don't have the latest SRS in our Linux distribution, >> >>> [dave [at] open-mai ~]$ rpm --query sendmail >>> sendmail-8.13.1-3.RHEL4.5 >>> [dave [at] open-mai ~]$ rpm --query pysrs >>> pysrs-0.30.9-1.EL3 >> >> so I downloaded the latest pysrs and and installed it. >> >>> -rw-r--r-- 1 dave admin 38508 Dec 31 13:53 pysrs-0.30.11-2.noarch.rpm >>> ... Installed above using Webmin ... >>> [root [at] open-mai milter]# /etc/init.d/pysrs restart >>> Shutting down pysrs: [ OK ] >>> Starting pysrs: [ OK ] >>> [root [at] open-mai milter]# rpm --query pysrs >>> error: Macro % has illegal name (%define) >>> pysrs-0.30.11-2 >>> [root [at] open-mai milter]# /etc/init.d/pysrs status >>> pysrs (pid 29356) is running... >> >> Restoring the SRS lines in sendmail.cf brings back the original errors. Sendmail won't start. >> >> Any suggestions? Help will be greatly appreciated. >> >> -- Dave >> ************************************************************ * >> * David MacQuigg, PhD email: macquigg at open-mail.org * * >> * President, Open-Mail dot org phone: USA 520-721-4583 * * * >> * Postmaster, Box67 dot com * * * >> * 9320 East Mikelyn Lane * * * >> * http://purl.net/macquigg Tucson, Arizona 85710 * >> ************************************************************ * ------------------------------------------- Sender Policy Framework: http://www.openspf.org Archives: http://v2.listbox.com/member/archive/1129/=now RSS Feed: http://v2.listbox.com/member/archive/rss/1129/ Modify Your Subscription: http://v2.listbox.com/member/?member_id=1311535&id_secret=81528061-4ec108 Powered by Listbox: http://www.listbox.com
|