On 6 Jan 2000, Pete Norton wrote:
> >My guess is that /bin/dnsdomainname will return something that ends with a
> >newline, because that is how you want it on the command line. Then you
> >should update that to
> >
> >$whereami = `/bin/dnsdomainname`;
> >chomp $whereami;
> >
> >The newline could add problems in other cases.
>
> To be honest, that makes me nervous since perhaps somewhere else the newline
> is expected. At least chomping the $mailcmd in the 'digest' script solves the
> known problem without potentially introducing others. Of course the more
> expedient solution is to simply define 'resend-host' in the '<maillist-digest>.config' file.
No, the opposite. It is meant to be defined with a string, e.g.
$whereami = "bamse.ling.su.se";
Mats
-----------------------------------------------------------------
Mats Dufberg mats.dufberg@abc.se
Alvdalsvagen 133 +46 8 38 48 59
SE-165 75 Hasselby, Sweden
|
|