Krishnan Mani wrote:
When trying to add a patron, i get an error screen which reads like...
|can't find an executable sendmail at /usr/share/koha/lib/C4/Letters.pm line 21
and so on. |
i was assuming i'd just use postfix in place of sendmail, but it looks like this module needs sendmail and only sendmail. Is that right?
Correct. The Letters.pm module uses MIME::Lite which in turn *might* call on the services of sendmail. The Letter.pm modules itself uses Mail::Sendmail to send the mail instead of the sendmail program, so sendmail should not be required. Sounds like an unintended consequence of installing MIME::Lite. Perhaps there is a configuration option in MIME::Lite that can change the default outgoing email program to something else, like postfix.
The error disappears when i install sendmail.
i wanted to think twice before installing sendmail on my internet server, because of its known vulnerabilities. Some more information:
The vulnerabilities for the most part (?) concern using sendmail as an mail server. Don't run sendmail as an incoming mail server and I think your chances of an exploit are astronomically reduced. You (or Koha) can just use it to send emails, not receive them. cheers rickw -- ________________________________________________________________ Rick Welykochy || Praxis Services || Internet Driving Instructor Traditionally, most of Australia's imports come from overseas. -- Keppel Enderbery