Akopia Akopia Services

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

Re: [mv] Unable to disable mailsending



******    message to minivend-users from "Mr. Christopher F. Miller" <cfm@maine.com>     ******

> >I have a problem trying to disable the minivend sendmail support.
> >Since I dont use sendmail in my system, I consider it too dangerous,
> >so I removed the sendmail from my system.
> >
> >The problem however is that when I try to restart the minivend after
> >removing the minivend I get error.

Minivend is looking for what you specify or defaulting to 
Global::SendMail pretty early in bin/minivend.  You'll need
an executable.

Make /usr/lib/sendmail as noted in previous reply:

#!/bin/sh
> /dev/null

Be careful removing critical programs like sendmail; you might easily
open up worse holes particularly if you aren't comfortable looking at
code.  For all I know that particular sendmail might get you blacklisted 
in ORBS. YMMV.

> >
> >Apparently no MiniVend daemons were up -- no PID files.

Your /var/run or equivalent is misconfigured.

> >Use of uninitialized value at /usr/local/mvend/lib/Vend/Config.pm line 997.
> >Can't find executable ('sendmail') for the SendMailProgram directive

grep SendMail lib/Vend/Config.pm and bin/minivend.

> >
> >In line 0 of the configuration file 'minivend.cfg':
> >
> >Even as I've set the SendMailProgram
> >
> >SendMailProgram none
> >
> >Has anyone ever tried to disable the sendmail before??

Ayuh.
> 
> Nope, but you could make the senmail program something like > /dev/null or 
> cat > /dev/null to just dump it.
> 
> 
> >Jarno

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: