[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: MiniVend configuration dumper
hans-joachim.leidinger@home.gelsen-net.de writes:
> > Copy it your MiniVend bin-directory and dump your catalog configurations
> > with MINIVEND_ROOT/bin/configdump CATALOG. I hope you find it useful.
> >
> > Bye
> > Racke
> >
>
> Hello Racke,
>
> i have try to use your script and i get this message:
>
> server:/home/mvend[mvend]# bin/configdump bol
> Can't find executable ('/usr/lib/sendmail') for the SendMailProgram directive
>
> In line 0 of the configuration file 'minivend.cfg':
>
> server:/home/mvend[mvend]#
Apply this patch:
diff -u -r1.1 configdump
--- configdump 1999/08/09 19:32:21 1.1
+++ configdump 1999/08/10 21:01:51
@@ -35,6 +35,10 @@
# dummy function used by Config.pm
sub debug { return undef }
+# some systems have no compatibility link /usr/lib/sendmail
+if (-x '/usr/sbin/sendmail') {
+ $Global::SendMailLocation = '/usr/sbin/sendmail';
+}
$Global::ConfigFile = 'minivend.cfg';
Anyway, this smells like a design flaw. Even a configuration
directive "SendMailProgram" in minivend.cfg will not help.
I think, MVEND_ROOT/bin/dump is vulnerable to this too.
>
> I am not clear about your script. What will your script do?
> I have look into the minivend.cfg file and there are no line to define
> a sendmail program. But the /usr/sbin/sendmail work fine and there are
> a right point to the sendmail program in all my catalog.cfg files.
>
minivend itself checks for /usr/sbin/sendmail ...
Bye
Racke
--
LinuXia - Solutions of Cool Competence - Internetprogramming and more
D-30163 Hannover, Waldstraße 4, 0511-3941290 (http://www.linuxia.de/)
Wir realisieren Onlineshops mit Minivend (http://www.minivend.com)
und MiniMate (http://www.linuxia.de/minimate/).