--- majordomo.orig Thu Jan 13 18:29:31 2000 +++ majordomo Wed Feb 2 13:31:41 2011 @@ -29,7 +29,7 @@ $cf = $ENV{"MAJORDOMO_CF"} || "/etc/majordomo.cf"; while ($ARGV[0]) { # parse for config file or default list if ($ARGV[0] =~ /^-C$/i) { # sendmail v8 clobbers case - $cf = $ARGV[1]; + $cf = "$ENV{'MAJORDOMO_CFDIR'}/$ARGV[1]" unless $ARGV[1] =~ /\//; shift(@ARGV); shift(@ARGV); } elsif ($ARGV[0] eq "-l") { @@ -75,7 +75,7 @@ die("\$listdir not defined. Is majordomo.cf being incl # Define all of the mailer properties: # It is possible that one or both of $sendmail_command and $bounce_mailer # are not defined, so we provide reasonable defaults. -$sendmail_command = "/usr/lib/sendmail" +$sendmail_command = "/usr/sbin/sendmail" unless defined $sendmail_command; $bounce_mailer = "$sendmail_command -f\$sender -t" unless defined $bounce_mailer;