A not-so-quick question from a newbie. I haven't been able to
adequately create a list that's advertised only within the local
DNS domain due to sendmail behavior. Here's the issue:
Sendmail (at least the default configurations I've seen distributed
with Suns and certain other UNIX boxes) usually strips the domain off
addresses inside the local domain (e.g., the internal address
"user@machine.domain.edu" gets stripped to "user@machine"). This is
a problem for "advertise" because I can't simply put my domain in it:
it won't match on the stripped internal addresses. I see a few
possibilities.
Modify sendmail.cf to fully-qualify all incoming e-mail
(I've done that before, though there are couple of side
effects I'd rather not have).
Enter a /\@[^.]+$/ in the "advertise" entry so that all
non-dot-containing domain parts of the e-mail address
(i.e., supposedly inside the local domain) are passed.
Create a perl subroutine that checks an external database/
service for internal hosts, ala "s/^(.*)$/&check($1)/e"
in the advertise checks and *carefully* modify/check the
grab_regexp_array() subroutine in config_parse.pl (note:
that's quite some set of validation regexps in there! :-)).
Check for local-only addresses (with an optional full domain
qualification) in the "advertise" checking loop of do_lists()
[$reply_to variable] in majordomo.
Comments? Ideas?
Thanks. Tom.
--
Tom Poage, MS
Clinical Engineering/Radiology:MED/UCD Biomedical Engineering Graduate Group
University of California, Davis, Medical Center
poage@netrad.ucdmc.ucdavis.edu (916) 734-5221
Follow-Ups:
|
|