Subject: | LWP::Protocol::mailto |
RedHat Linux 7.3 kernel 2.4.18-26-7.x
Perl v5.6.1
libwwwperl-5.69 (1/24/2003) (compiled from source)
/usr/lib/sendmail is hardcoded into mailto.pm. This presents problems on a lot of modern systems because /usr/lib/ is a deprecated location for the sendmail binary on many systems, especially those that use another MTA but still provide a sendmail wrapper for compatability.
It would be desirable for mailto.pm to look for the sendmail program (or it's compatible namesake) in multiple locations, for example:
/usr/lib/sendmail
/usr/sbin/sendmail
/usr/ucblib/sendmail
This would satisfy the dependencies of multiple architectures and mail transports.
Mail::Mailer does it this way.