MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

error in script "offline" / Patch!



Hi Mike Heins,

i have try to use the bin/offline script. But i get the message 

Can't find executable ('/usr/lib/sendmail') for the SendMailProgram directive
In line 0 of the configuration file 'minivend.cfg':

This is the same message from the older configdump by Stefan Hornburg.
If i use the same patch from Stefan Hornburg, it works well. See below:

server:# diff offline(original) bin/offline(patch)
96c96,99
< 
---
> # some systems have no compatibility link /usr/lib/sendmail
> if (-x '/usr/sbin/sendmail') {
>     $Global::SendMailLocation = '/usr/sbin/sendmail';
> }
server:# 

Is this correct?

Joachim

-- 
Hans-Joachim Leidinger      hans-joachim.leidinger@home.gelsen-net.de



Search for: Match: Format: Sort by: