
hostmaster at xenterra
Dec 19, 2005, 3:54 PM
Post #5 of 6
(4757 views)
Permalink
|
Hello, Mark. Thanks for the detailed points below. Nice to know I don't need libsrs2; keeps the bloat down in the binary and the work. :-) Thanks for the prompt reply. I was set to upgrade a number of servers tomorrow after the success with the -DSOCKETMAP flag on the first. It would have been really nasty to have to go back and redo them all! I will, as you suggest, upgrade to 0.32rc3. Socketmapd rocks! :-) On Mon, 19 Dec 2005, Mark wrote: > >> -----Original Message----- >> From: Robert Muchnick [mailto:hostmaster [at] xenterra] >> Sent: maandag 19 december 2005 22:06 >> To: srs-discuss [at] v2 >> Subject: [srs-discuss] Errors with socketmapd.0.31.pl > > >> 554 5.0.0 /etc/mail/sendmail.cf: line 183: readcf: map reverse_srs: >> class socket not available 554 5.0.0 /etc/mail/sendmail.cf: line 184: >> readcf: map make_srs: class socket not available > > Hello Robert, > > It would seem Stuart already answered that question. :) > >> Second question: socketmapd.0.31.pl has this line: my $fwdomain = 'mydo- >> main.com'; >> >> These servers handle multiple virtual hosts. How do you allow for multi- >> ple hosts in this file? > > I recommend you use: > > http://srs-socketmap.info/srs/srs-socketmapd.0.32rc3.tar.gz > > It is as STABLE as 0.31, but comes with a lot of extra things (some of > which you need, like an INSTALL file). > > In your case, in cf/sendmail.mc, put: > > HACK(srs-socketmapd, local:/var/run/socket.sock, SRS_LOCAL_SELF) : > > (or wherever your socket resides, of course) > > srs rewrite everything in Class=w with domains of Class=w > (useful for virtual domains!) > > Which is what you seem to need. :) > > Also, it comes with a decent config file, in which you can set secrets, > and such. > >> Newly compiled Sendmail 8.13.5, linked to libsrs2 in site.config.m4 with >> this line: APPENDDEF(`conf_sendmail_LIBS', `-lsrs2'). Compiler (gcc >> 3.3.6) reports success with this lib. > > You do not need to compile libsrs2 as well. That is the beauty of the > socketmap approach. :) With a simple m4, you have sendmail make queries to > a small, external socketmap daemon. And as long as you keep compiling > newer versions of sendmail with -DSOCKETMAP, you never need to worry about > a thing. > > You are right, though, the documentation seriously sucks (or is largely > absent, even). The Xmas days will be a good time to update those. :) > > - Mark > > System Administrator Asarian-host.org > > --- > "If you were supposed to understand it, > we wouldn't call it code." - FedEx > > ------- > To unsubscribe, change your address, or temporarily deactivate your subscription, > please go to http://v2.listbox.com/member/?listname=srs-discuss [at] v2 > Robert Muchnick Xenterra.net 720-276-7917 ------- To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?listname=srs-discuss [at] v2
|