For everyone running majordomo from an rpm:
PLEASE modify your majordomo.cf to get rid of any executable
statement that may be part of the $whereami definition!
$whereami was never intended to be used that way. It is
expecting a literal, static, host/domain name between double
quotes. Not the output of executing a binary file. When you
use a binary/executable in the variable that way, you have a
trailing new-line as part of the variable. This new-line can
and does corrupt message headers.
If you must use the `/bin/hostname`, `/bin/dnsdomainname`, or
`/bin/hostname -f` as part of the definition of $whereami,
you MUST chop/chomp the variable to strip the new-line off.
This can be done two (or more) ways;
wrap chomp around the definition,
chomp($whereami = `/bin/executable`);
or immediately after definition line add this line,
chomp $whereami;
Dan Liston
References:
|
|