[ Michael Will writes: ]
> I have installed Majordomo 1.93 and Perl 5.001e. I edited the files resend
> and majordomo for instances of "@" and replaced them with "\@".
> However I had to also edit the majordomo.cf for two instances of the "@".
> Is this normal?
Since majordomo.cf is eval'ed as Perl code, yes, it's correct. Note that
the list config files are *not* eval'ed, however, so they don't require
escapes for such characters. Also worthy of note is that Perl 5 interprets
'@' in "quotish" strings, which includes more than mere quoted strings:
most regular expressions, most "here" documents, and alternate quotes
are also interpolated. Note that array variables that begin with '@'
should *not* be escaped. Some examples:
@array = () no escape (array variable)
"user\@domain" escape the @ (quoted string)
q(user\@domain) escape the @ (alternate quotes)
'user@domain' no escape (no interpolation w/in '')
/\@/ escape the @ (quotish regexp)
m:\@: escape the @ (quotish regexp)
m'@' no escape (no interpolation w/in m'')
s/\@/#/ escape the @ (quotish regexp)
s|#|\@| escape the @ (quotish regexp)
s'@'#' no escape (no interpolation w/in s''')
print <<END escape all @s (quotish here document)
print <<"END" escape all @s (quotish here document)
print <<'END' no escape (no interpolation for this here document)
$owner@$whereami ($owner and $whereami aren't interpolated)
> Also should you also edit the approve, bounce and medit as well.
Everything that will be interpolated by Perl 5. That includes the
required (included) files such as majordomo.pl, config_parse.pl,
shlock.pl, and majordomo_version.pl.
> One other question: We added an aliase of the host machine (where majoromo
> resides) after installing majordomo. Do I have to re-make wrapper in order
> for it to pick up on the new aliase that I want used?
What are you wanting wrapper to pick up? It couldn't care less about the
host name. However you do have the $whereami variable in majordomo.cf
and resend_host in the list config files. If you're talking about a
sendmail alias then just run newaliases to make it known to sendmail.
Dave Wolfe *Not a spokesman for Motorola* (512) 891-3246
Motorola MMTG 6501 Wm. Cannon Dr. W. OE112 Austin TX 78735-8598